diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-10-06 16:25:00 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-03 23:00:43 +0100 |
commit | da0a5bbb19c38ef9a71021c28f732c191b9e357a (patch) | |
tree | 9542628bd0ddda247fc4e87f8ab597a9d74f0648 /gnu/packages | |
parent | b6b132865d9fc6b8f1798a672f78d6eb746e2016 (diff) | |
download | guix-da0a5bbb19c38ef9a71021c28f732c191b9e357a.tar.gz |
gnu: Add rust-integer-encoding-3.
* gnu/packages/crates-io.scm (rust-integer-encoding-3): New variable. (rust-integer-encoding-1): Inherit from above.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 554c1bc47a..87e29c038d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23635,24 +23635,24 @@ data efficiently.") that works on WASM too.") (license license:bsd-3))) -(define-public rust-integer-encoding-1 +(define-public rust-integer-encoding-3 (package (name "rust-integer-encoding") - (version "1.2.2") + (version "3.0.2") (source (origin (method url-fetch) (uri (crate-uri "integer-encoding" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1c032xhif5d6a8nc4cak60g5ylwd6p9569122m5hm67brx2l5yhb")))) + (base32 "1f0mk7d694g2sz4my5zh7i5w4kijx5y16x6dip7fv0pazx013hch")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-tokio" ,rust-tokio-0.2)))) + ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/dermesser/integer-encoding-rs") (synopsis "Encoding and decoding integers to and from bytestrings") (description @@ -23660,6 +23660,25 @@ that works on WASM too.") bytestring representations.") (license license:expat))) +(define-public rust-integer-encoding-1 + (package + (inherit rust-integer-encoding-3) + (name "rust-integer-encoding") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "integer-encoding" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c032xhif5d6a8nc4cak60g5ylwd6p9569122m5hm67brx2l5yhb")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-tokio" ,rust-tokio-0.2)))))) + (define-public rust-interpolate-name-0.2 (package (name "rust-interpolate-name") |