diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 10:56:32 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:57 +0100 |
commit | 574efee9b3b5faaf6acc06679b895e06a61d34a9 (patch) | |
tree | f9d75f278965245232fa107d721e03e4b2f66910 | |
parent | 787c44f157e3eb2c82cebbaa8ca4a8d773ad8baf (diff) | |
download | guix-574efee9b3b5faaf6acc06679b895e06a61d34a9.tar guix-574efee9b3b5faaf6acc06679b895e06a61d34a9.tar.gz |
gnu: Add rust-smart-default-0.6.
* gnu/packages/crates-io.scm (rust-smart-default-0.6): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b85620c7a3..a5ea75a594 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37884,6 +37884,31 @@ stack.") (build-system cargo-build-system) (arguments `(#:skip-build? #t)))) +(define-public rust-smart-default-0.6 + (package + (name "rust-smart-default") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "smart-default" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xnvxz9wilj4d5b8kg4wbs0yk48wm41fnwkmn3p6wi9rafhmjdhk")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/idanarye/rust-smart-default") + (synopsis "Custom-derive macro for Default with more control on the fields") + (description + "This package provides a custom-derive macro for Default with more +control on the fields.") + (license license:expat))) + (define-public rust-smol-0.1 (package (name "rust-smol") |