me
/
guix
Archived
1
0
Fork 0

gnu: rust-num-enum: Add 0.5.7.

* gnu/packages/crates-io.scm (rust-num-enum-0.5): New variable.
(rust-num-enum-0.4): Inherit from it.
master
Marius Bakke 2022-07-26 11:27:53 +02:00
parent 986fc17956
commit 2e217866cd
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 29 additions and 5 deletions

View File

@ -38579,8 +38579,37 @@ Rust.")
(description "Numeric syntax extensions in Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-num-enum-0.5
(package
(name "rust-num-enum")
(version "0.5.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "num_enum" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1j8rq7i4xnbzy72z82k41469xlj1bmn4ixagd9wlbvv2ark9alyg"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #false ;missing files
#:cargo-inputs
(("rust-num-enum-derive" ,rust-num-enum-derive-0.5))
#:cargo-development-inputs
(("rust-anyhow" ,rust-anyhow-1)
("rust-rustversion" ,rust-rustversion-1)
("rust-trybuild" ,rust-trybuild-1)
("rust-walkdir" ,rust-walkdir-2))))
(home-page "https://github.com/illicitonion/num_enum")
(synopsis "Macros easing inter-operation between primitives and enums")
(description
"This library provides procedural macros to make inter-operation between
primitives and enums easier.")
(license (list license:bsd-3 license:expat license:asl2.0))))
(define-public rust-num-enum-0.4
(package
(inherit rust-num-enum-0.5)
(name "rust-num-enum")
(version "0.4.3")
(source
@ -38597,11 +38626,6 @@ Rust.")
(("rust-derivative" ,rust-derivative-2)
("rust-num-enum" ,rust-num-enum-0.4)
("rust-num-enum-derive" ,rust-num-enum-derive-0.4))))
(home-page "https://github.com/illicitonion/num_enum")
(synopsis "Macros easing inter-operation between primitives and enums")
(description
"This library provides procedural macros to make inter-operation between
primitives and enums easier.")
(license license:bsd-3)))
(define-public rust-num-enum-derive-0.5