guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

217/299: gnu: Add rust-phf-generator-0.7.


From: guix-commits
Subject: 217/299: gnu: Add rust-phf-generator-0.7.
Date: Thu, 2 Jan 2020 13:19:49 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 88866abaf88a689b2a413ff52ad7f8ea0416a5ce
Author: John Soo <address@hidden>
Date:   Thu Dec 19 09:51:43 2019 -0800

    gnu: Add rust-phf-generator-0.7.
    
    * gnu/packages/crates-io.scm (rust-phf-generator-0.7): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 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 839c4fd..023b847 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]