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
parent
986fc17956
commit
2e217866cd
|
@ -38579,8 +38579,37 @@ Rust.")
|
||||||
(description "Numeric syntax extensions in Rust.")
|
(description "Numeric syntax extensions in Rust.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(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
|
(define-public rust-num-enum-0.4
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-num-enum-0.5)
|
||||||
(name "rust-num-enum")
|
(name "rust-num-enum")
|
||||||
(version "0.4.3")
|
(version "0.4.3")
|
||||||
(source
|
(source
|
||||||
|
@ -38597,11 +38626,6 @@ Rust.")
|
||||||
(("rust-derivative" ,rust-derivative-2)
|
(("rust-derivative" ,rust-derivative-2)
|
||||||
("rust-num-enum" ,rust-num-enum-0.4)
|
("rust-num-enum" ,rust-num-enum-0.4)
|
||||||
("rust-num-enum-derive" ,rust-num-enum-derive-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)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public rust-num-enum-derive-0.5
|
(define-public rust-num-enum-derive-0.5
|
||||||
|
|
Reference in New Issue