From 2eae8e9fb99b61cbf7666abfcad6f28a30735e61 Mon Sep 17 00:00:00 2001 From: Steve George Date: Wed, 2 Oct 2024 19:53:29 +0100 Subject: gnu: Add rust-windows-result-0.2. * gnu/packages/crates-windows.scm (rust-windows-result-0.2): New variable. Change-Id: I29af1947f6efdbca486d08e860cb29d15a5b780e --- gnu/packages/crates-windows.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/crates-windows.scm') diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index 70de1823f8..7ef0c1a15b 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -2236,6 +2236,25 @@ Windows crate.") (sha256 (base32 "03h0c6qs1yyl0z69p4k1hdq636j868qdxnri1dy47nprjvckacbm")))))) +(define-public rust-windows-result-0.2 + (package + (name "rust-windows-result") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-result" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03mf2z1xcy2slhhsm15z24p76qxgm2m74xdjp8bihyag47c4640x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Windows error handling") + (description "This package provides Windows error handling.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-sys-0.59 (package (name "rust-windows-sys") -- cgit v1.2.3