diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-03 22:24:25 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:09:56 -0500 |
commit | 0381b3838c502f601d7fe1a95312c215bd99ac31 (patch) | |
tree | 455b75e26d86d2b3472d6a18dcea047228b8155e /gnu/packages/crates-io.scm | |
parent | 23dd2f06741646cd357e608a43ca600e9d07bb0f (diff) | |
download | guix-patches-0381b3838c502f601d7fe1a95312c215bd99ac31.tar guix-patches-0381b3838c502f601d7fe1a95312c215bd99ac31.tar.gz |
gnu: Add rust-phf-generator-0.10.
* gnu/packages/crates-io.scm (rust-phf-generator-0.10): New variable.
(rust-phf-generator-0.8): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aade147d73..153740778f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36616,8 +36616,32 @@ function data structures.") (description "Codegen library for PHF types.") (license license:expat))) +(define-public rust-phf-generator-0.10 + (package + (name "rust-phf-generator") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "phf_generator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mlq6hlajsvlsx6rhw49g9ricsm017lrxmgmmbk85sxm7f4qaljx")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-phf-shared" ,rust-phf-shared-0.10) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/sfackler/rust-phf") + (synopsis "PHF generation logic") + (description "PHF generation logic.") + (license license:expat))) + (define-public rust-phf-generator-0.8 (package + (inherit rust-phf-generator-0.10) (name "rust-phf-generator") (version "0.8.0") (source @@ -36629,17 +36653,12 @@ function data structures.") (sha256 (base32 "09i5338d1kixq6a60fcayz6awgxjlxcfw9ic5f02abbgr067ydhp")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-rand" ,rust-rand-0.7) - ("rust-phf-shared" ,rust-phf-shared-0.8)))) - (home-page "https://github.com/sfackler/rust-phf") - (synopsis "PHF generation logic") - (description "PHF generation logic.") - (license license:expat))) + ("rust-phf-shared" ,rust-phf-shared-0.8)))))) (define-public rust-phf-generator-0.7 (package |