From 0381b3838c502f601d7fe1a95312c215bd99ac31 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 3 Dec 2021 22:24:25 +0100 Subject: 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. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++------ 1 file 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 @@ (define-public rust-phf-codegen-0.7 (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 @@ (define-public rust-phf-generator-0.8 (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 -- cgit v1.2.3