aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-04 13:47:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-12 11:57:24 +0300
commit1816930430117f62ef92905c5d70e839af99ac96 (patch)
tree403fe1eae68ecd5a02088b827112d80ded0ace81 /gnu/packages
parent7469d541df42f4c9a9bde78f354ecad4d7fab604 (diff)
downloadpatches-1816930430117f62ef92905c5d70e839af99ac96.tar
patches-1816930430117f62ef92905c5d70e839af99ac96.tar.gz
gnu: Add rust-fnv.
* gnu/packages/crates-io.scm (rust-fnv): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8a0530989d..3dcbb800eb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -193,6 +193,26 @@ provides implementations for @code{HashMap} and @code{HashSet}.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-fnv
+ (package
+ (name "rust-fnv")
+ (version "1.0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fnv" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/servo/rust-fnv")
+ (synopsis "implementation of the Fowler-Noll-Vo hash function")
+ (description "The @code{fnv} hash function is a custom @code{Hasher}
+implementation that is more efficient for smaller hash keys.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-proc-macro2
(package
(name "rust-proc-macro2")