From f66aeee6b700cb7ab1740d7c4633fada81ca9492 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Sun, 19 Jan 2020 02:03:51 +0300 Subject: [PATCH 091/275] gnu: Add rust-winreg-0.6. * gnu/packages/crates-io.scm (rust-winreg-0.6): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 010febc9ba..94595c86b2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15446,6 +15446,37 @@ color in a Windows console.") (license (list license:unlicense license:expat)))) +(define-public rust-winreg-0.6 + (package + (name "rust-winreg") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jdcqr6zmvwyrp87h48miasfdvv16gjsb60rc8dy2kqwb3mnv65j")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1.0) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3) + ("rust-serde-derive" ,rust-serde-derive-1.0)))) + (home-page + "https://github.com/gentoo90/winreg-rs") + (synopsis + "Rust bindings to MS Windows Registry API") + (description + "Rust bindings to MS Windows Registry API") + (license license:expat))) + (define-public rust-winutil-0.1 (package (name "rust-winutil") -- 2.25.0