diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-03 22:40:52 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:09:57 -0500 |
commit | d1aae6db3365e6f03faf94d89d3a8da078f80c6c (patch) | |
tree | ef2f9aa0a377bf02e7ad139fd49bfbc58ece9664 | |
parent | 0381b3838c502f601d7fe1a95312c215bd99ac31 (diff) | |
download | guix-d1aae6db3365e6f03faf94d89d3a8da078f80c6c.tar guix-d1aae6db3365e6f03faf94d89d3a8da078f80c6c.tar.gz |
gnu: Add rust-phf-macros-0.10.
* gnu/packages/crates-io.scm (rust-phf-macros-0.10): New variable.
(rust-phf-macros-0.10): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 153740778f..688c7ac512 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36683,8 +36683,37 @@ function data structures.") (description "PHF generation logic") (license license:expat))) +(define-public rust-phf-macros-0.10 + (package + (name "rust-phf-macros") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "phf_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q5ljwvb10dx188i6jxzckqfimjw5pm2p4kkvmhg2q6m9lcg7zaq")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-phf-generator" ,rust-phf-generator-0.10) + ("rust-phf-shared" ,rust-phf-shared-0.10) + ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1) + ("rust-unicase" ,rust-unicase-2)))) + (home-page "https://github.com/sfackler/rust-phf") + (synopsis "Macros to generate types in the phf crate") + (description + "This package contains macros to generate types in the phf crate.") + (license license:expat))) + (define-public rust-phf-macros-0.8 (package + (inherit rust-phf-macros-0.10) (name "rust-phf-macros") (version "0.8.0") (source @@ -36696,7 +36725,6 @@ function data structures.") (sha256 (base32 "170qm6yqn6b9mjlwb2xmm3iad9d5nzwgfawfwy7zr7s2zwcdwvvz")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -36705,12 +36733,7 @@ function data structures.") ("rust-phf-shared" ,rust-phf-shared-0.8) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-syn" ,rust-syn-1) - ("rust-quote" ,rust-quote-1)))) - (home-page "https://github.com/sfackler/rust-phf") - (synopsis "Macros to generate types in the phf crate") - (description - "This package contains macros to generate types in the phf crate.") - (license license:expat))) + ("rust-quote" ,rust-quote-1)))))) (define-public rust-phf-macros-0.7 (package |