guix-commits
[Top][All Lists]
Advanced

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

01/40: gnu: Add rust-derive-where-1.


From: guix-commits
Subject: 01/40: gnu: Add rust-derive-where-1.
Date: Sun, 22 Oct 2023 09:40:18 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 3ca3fbd62c4ec114cef48e740f0984e1d989db43
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:01:27 2023 +0300

    gnu: Add rust-derive-where-1.
    
    * gnu/packages/crates-io.scm (rust-derive-where-1): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 96e6ec9582..4ae28b5c31 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20470,6 +20470,34 @@ traits for both structs and enums.")
 structs and enums.")
   (license license:expat)))
 
+(define-public rust-derive-where-1
+  (package
+    (name "rust-derive-where")
+    (version "1.2.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "derive-where" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1jqck0b2vsyh85p6v5jlhcrmgphdvxzg2256919g782247b9hqql"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs
+       (("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("rust-rustversion" ,rust-rustversion-1)
+        ("rust-trybuild" ,rust-trybuild-1)
+        ("rust-zeroize" ,rust-zeroize-1))))
+    (home-page "https://github.com/ModProg/derive-where";)
+    (synopsis "Deriving with custom trait bounds")
+    (description "Deriving with custom trait bounds.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-des-0.8
   (package
     (name "rust-des")



reply via email to

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