guix-commits
[Top][All Lists]
Advanced

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

16/32: gnu: Add rust-asn1-rs-derive-0.1.


From: guix-commits
Subject: 16/32: gnu: Add rust-asn1-rs-derive-0.1.
Date: Thu, 18 Jan 2024 04:27:43 -0500 (EST)

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

commit 5bf60c3684760ebbbf3d64f140774d52bc78ae89
Author: Wilko Meyer <w@wmeyer.eu>
AuthorDate: Mon Jan 8 02:51:43 2024 +0100

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e0c8eee6e4..32cec8c640 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3534,6 +3534,24 @@ library for Rust.")
      "This package provides derive macros for the @code{asn1-rs} crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-asn1-rs-derive-0.1
+  (package
+    (inherit rust-asn1-rs-derive-0.4)
+    (name "rust-asn1-rs-derive")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "asn1-rs-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1gzf9vab06lk0zjvbr07axx64fndkng2s28bnj27fnwd548pb2yv"))))
+    (arguments
+     `(#: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))))))
+
 (define-public rust-asn1-rs-impl-0.1
   (package
     (name "rust-asn1-rs-impl")



reply via email to

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