diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 18:41:19 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 19:53:03 +0100 |
commit | 81da2421c82c172b7ad90829cbec1944371b16a3 (patch) | |
tree | 635b51d2c82c930817fbfa75a6ec0dc225cf1e6c /gnu/packages/crates-io.scm | |
parent | 1224fe7dadae4043f1f393dea54c36db2ac51787 (diff) | |
download | guix-patches-81da2421c82c172b7ad90829cbec1944371b16a3.tar guix-patches-81da2421c82c172b7ad90829cbec1944371b16a3.tar.gz |
gnu: Add rust-hash32-0.2.
* gnu/packages/crates-io.scm (rust-hash32-0.2): New variable.
(rust-hash32-0.1): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c5673f6503..5e0c9641c9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22733,29 +22733,45 @@ the template engine that renders the official Rust website") already-hashed or hash-like data.") (license (list license:asl2.0 license:expat)))) -(define-public rust-hash32-0.1 +(define-public rust-hash32-0.2 (package (name "rust-hash32") - (version "0.1.1") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "hash32" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1k7lv7hsbzv14pz90cxay6v7avh6d6kcrra0rsc45b33dvw1l16l")))) + (base32 "0rrbv5pc5b1vax6j6hk7zvlrpw0h6aybshxy9vbpgsrgfrc5zhxh")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1)) - #:cargo-development-inputs - (("rust-hash32-derive" ,rust-hash32-derive-0.1)))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1)))) (home-page "https://github.com/japaric/hash32") (synopsis "32-bit hashing machinery") (description "This package provides 32-bit hashing machinery.") (license (list license:expat license:asl2.0)))) +(define-public rust-hash32-0.1 + (package + (inherit rust-hash32-0.2) + (name "rust-hash32") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hash32" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k7lv7hsbzv14pz90cxay6v7avh6d6kcrra0rsc45b33dvw1l16l")))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1)) + #:cargo-development-inputs + (("rust-hash32-derive" ,rust-hash32-derive-0.1)))))) + (define-public rust-hash32-derive-0.1 (package (name "rust-hash32-derive") |