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:
Efraim Flashner 2024-01-29 10:11:30 +02:00
parent fe4a77e672
commit a2a1142385
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -60856,8 +60856,32 @@ clone.")
("rust-serde" ,rust-serde-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
(package
(inherit rust-snafu-derive-0.8)
(name "rust-snafu-derive")
(version "0.7.5")
(source (origin
@ -60867,18 +60891,12 @@ clone.")
(sha256
(base32
"1gzy9rzggs090zf7hfvgp4lm1glrmg9qzh796686jnq7bxk7j04r"))))
(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-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))))
("rust-syn" ,rust-syn-1))))))
(define-public rust-snafu-derive-0.6
(package