gnu: Add rust-snafu-derive-0.8.
* gnu/packages/crates-io.scm (rust-snafu-derive-0.8): New variable. (rust-snafu-derive-0.7): Inherit from rust-snafu-derive-0.8. Change-Id: I6345450b3594ead22a969484639e3f511da638d4
This commit is contained in:
parent
fe4a77e672
commit
a2a1142385
1 changed files with 25 additions and 7 deletions
|
@ -60856,8 +60856,32 @@ clone.")
|
||||||
("rust-serde" ,rust-serde-1)
|
("rust-serde" ,rust-serde-1)
|
||||||
("rust-serde-json" ,rust-serde-json-1))))))
|
("rust-serde-json" ,rust-serde-json-1))))))
|
||||||
|
|
||||||
|
(define-public rust-snafu-derive-0.8
|
||||||
|
(package
|
||||||
|
(name "rust-snafu-derive")
|
||||||
|
(version "0.8.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "snafu-derive" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1837y976zh0cn137srwfmdiwz59raj5xs7gnsqaszc9n2jbl8308"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs (("rust-heck" ,rust-heck-0.4)
|
||||||
|
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
|
("rust-quote" ,rust-quote-1)
|
||||||
|
("rust-syn" ,rust-syn-2))))
|
||||||
|
(home-page "https://github.com/shepmaster/snafu")
|
||||||
|
(synopsis "Ergonomic error handling library")
|
||||||
|
(description "Snafu aims to be an ergonomic error handling library. This
|
||||||
|
package provides derive macros.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-snafu-derive-0.7
|
(define-public rust-snafu-derive-0.7
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-snafu-derive-0.8)
|
||||||
(name "rust-snafu-derive")
|
(name "rust-snafu-derive")
|
||||||
(version "0.7.5")
|
(version "0.7.5")
|
||||||
(source (origin
|
(source (origin
|
||||||
|
@ -60867,18 +60891,12 @@ clone.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1gzy9rzggs090zf7hfvgp4lm1glrmg9qzh796686jnq7bxk7j04r"))))
|
"1gzy9rzggs090zf7hfvgp4lm1glrmg9qzh796686jnq7bxk7j04r"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-heck" ,rust-heck-0.4)
|
(("rust-heck" ,rust-heck-0.4)
|
||||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
("rust-quote" ,rust-quote-1)
|
("rust-quote" ,rust-quote-1)
|
||||||
("rust-syn" ,rust-syn-1))))
|
("rust-syn" ,rust-syn-1))))))
|
||||||
(home-page "https://github.com/shepmaster/snafu")
|
|
||||||
(synopsis "Ergonomic error handling library")
|
|
||||||
(description "Snafu aims to be an ergonomic error handling library. This
|
|
||||||
package provides derive macros.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-snafu-derive-0.6
|
(define-public rust-snafu-derive-0.6
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue