gnu: Add rust-rustc-ap-rustc-lexer-721.

* gnu/packages/crates-io.scm (rust-rustc-ap-rustc-lexer-721): New variable.
(rust-rustc-ap-rustc-lexer-654): inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Zheng junjie 2021-06-11 19:44:41 +08:00 committed by Nicolas Goaziou
parent 271b6fbb22
commit 5a62035ed0
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -36003,8 +36003,36 @@ (define-public rust-rustc-ap-rustc-index-654
@url{https://www.github.com/rust-lang/rust}")
(license (list license:expat license:asl2.0))))
(define-public rust-rustc-ap-rustc-lexer-721
(package
(name "rust-rustc-ap-rustc-lexer")
(version "721.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustc-ap-rustc_lexer" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1ldk41a4vxgh39p9650vhw1j7fng06pfmvb4xb2pvp22547gd89b"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-unicode-xid" ,rust-unicode-xid-0.2))
#:cargo-development-inputs
(("rust-expect-test" ,rust-expect-test-1))))
(home-page "https://github.com/alexcrichton/rustc-auto-publish")
(synopsis "Automatically published versions of rustc macros")
(description
"Use the lexer used in the Rust compiler with this crate.
It is automatically published using the compiler repository at
@url{https://www.github.com/rust-lang/rust}.")
(license (list license:expat license:asl2.0))))
(define-public rust-rustc-ap-rustc-lexer-654
(package
(inherit rust-rustc-ap-rustc-lexer-721)
(name "rust-rustc-ap-rustc-lexer")
(version "654.0.0")
(source
@ -36016,17 +36044,9 @@ (define-public rust-rustc-ap-rustc-lexer-654
(sha256
(base32
"19bx2z4gxxzqfjh9m11jp52lgdzz0k5fb0p1ad739bdc5cm4sciv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-unicode-xid" ,rust-unicode-xid-0.2))))
(home-page "https://github.com/alexcrichton/rustc-auto-publish")
(synopsis "Automatically published versions of rustc macros")
(description
"Use the lexer used in the Rust compiler with this crate.
It is automatically published using the compiler repository at
@url{https://www.github.com/rust-lang/rust}.")
(license (list license:expat license:asl2.0))))
(("rust-unicode-xid" ,rust-unicode-xid-0.2))))))
(define-public rust-rustc-ap-rustc-macros-654
(package