guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 159/194: gnu: Add rust-auto-impl-0.4.
Date: Tue, 3 Oct 2023 14:58:05 -0400 (EDT)

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

commit e3921dac25cec0788b91c1a8af68288a3298d257
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 a9b8984625..5f850ee905 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5996,6 +5996,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]