diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-03 22:42:40 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:09:57 -0500 |
commit | 7249e0180cc6e516af2be0410580677f04d174d8 (patch) | |
tree | ad8e62f433d1df4b97aff8f818ff95dd4b4e920d /gnu/packages/crates-io.scm | |
parent | da3e947fa2f1998314cadd7c86459815b3878c6a (diff) | |
download | guix-patches-7249e0180cc6e516af2be0410580677f04d174d8.tar guix-patches-7249e0180cc6e516af2be0410580677f04d174d8.tar.gz |
gnu: Add rust-phf-0.10.
* gnu/packages/crates-io.scm (rust-phf-0.10): New variable.
(rust-phf-0.8): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 920f271cf6..685cfbc75b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36517,8 +36517,33 @@ algorithms.") (("fn dot\\(\\) \\{" all) (string-append "#[ignore] " all)))))))))) +(define-public rust-phf-0.10 + (package + (name "rust-phf") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "phf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17s0k0z1rjczk37cpbmn718h7dkqci1kk9w2spbmjjwc06qkvz5r")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-phf-macros" ,rust-phf-macros-0.10) + ("rust-phf-shared" ,rust-phf-shared-0.10) + ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))) + (home-page "https://github.com/sfackler/rust-phf") + (synopsis "Runtime support for perfect hash function data structures") + (description "This package provides runtime support for perfect hash +function data structures.") + (license license:expat))) + (define-public rust-phf-0.8 (package + (inherit rust-phf-0.10) (name "rust-phf") (version "0.8.0") (source @@ -36530,18 +36555,12 @@ algorithms.") (sha256 (base32 "04pyv8bzqvw69rd5dynd5nb85py1hf7wa4ixyhrvdz1l5qin3yrx")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) ("rust-phf-shared" ,rust-phf-shared-0.8) - ("rust-phf-macros" ,rust-phf-macros-0.8)))) - (home-page "https://github.com/sfackler/rust-phf") - (synopsis "Runtime support for perfect hash function data structures") - (description "This package provides runtime support for perfect hash -function data structures.") - (license license:expat))) + ("rust-phf-macros" ,rust-phf-macros-0.8)))))) (define-public rust-phf-0.7 (package |