mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 03:15:09 -05:00
gnu: Add rust-enum-primitive-0.1.
* gnu/packages/crates-io.scm (rust-enum-primitive-0.1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
302b14e21f
commit
e940d98213
1 changed files with 23 additions and 0 deletions
|
@ -11042,6 +11042,29 @@ (define-public rust-enum-as-inner-0.2
|
|||
("rust-quote" ,rust-quote-0.6)
|
||||
("rust-syn" ,rust-syn-0.15))))))
|
||||
|
||||
(define-public rust-enum-primitive-0.1
|
||||
(package
|
||||
(name "rust-enum-primitive")
|
||||
(version "0.1.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "enum-primitive" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "100ip2p3w1rq0clca2ai5shhvpxfipnsjncj0f9ralad5w4m2idy"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-num-traits" ,rust-num-traits-0.1))))
|
||||
(home-page "https://github.com/andersk/enum_primitive-rs")
|
||||
(synopsis "Macro to generate @code{num::FromPrimitive} instances for enum")
|
||||
(description
|
||||
"This package provides a macro to generate @code{num::FromPrimitive}
|
||||
instances for enum.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-enum-to-u8-slice-derive-0.1
|
||||
(package
|
||||
(name "rust-enum-to-u8-slice-derive")
|
||||
|
|
Loading…
Reference in a new issue