guix-commits
[Top][All Lists]
Advanced

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

69/379: gnu: Add rust-phf-macros-0.9.


From: guix-commits
Subject: 69/379: gnu: Add rust-phf-macros-0.9.
Date: Mon, 10 Jul 2023 05:28:00 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit e424abf0e7317f1890b202034ffa066425207e99
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:30:26 2023 +0300

    gnu: Add rust-phf-macros-0.9.
    
    * gnu/packages/crates-io.scm (rust-phf-macros-0.9): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6a42b69ba..bccb73a9bb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44198,6 +44198,32 @@ function data structures.")
         ("rust-syn" ,rust-syn-1)
         ("rust-unicase" ,rust-unicase-2))))))
 
+(define-public rust-phf-macros-0.9
+  (package
+    (inherit rust-phf-macros-0.10)
+    (name "rust-phf-macros")
+    (version "0.9.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "phf-macros" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1rpc0jy5sfrk3ir87k2q0kk44a45nsrbwc131jmsi6f8hi3fqi7g"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-phf-generator" ,rust-phf-generator-0.9)
+        ("rust-phf-shared" ,rust-phf-shared-0.9)
+        ("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))
+       #:cargo-development-inputs
+       (("rust-phf" ,rust-phf-0.9)
+        ("rust-trybuild" ,rust-trybuild-1)
+        ("rust-unicase" ,rust-unicase-2))))))
+
 (define-public rust-phf-macros-0.8
   (package
     (inherit rust-phf-macros-0.10)



reply via email to

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