guix-commits
[Top][All Lists]
Advanced

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

159/276: gnu: Add rust-auto-impl-0.4.


From: guix-commits
Subject: 159/276: gnu: Add rust-auto-impl-0.4.
Date: Wed, 18 Oct 2023 04:49:53 -0400 (EDT)

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

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

    gnu: Add rust-auto-impl-0.4.
    
    * gnu/packages/crates-io.scm (rust-auto-impl-0.4): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ca1b8da2d..b69960162f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5997,6 +5997,30 @@ they're not available.")
      "Automatically implement traits for common smart pointers and closures.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-auto-impl-0.4
+  (package
+    (inherit rust-auto-impl-0.5)
+    (name "rust-auto-impl")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "auto-impl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0f0aildq7rl7imgl6x6xw8jg4m08xz9q1bpcrmf5xnhar23gbjs2"))))
+    (arguments
+     `(#:cargo-test-flags
+       (list "--release" "--" "--skip=ui")
+       #:cargo-inputs
+       (("rust-proc-macro-error" ,rust-proc-macro-error-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-rustversion" ,rust-rustversion-1)
+        ("rust-trybuild" ,rust-trybuild-1))))))
+
 (define-public rust-autocompress-0.2
   (package
     (name "rust-autocompress")



reply via email to

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