gnu: Add rust-fnv.

* gnu/packages/crates-io.scm (rust-fnv): New variable.
master
Efraim Flashner 2019-08-04 13:47:36 +03:00
parent 7469d541df
commit 1816930430
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 20 additions and 0 deletions

View File

@ -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")