GNU bug report logs -
#40874
[PATCH 00/94] Add sequoia pgp, rust-nettle, and 90 rust package.
Previous Next
Full log
Message #137 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-derive-new-0.5): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 34ded5ad3d..bae5e35988 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4391,6 +4391,29 @@ and arithmetic.")
(description "Demo of proc-macro-hack.")
(license (list license:expat license:asl2.0))))
+(define-public rust-derive-new-0.5
+ (package
+ (name "rust-derive-new")
+ (version "0.5.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "derive-new" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ncibp4jhpkym7namg3viqyw8hljd32n6abg64af8qjwrn91iwvi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1.0)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-syn" ,rust-syn-1.0))))
+ (home-page "https://github.com/nrc/derive-new")
+ (synopsis "Simple constructor functions for structs and enums")
+ (description "`#[derive(new)]` implements simple constructor functions for
+structs and enums.")
+ (license license:expat)))
+
(define-public rust-diff-0.1
(package
(name "rust-diff")
--
2.21.3
This bug report was last modified 5 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.