aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-26 16:38:02 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-27 20:59:41 +0200
commitaf5271b275cda8a92d698e846aa1e21e722974a0 (patch)
treec66899694aabbc1b82f000689f105ce988fdf7ae
parent643d90bf7475d2939b1fbd437965a5b978c8d3ec (diff)
downloadpatches-af5271b275cda8a92d698e846aa1e21e722974a0.tar
patches-af5271b275cda8a92d698e846aa1e21e722974a0.tar.gz
gnu: Add rust-user32-sys-0.2.
* gnu/packages/crates-io.scm (rust-user32-sys-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b5c36525c..413599d064 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18394,6 +18394,39 @@ untrusted inputs in Rust.")
("rust-rustc-test" ,rust-rustc-test-0.3)
("rust-serde-json" ,rust-serde-json-1.0))))))
+(define-public rust-user32-sys-0.2
+ (package
+ (name "rust-user32-sys")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "user32-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ivxc7hmsxax9crdhxdd1nqwik4s9lhb2x59lc8b88bv20fp3x2f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.2))
+ #:cargo-development-inputs
+ (("rust-winapi-build" ,rust-winapi-build-0.1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-cargo-toml
+ (lambda _
+ (substitute* "Cargo.toml"
+ ((", path =.*}") "}"))
+ #t)))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis "Function definitions for the Windows API library user32")
+ (description
+ "Contains function definitions for the Windows API library user32.
+See winapi for types and constants.")
+ (license license:expat)))
+
(define-public rust-users-0.9
(package
(name "rust-users")