guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 12/86] gnu: Add rust-winapi-build.


From: ng0
Subject: [PATCH 12/86] gnu: Add rust-winapi-build.
Date: Tue, 3 Jan 2017 23:35:28 +0000

* gnu/packages/rust.scm (rust-winapi-build): New variable.
---
 gnu/packages/rust.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index ff4901d0a..009cf0325 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -500,3 +500,23 @@ methods to @code{Result<T, Void>} and @code{Result<Void, 
T>}.")
      "Slab Allocator for Rust.  Preallocate memory for values
 of a given type.")
     (license license:expat)))
+
+(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)))
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]