diff options
author | Vinicius Monego <monego@posteo.net> | 2021-09-18 17:03:24 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-03 13:28:42 +0100 |
commit | 69d781ffaeae7ad0c73e520f95e77acfd344b02d (patch) | |
tree | 2db50791bb9d9518d3e126f0759cd3fddaada3c0 | |
parent | 00d5971a562a8f8fa6f6208d6c72ac80092f7b83 (diff) |
gnu: Add rust-jetscii-0.5.
* gnu/packages/crates-io.scm (rust-jetscii-0.5): New variable.
(rust-jetscii-0.3): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b0f0e9856c..2b35ad2fbf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24261,27 +24261,46 @@ primitives to an @code{io::Write}.") (native-inputs `(("jemalloc" ,jemalloc))))) -(define-public rust-jetscii-0.3 +(define-public rust-jetscii-0.5 (package (name "rust-jetscii") - (version "0.3.1") + (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "jetscii" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j")))) + (base32 "1x4z5ixlxv1wa70d3d6ad3n8qxz6z00i13zwnv219v45qcwybbnb")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (arguments + `(#:rust ,rust-1.52 ; fix for E0658 + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-memmap" ,rust-memmap-0.7) + ("rust-proptest" ,rust-proptest-1) + ("rust-region" ,rust-region-2)))) (home-page "https://github.com/shepmaster/jetscii") (synopsis "Search strings and byte slices for sets of ASCII characters or bytes") - (description - "This package provides a tiny library to efficiently search strings and -byte slices for sets of ASCII characters or bytes.") + (description "This package provides a tiny library to efficiently search +strings and byte slices for sets of ASCII characters or bytes.") (license license:expat))) +(define-public rust-jetscii-0.3 + (package + (inherit rust-jetscii-0.5) + (name "rust-jetscii") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "jetscii" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j")))) + (arguments `(#:skip-build? #t)))) + (define-public rust-jni-0.18 (package (name "rust-jni") |