[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/45: gnu: Add rust-cfg-if-0.1.
From: |
guix-commits |
Subject: |
05/45: gnu: Add rust-cfg-if-0.1. |
Date: |
Wed, 23 Oct 2019 03:49:11 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit df2252674025d9699f2a6ebd93f6e249ee8a3d92
Author: Efraim Flashner <address@hidden>
Date: Wed Oct 23 09:44:40 2019 +0300
gnu: Add rust-cfg-if-0.1.
* gnu/packages/rust-cbindgen.scm (rust-cfg-if-0.1): New hidden variable.
---
gnu/packages/rust-cbindgen.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index 6cc5882..0a5e50e 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -106,3 +106,25 @@ behave like a set of bitflags.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
+
+(define rust-cfg-if-0.1
+ (package
+ (name "rust-cfg-if")
+ (version "0.1.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cfg-if" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "08h80ihs74jcyp24cd75wwabygbbdgl05k6p5dmq8akbr78vv1a7"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/alexcrichton/cfg-if")
+ (synopsis "Define an item depending on parameters")
+ (description "This package provides a macro to ergonomically define an item
+depending on a large number of #[cfg] parameters. Structured like an
+@code{if-else} chain, the first matching branch is the item that gets
emitted.")
+ (properties '((hidden? . #t)))
+ (license (list license:asl2.0
+ license:expat))))
- branch master updated (f3fd5f4 -> 221012e), guix-commits, 2019/10/23
- 02/45: gnu: Add rust-atty-0.2., guix-commits, 2019/10/23
- 05/45: gnu: Add rust-cfg-if-0.1.,
guix-commits <=
- 07/45: gnu: Add rust-cloudabi-0.0., guix-commits, 2019/10/23
- 09/45: gnu: Add rust-itoa-0.4., guix-commits, 2019/10/23
- 03/45: gnu: Add rust-autocfg-0.1., guix-commits, 2019/10/23
- 04/45: gnu: Add rust-bitflags-1.1., guix-commits, 2019/10/23
- 08/45: gnu: Add rust-fuchsia-cprng-0.1., guix-commits, 2019/10/23
- 10/45: gnu: Add rust-libc-0.2., guix-commits, 2019/10/23
- 01/45: gnu: Add rust-ansi-term-0.11., guix-commits, 2019/10/23
- 17/45: gnu: Add rust-rand-core-0.4., guix-commits, 2019/10/23
- 24/45: gnu: Add rust-rand-xorshift-0.1., guix-commits, 2019/10/23
- 26/45: gnu: Add rust-redox-syscall-0.1., guix-commits, 2019/10/23