guix-commits
[Top][All Lists]
Advanced

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

160/194: gnu: Add rust-as-derive-utils-0.8.


From: guix-commits
Subject: 160/194: gnu: Add rust-as-derive-utils-0.8.
Date: Tue, 3 Oct 2023 14:58:07 -0400 (EDT)

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

commit 7ba7565a98af76beb36db70c0a29937edf80db2d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 10:23:53 2023 +0300

    gnu: Add rust-as-derive-utils-0.8.
    
    * gnu/packages/crates-io.scm (rust-as-derive-utils-0.8): New variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5f850ee905..eee94d5a53 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4246,6 +4246,36 @@ the web.")
 the abi_stable and structural crates.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-as-derive-utils-0.8
+  (package
+    (inherit rust-as-derive-utils-0.10)
+    (name "rust-as-derive-utils")
+    (version "0.8.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "as-derive-utils" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1rjmbasb2spxdmm47kzw2zmr8icbdrcr0wa9kyn7lim5c0idh69b"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+                   (string-append "\"^" version)))))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aho-corasick" ,rust-aho-corasick-0.7)
+        ("rust-bitflags" ,rust-bitflags-1)
+        ("rust-core-extensions" ,rust-core-extensions-0.1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-ron" ,rust-ron-0.5)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-askama-escape-0.10
   (package
     (name "rust-askama-escape")



reply via email to

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