guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 113/194: gnu: Add rust-asn1-derive-0.15.
Date: Tue, 3 Oct 2023 14:57:41 -0400 (EDT)

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

commit a25bc92e5bfd3dbf68a1e64f9b1059472bc99387
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 361e74bc09..f5c3715408 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4203,8 +4203,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
@@ -4214,18 +4238,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]