guix-commits
[Top][All Lists]
Advanced

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

52/53: gnu: Add rust-void.


From: guix-commits
Subject: 52/53: gnu: Add rust-void.
Date: Wed, 28 Aug 2019 09:55:10 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit af72ed1696f1c09ec5ecbf8c138a5fc52e2cdd42
Author: Efraim Flashner <address@hidden>
Date:   Wed Aug 28 16:50:48 2019 +0300

    gnu: Add rust-void.
    
    * gnu/packages/crates-io.scm (rust-void): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bd57282..c3a7d9c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1876,6 +1876,25 @@ If that fails, no determination is made, and calls 
return None.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-void
+  (package
+    (name "rust-void")
+    (version "1.0.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "void" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/reem/rust-void.git";)
+    (synopsis "Void type for use in statically impossible cases")
+    (description
+     "The uninhabited void type for use in statically impossible cases.")
+    (license license:expat)))
+
 (define-public rust-wasi
   (package
     (name "rust-wasi")



reply via email to

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