gnu: Add rust-enumflags2-0.6.
* gnu/packages/crates-io.scm (rust-enumflags2-0.6): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>master
parent
ba0de78a75
commit
a08789dbcf
|
@ -15670,6 +15670,28 @@ implement enum_primitive.")
|
|||
convert enum to u8 slice ref.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public rust-enumflags2-0.6
|
||||
(package
|
||||
(name "rust-enumflags2")
|
||||
(version "0.6.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "enumflags2" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "182xd6cxxmadx1axnz6x73d12pzgwkc712zq2lxd4z1k48lxij43"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-enumflags2-derive" ,rust-enumflags2-derive-0.6)
|
||||
("rust-serde" ,rust-serde-1))))
|
||||
(home-page "https://github.com/NieDzejkob/enumflags2")
|
||||
(synopsis "Enum-based bit flags")
|
||||
(description "Enumflags2 is an Enum-based bit flags library.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-enumflags2-derive-0.6
|
||||
(package
|
||||
(name "rust-enumflags2-derive")
|
||||
|
|
Reference in New Issue