summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 15:04:39 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:02 +0300
commit6ea6a985e5ae37430fe544888bb36c4c3b8ecfa4 (patch)
treea1dbcbbd9348e4295626dec2e9fc09c4c77a7a38 /gnu
parentbc0862cd94ead85ae340ad6f0b5d2dcd655182ea (diff)
downloadpatches-6ea6a985e5ae37430fe544888bb36c4c3b8ecfa4.tar
patches-6ea6a985e5ae37430fe544888bb36c4c3b8ecfa4.tar.gz
gnu: rust-winapi-build: New variable.
* gnu/packages/crates-io.scm (rust-winapi-build): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 558089f719..777e462294 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1103,6 +1103,25 @@ in Rust.")
(modify-phases %standard-phases
(delete 'build))))))
+(define-public rust-winapi-build
+ (package
+ (name "rust-winapi-build")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "winapi-build" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/retep998/winapi-rs")
+ (synopsis "Common code for build.rs in WinAPI -sys crates")
+ (description
+ "Common code for build.rs in WinAPI -sys crates.")
+ (license license:expat)))
+
(define-public rust-winapi-i686-pc-windows-gnu
(package
(name "rust-winapi-i686-pc-windows-gnu")