guix-commits
[Top][All Lists]
Advanced

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

106/134: gnu: Add rust-derive-more-0.15.


From: guix-commits
Subject: 106/134: gnu: Add rust-derive-more-0.15.
Date: Sat, 22 Jan 2022 07:39:56 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 1cd215058314a049e638ab1164edec09953e6e9f
Author: Aleksandr Vityazev <avityazev@posteo.org>
AuthorDate: Mon Jan 17 15:12:54 2022 +0000

    gnu: Add rust-derive-more-0.15.
    
    * gnu/packages/crates-io.scm (rust-derive-more-0.15): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 77fb33f954..b32f1151f7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16134,6 +16134,27 @@ boilerplate code.  It does this by allowing you to 
derive lots of commonly used
 traits for both structs and enums.")
     (license license:expat)))
 
+(define-public rust-derive-more-0.15
+  (package
+    (inherit rust-derive-more-0.99)
+    (name "rust-derive-more")
+    (version "0.15.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "derive-more" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1zks5bn7hmqfz927spmridk9bvy7ly4f38vls331x4hc4hq1653s"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+        ("rust-quote" ,rust-quote-0.6)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-rustc-version" ,rust-rustc-version-0.2)
+        ("rust-syn" ,rust-syn-0.15))))))
+
 (define-public rust-derive-new-0.5
   (package
     (name "rust-derive-new")



reply via email to

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