summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-03 09:50:26 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:03 +0300
commit1958021713152c30cfa3b573d605fef7327be8d2 (patch)
treee2248c74c7711cfb2103cedf4b847a2abecb16f9 /gnu/packages
parentc7d22b9eb5b8f8cb4e7f0950acd8af7a352204ad (diff)
gnu: Add rust-auto-impl-0.5.
* gnu/packages/crates-io.scm (rust-auto-impl-0.5): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
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")