[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/45: gnu: Add rust-winapi-0.3.
From: |
guix-commits |
Subject: |
44/45: gnu: Add rust-winapi-0.3. |
Date: |
Wed, 23 Oct 2019 03:49:18 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit cec27a23fe9c37aaf415b2ebcf3d912e7d257020
Author: Efraim Flashner <address@hidden>
Date: Wed Oct 23 10:39:38 2019 +0300
gnu: Add rust-winapi-0.3.
* gnu/packages/rust-cbindgen.scm (rust-winapi-0.3): New hidden variable.
---
gnu/packages/rust-cbindgen.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 438407b..13e32cc 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -881,6 +881,32 @@ or XID_Continue properties according to Unicode Standard
Annex #31.")
(license (list license:asl2.0
license:expat))))
+(define rust-winapi-0.3
+ (package
+ (name "rust-winapi")
+ (version "0.3.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "winapi" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
+ (build-system cargo-build-system)
+ ;; This package depends unconditionally on these two crates.
+ (arguments
+ `(#:cargo-inputs
+ (("winapi-i686-pc-windows-gnu" ,rust-winapi-i686-pc-windows-gnu-0.4)
+ ("winapi-x86-64-pc-windows-gnu"
,rust-winapi-x86-64-pc-windows-gnu-0.4))))
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis "Raw FFI bindings for all of Windows API")
+ (description
+ "This package contains raw FFI bindings for all of Windows API.")
+ (properties '((hidden? . #t)))
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-winapi-i686-pc-windows-gnu-0.4
(package
(name "rust-winapi-i686-pc-windows-gnu")
- 33/45: gnu: Add rust-strsim-0.8., (continued)
- 33/45: gnu: Add rust-strsim-0.8., guix-commits, 2019/10/23
- 34/45: gnu: Add rust-syn-1.0., guix-commits, 2019/10/23
- 39/45: gnu: Add rust-unicode-width-0.1., guix-commits, 2019/10/23
- 40/45: gnu: Add rust-unicode-xid-0.2., guix-commits, 2019/10/23
- 43/45: gnu: Add rust-winapi-x86-64-pc-windows-gnu-0.4., guix-commits, 2019/10/23
- 45/45: gnu: Add rust-cbindgen., guix-commits, 2019/10/23
- 27/45: gnu: Add rust-redox-termios-0.1., guix-commits, 2019/10/23
- 29/45: gnu: Add rust-ryu-1.0., guix-commits, 2019/10/23
- 38/45: gnu: Add rust-toml-0.5., guix-commits, 2019/10/23
- 42/45: gnu: Add rust-winapi-i686-pc-windows-gnu-0.4., guix-commits, 2019/10/23
- 44/45: gnu: Add rust-winapi-0.3.,
guix-commits <=