guix-commits
[Top][All Lists]
Advanced

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

08/42: gnu: Add rust-der-derive-0.4.


From: guix-commits
Subject: 08/42: gnu: Add rust-der-derive-0.4.
Date: Wed, 19 Jan 2022 08:06:56 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 55bb7682d17ac206aeaa4ae27ce313e1fcf6a32b
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri Jan 7 14:59:58 2022 +0100

    gnu: Add rust-der-derive-0.4.
    
    * gnu/packages/crates-io.scm (rust-der-derive-0.4): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 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 c22fb03c29..4f182420ee 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14931,6 +14931,34 @@ algorithm which serves to quantify the difference 
between two colors.")
     (description "Demo of proc-macro-hack.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-der-derive-0.4
+  (package
+    (name "rust-der-derive")
+    (version "0.4.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "der_derive" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0snv85yfy9iln05qsgbhwr1159gd0jfrgzj5dkrnricdc0y3pvca"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t                              ; FIXME
+        #:cargo-inputs
+        (("rust-proc-macro2" ,rust-proc-macro2-1)
+         ("rust-quote" ,rust-quote-1)
+         ("rust-syn" ,rust-syn-1)
+         ("rust-synstructure" ,rust-synstructure-0.12))))
+    (home-page "https://github.com/RustCrypto/formats/tree/master/der/derive";)
+    (synopsis
+      "Custom derive support for the `der` crate's `Choice` and `Sequence` 
traits")
+    (description
+      "This package provides a custom derive support for the `der` crate's
+`Choice` and `Sequence` traits.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-derivative-2
   (package
     (name "rust-derivative")



reply via email to

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