diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-15 13:15:17 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-16 12:52:38 +0200 |
commit | 038e059dac3bc312143b007e72336bddc5cdbdd6 (patch) | |
tree | 76517fcde48998422198bf25df382afb4f28e13b /gnu | |
parent | 0db9a33703cebfbd4b6e422927324e404393ef1a (diff) | |
download | guix-038e059dac3bc312143b007e72336bddc5cdbdd6.tar.gz |
gnu: Add rust-ahash-0.7.
* gnu/packages/crates-io.scm (rust-ahash-0.7): New variable. (rust-ahash-0.4): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 97d44dc028..fa3bcb1768 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1432,8 +1432,36 @@ block ciphers using AES-NI.") (base32 "0g2chc18ji7qxi0d03n2ai140qdcww958v5si6rcjnnhmri1vyfb")))))) +(define-public rust-ahash-0.7 + (package + (name "rust-ahash") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "ahash" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "163vy6jcd7r3jczsv4zyhlc5x9dqsfgg1yrqbm3xhygr1czq7fs3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-const-random" ,rust-const-random-0.1) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-version-check" ,rust-version-check-0.9)))) + (home-page "https://github.com/tkaitchuck/ahash") + (synopsis "Non-cryptographic hash function using AES-NI") + (description "This package provides a non-cryptographic hash function +using AES-NI for high performance.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ahash-0.4 (package + (inherit rust-ahash-0.7) (name "rust-ahash") (version "0.4.4") (source @@ -1444,7 +1472,6 @@ block ciphers using AES-NI.") (sha256 (base32 "06bxygcis4pfx0axi1ld0lclg8mf4plywdy7fnkyw2hrhcb74rkd")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-const-random" ,rust-const-random-0.1)) @@ -1455,12 +1482,7 @@ block ciphers using AES-NI.") ("rust-hex" ,rust-hex-0.3) ("rust-no-panic" ,rust-no-panic-0.1) ("rust-rand" ,rust-rand-0.6) - ("rust-seahash" ,rust-seahash-3)))) - (home-page "https://github.com/tkaitchuck/ahash") - (synopsis "Non-cryptographic hash function using AES-NI") - (description "This package provides a non-cryptographic hash function -using AES-NI for high performance.") - (license (list license:expat license:asl2.0)))) + ("rust-seahash" ,rust-seahash-3)))))) (define-public rust-ahash-0.3 (package |