diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 15:02:36 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:53:01 +0300 |
commit | bc0862cd94ead85ae340ad6f0b5d2dcd655182ea (patch) | |
tree | d060b5a7e9bbe4ddd512ca56c3982ed63e4853a4 /gnu/packages/crates-io.scm | |
parent | dac3fc6974193597a3343b1d5c6283a8ebdf8d3f (diff) | |
download | guix-bc0862cd94ead85ae340ad6f0b5d2dcd655182ea.tar.gz |
gnu: Add rust-winapi-0.2.
* gnu/packages/crates-io.scm (rust-winapi-0.2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b255cfe624..558089f719 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1082,6 +1082,27 @@ in Rust.") (license (list license:asl2.0 license:expat)))) +(define-public rust-winapi-0.2 + (package + (inherit rust-winapi) + (name "rust-winapi") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "winapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n")))) + ;; We do not want to package 48 -sys crates for a package we do not want. + ;; They are all dev dependencies, so we skip building and testing. + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'build)))))) + (define-public rust-winapi-i686-pc-windows-gnu (package (name "rust-winapi-i686-pc-windows-gnu") |