diff options
author | Aleksandr Vityazev <avityazew@gmail.com> | 2023-10-07 03:01:27 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 12:41:40 +0300 |
commit | 3ca3fbd62c4ec114cef48e740f0984e1d989db43 (patch) | |
tree | df6a6227fc32b5aa29054c445967a96a4f6c5e9b | |
parent | 8ca7ccbf0dad63d75637ffdc6a5105eb9a4a4673 (diff) | |
download | guix-3ca3fbd62c4ec114cef48e740f0984e1d989db43.tar.gz |
gnu: Add rust-derive-where-1.
* gnu/packages/crates-io.scm (rust-derive-where-1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 96e6ec9582..4ae28b5c31 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20470,6 +20470,34 @@ traits for both structs and enums.") structs and enums.") (license license:expat))) +(define-public rust-derive-where-1 + (package + (name "rust-derive-where") + (version "1.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive-where" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jqck0b2vsyh85p6v5jlhcrmgphdvxzg2256919g782247b9hqql")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://github.com/ModProg/derive-where") + (synopsis "Deriving with custom trait bounds") + (description "Deriving with custom trait bounds.") + (license (list license:expat license:asl2.0)))) + (define-public rust-des-0.8 (package (name "rust-des") |