aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:50:48 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:10 +0300
commitaf72ed1696f1c09ec5ecbf8c138a5fc52e2cdd42 (patch)
tree7489575e9c3ec24e8b1c42570216edce4c785a73
parent8aa60ffe8d67c64b68180ce345492318260ca58b (diff)
downloadpatches-af72ed1696f1c09ec5ecbf8c138a5fc52e2cdd42.tar
patches-af72ed1696f1c09ec5ecbf8c138a5fc52e2cdd42.tar.gz
gnu: Add rust-void.
* gnu/packages/crates-io.scm (rust-void): New variable.
-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 bd57282364..c3a7d9cfcc 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")