[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/23: gnu: Add rust-static-assertions.
From: |
guix-commits |
Subject: |
03/23: gnu: Add rust-static-assertions. |
Date: |
Tue, 17 Sep 2019 12:40:34 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 86d452f946b2e05866293bcbdb2a9b7d6533962a
Author: Efraim Flashner <address@hidden>
Date: Tue Sep 17 15:47:59 2019 +0300
gnu: Add rust-static-assertions.
* gnu/packages/crates-io.scm (rust-static-assertions): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b78642a..840ca6b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2938,6 +2938,26 @@ deeply recursive algorithms that may accidentally blow
the stack.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-static-assertions
+ (package
+ (name "rust-static-assertions")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "static-assertions" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lw33i89888yb3x29c6dv4mrkg3534n0rlg3r7qzh4p58xmv6gkz"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/nvzqz/static-assertions-rs")
+ (synopsis "Compile-time assertions for rust")
+ (description
+ "This package provides compile-time assertions to ensure that invariants
+are met.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-stdweb-internal-runtime
(package
(name "rust-stdweb-internal-runtime")
- branch master updated (34583ec -> 7009d20), guix-commits, 2019/09/17
- 03/23: gnu: Add rust-static-assertions.,
guix-commits <=
- 07/23: gnu: Add rust-num-traits-0.1., guix-commits, 2019/09/17
- 05/23: gnu: Add rust-term., guix-commits, 2019/09/17
- 06/23: gnu: Add rust-clang-sys-0.26., guix-commits, 2019/09/17
- 01/23: gnu: Add rust-percent-encoding-1., guix-commits, 2019/09/17
- 02/23: gnu: Add rust-rustc-hash., guix-commits, 2019/09/17
- 08/23: gnu: Add rust-dtoa-0.2., guix-commits, 2019/09/17
- 09/23: gnu: Add rust-itoa-0.1., guix-commits, 2019/09/17
- 22/23: gnu: Add rust-futures-core-preview., guix-commits, 2019/09/17
- 13/23: gnu: Add rust-backtrace-sys., guix-commits, 2019/09/17
- 21/23: gnu: Add rust-unreachable., guix-commits, 2019/09/17