[bug#36920,41/43] gnu: Add rust-winapi-i686-pc-windows-gnu.
diff mbox series

Message ID 5b9d3c29aca88ca036947bea8a45bd55a36640f4.1564918220.git.efraim@flashner.co.il
State New
Headers show
Series
  • [bug#36920,01/43] gnu: crates-io.scm: Sort packages alphabetically.
Related show

Commit Message

Efraim Flashner Aug. 4, 2019, 11:34 a.m. UTC
* gnu/packages/crates-io.scm (rust-winapi-i686-pc-windows-gnu): New
variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1c78073528..36632653d4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -882,3 +882,24 @@  whitespace from a string.")
 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
     (license (list license:asl2.0
                    license:expat))))
+
+(define-public rust-winapi-i686-pc-windows-gnu
+  (package
+    (name "rust-winapi-i686-pc-windows-gnu")
+    (version "0.4.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/retep998/winapi-rs")
+    (synopsis "Import libraries for the i686-pc-windows-gnu target")
+    (description "This crate provides import libraries for the
+i686-pc-windows-gnu target.  Please don't use this crate directly, depend on
+@code{winapi} instead.")
+    (license (list license:asl2.0
+                   license:expat))))