gnu: Add rust-litrs-0.4.

* gnu/packages/crates-io.scm (rust-litrs-0.4): New variable.
(rust-litrs-0.2): Inherit from rust-litrs-0.4.

Change-Id: I42fd97c9bb6886013c5d44c7de8c5ab152c6a3a9
This commit is contained in:
Efraim Flashner 2024-03-14 12:28:36 +02:00
parent 3ffd65c662
commit c4df593148
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -35625,8 +35625,32 @@ (define-public rust-libtest-mimic-0.3
("rust-structopt" ,rust-structopt-0.3)
("rust-termcolor" ,rust-termcolor-1))))))
(define-public rust-litrs-0.4
(package
(name "rust-litrs")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "litrs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "19cssch9gc0x2snd9089nvwzz79zx6nzsi3icffpx25p4hck1kml"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-unicode-xid" ,rust-unicode-xid-0.2))))
(home-page "https://github.com/LukasKalbertodt/litrs/")
(synopsis "Parse and inspect Rust literals")
(description
"Parse and inspect Rust literals (i.e. tokens in the Rust programming
language representing fixed values). Particularly useful for proc macros, but
can also be used outside of a proc-macro context.")
(license (list license:expat license:asl2.0))))
(define-public rust-litrs-0.2
(package
(inherit rust-litrs-0.4)
(name "rust-litrs")
(version "0.2.3")
(source (origin
@ -35635,16 +35659,8 @@ (define-public rust-litrs-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1akrxglqv6dz41jrjr409pjjysd00z5w0949007v52yg6c4mw9zr"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1))))
(home-page "https://github.com/LukasKalbertodt/litrs/")
(synopsis "Parse and inspect Rust literals")
(description
"Parse and inspect Rust literals (i.e. tokens in the Rust programming
language representing fixed values). Particularly useful for proc macros, but
can also be used outside of a proc-macro context.")
(license (list license:expat license:asl2.0))))
`(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1))))))
(define-public rust-llvm-bitcode-0.1
(package