guix-commits
[Top][All Lists]
Advanced

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

113/276: gnu: Add rust-asn1-derive-0.15.


From: guix-commits
Subject: 113/276: gnu: Add rust-asn1-derive-0.15.
Date: Wed, 18 Oct 2023 04:49:39 -0400 (EDT)

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

commit 9d516ea192096001a904390ebc3359423867eb15
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 2 10:32:18 2023 +0300

    gnu: Add rust-asn1-derive-0.15.
    
    * gnu/packages/crates-io.scm (rust-asn1-derive-0.15): New variable.
    (rust-asn1-derive-0.13): Inherit from rust-asn1-derive-0.15.
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 46bc526ce0..bc96214819 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4204,8 +4204,32 @@ Askama.")
 library for Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-asn1-derive-0.15
+  (package
+    (name "rust-asn1-derive")
+    (version "0.15.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "asn1-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1771kfjycjs4g2acqvxpjy3igfcgg8hychczl1lsqq64za4gj6l6"))))
+    (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))))
+    (home-page "https://github.com/alex/rust-asn1";)
+    (synopsis "#[derive] support for asn1")
+    (description
+     "This package provides #[derive] support for @code{asn1}.")
+    (license license:bsd-3)))
+
 (define-public rust-asn1-derive-0.13
   (package
+    (inherit rust-asn1-derive-0.15)
     (name "rust-asn1-derive")
     (version "0.13.0")
     (source (origin
@@ -4215,18 +4239,12 @@ library for Rust.")
               (sha256
                (base32
                 "1bvqriazb23gysygpzng1dhzjgnlv274q2yj5gpmlpl7jp0pkaxz"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
-    (home-page "https://github.com/alex/rust-asn1";)
-    (synopsis "#[derive] support for asn1")
-    (description
-     "This package provides #[derive] support for @code{asn1}.")
-    (license license:bsd-3)))
+        ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-asn1-0.15
   (package



reply via email to

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