diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-19 10:30:23 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:55 +0200 |
commit | b74dd0237cd641b6dd1823e9c8992a60d021f2c9 (patch) | |
tree | 32123ab71df02802a59e1e7bd135217f84a10984 /gnu | |
parent | 983903efb0924a6a2ab0c9b38ae178eebcc72c27 (diff) | |
download | patches-b74dd0237cd641b6dd1823e9c8992a60d021f2c9.tar patches-b74dd0237cd641b6dd1823e9c8992a60d021f2c9.tar.gz |
gnu: Add rust-phf-macros-0.7.
* gnu/packages/crates-io.scm (rust-phf-macros-0.7): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1838957bc9..3614a9f449 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6474,6 +6474,38 @@ algorithms.") (description "PHF generation logic") (license license:expat))) +(define-public rust-phf-macros-0.7 + (package + (name "rust-phf-macros") + (version "0.7.24") + (source + (origin + (method url-fetch) + (uri (crate-uri "phf_macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dzylcy14ksy60h265l433j9ra8xhg8xlq3pd5qk658m6f1mxd5x")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-phf-generator" ,rust-phf-generator-0.7) + ("rust-phf-shared" ,rust-phf-shared-0.7) + ("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-1.0) + ("rust-syn" ,rust-syn-0.15)) + #:cargo-development-inputs + (("rust-compiletest-rs" ,rust-compiletest-rs-0.3)))) + (home-page + "https://github.com/sfackler/rust-phf") + (synopsis + "Macros to generate types in the phf crate") + (description + "Macros to generate types in the phf crate.") + (license license:expat))) + (define-public rust-phf-shared-0.7 (package (name "rust-phf-shared") |