From 88866abaf88a689b2a413ff52ad7f8ea0416a5ce Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Dec 2019 09:51:43 -0800 Subject: [PATCH] gnu: Add rust-phf-generator-0.7. * gnu/packages/crates-io.scm (rust-phf-generator-0.7): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 839c4fde6b..023b8478e4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6046,6 +6046,30 @@ algorithm.") algorithms.") (license (list license:expat license:asl2.0)))) +(define-public rust-phf-generator-0.7 + (package + (name "rust-phf-generator") + (version "0.7.24") + (source + (origin + (method url-fetch) + (uri (crate-uri "phf_generator" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qi62gxk3x3whrmw5c4i71406icqk11qmpgln438p6qm7k4lqdh9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-phf-shared" ,rust-phf-shared-0.7) + ("rust-rand" ,rust-rand-0.4)))) + (home-page "https://github.com/sfackler/rust-phf") + (synopsis "PHF generation logic") + (description "PHF generation logic") + (license license:expat))) + (define-public rust-phf-shared-0.7 (package (name "rust-phf-shared")