diff options
author | Milkey Mouse <milkeymouse@meme.institute> | 2021-08-31 20:54:19 -0700 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-07 22:01:15 +0200 |
commit | 73fa0b378ca8b96f48b884d9bb37efef827a5816 (patch) | |
tree | 68e26d8e3e659d6d184de06d1824be8260218422 /gnu | |
parent | 1e5ebd876c010f4e67669e01540083a2674d39f6 (diff) | |
download | guix-73fa0b378ca8b96f48b884d9bb37efef827a5816.tar.gz guix-73fa0b378ca8b96f48b884d9bb37efef827a5816.zip |
gnu: Add rust-enum-primitive-derive-0.2.
* gnu/packages/crates-io.scm (rust-enum-primitive-derive-0.2): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f8621a1817..f449e673ba 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15255,6 +15255,32 @@ accessor functions on enums.") instances for enum.") (license license:expat))) +(define-public rust-enum-primitive-derive-0.2 + (package + (name "rust-enum-primitive-derive") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-primitive-derive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0h1k2izdl5lf2na8xnj7rgwjm8gawxc2p1w8j6ahifvyka7jhljz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.2) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://gitlab.com/cardoe/enum-primitive-derive") + (synopsis "Reimplementation of enum_primitive using a #[derive] macro") + (description + "This package provides a custom derive using procedural macros to +implement enum_primitive.") + (license license:expat))) + (define-public rust-enum-to-u8-slice-derive-0.1 (package (name "rust-enum-to-u8-slice-derive") |