guix-commits
[Top][All Lists]
Advanced

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

123/276: gnu: Add rust-auto-impl-0.5.


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

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

commit 1958021713152c30cfa3b573d605fef7327be8d2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 09:50:26 2023 +0300

    gnu: Add rust-auto-impl-0.5.
    
    * gnu/packages/crates-io.scm (rust-auto-impl-0.5): 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 a0638d4ee4..3bd5b386ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5967,6 +5967,36 @@ they're not available.")
          ("rust-termion" ,rust-termion-1)
          ("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-auto-impl-0.5
+  (package
+    (name "rust-auto-impl")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "auto-impl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "195d6s9bfcchwizf3km1g69l74f6xvm5gl9505js2r9xi4ff4qkq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       (list "--release" "--"
+             "--skip=ui_compile_fail")
+       #: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-trybuild" ,rust-trybuild-1))))
+    (home-page "https://github.com/auto-impl-rs/auto_impl/";)
+    (synopsis
+     "Automatically implement traits for common smart pointers and closures")
+    (description
+     "Automatically implement traits for common smart pointers and closures.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-autocompress-0.2
   (package
     (name "rust-autocompress")



reply via email to

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