diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-08 10:28:46 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-08 11:04:42 +0200 |
commit | da7901f50d4d7f32d6f68eb8e434fbd90722f20c (patch) | |
tree | 2f45675a8bf400bb924e962649fcf3421738070d | |
parent | d0bd3b84b52459e12f50cb8cd7420e866da13048 (diff) |
gnu: Add rust-winreg-0.8.
* gnu/packages/crates-io.scm (rust-winreg-0.8): New variable.
(rust-winreg-0.7): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2d8006b1cc..940a430b81 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -50800,8 +50800,33 @@ trust these primitives.") (description "Rust winpty bindings.") (license license:expat))) +(define-public rust-winreg-0.8 + (package + (name "rust-winreg") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1364vyx4kh170pxfg8iwlvv8xskvry53xfya0565q8qnx73gh1yi")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/gentoo90/winreg-rs") + (synopsis "Rust bindings to the MS Windows Registry API") + (description + "This package provides Rust bindings to MS Windows Registry API.") + (license license:expat))) + (define-public rust-winreg-0.7 (package + (inherit rust-winreg-0.8) (name "rust-winreg") (version "0.7.0") (source @@ -50812,7 +50837,6 @@ trust these primitives.") (sha256 (base32 "0sdxcyvda4v1v6a0k1j2v1400z3ng323k9a56gxvkq51x21dn801")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) @@ -50820,12 +50844,7 @@ trust these primitives.") ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3) - ("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "https://github.com/gentoo90/winreg-rs") - (synopsis "Rust bindings to the MS Windows Registry API") - (description "This package provides Rust bindings to MS Windows Registry -API.") - (license license:expat))) + ("rust-serde-derive" ,rust-serde-derive-1)))))) (define-public rust-winreg-0.6 (package |