[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/43: gnu: Add rust-cfg-if.
From: |
guix-commits |
Subject: |
05/43: gnu: Add rust-cfg-if. |
Date: |
Mon, 12 Aug 2019 05:02:09 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit f69bf22334e673dc622eaf9cb55ff28da83d6970
Author: Efraim Flashner <address@hidden>
Date: Sun Aug 4 12:53:04 2019 +0300
gnu: Add rust-cfg-if.
* gnu/packages/crates-io.scm (rust-cfg-if): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5d79833..7ba20a0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -91,6 +91,27 @@ behave like a set of bitflags.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-cfg-if
+ (package
+ (name "rust-cfg-if")
+ (version "0.1.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cfg-if" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0csygklgz3ybpr0670rkip49zh76m43ar3k7xgypkzbzrwycx1ml"))))
+ (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.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-proc-macro2
(package
(name "rust-proc-macro2")
- branch master updated (513a66c -> c9093d2), guix-commits, 2019/08/12
- 01/43: gnu: crates-io.scm: Sort packages alphabetically., guix-commits, 2019/08/12
- 02/43: gnu: Add rust-autocfg., guix-commits, 2019/08/12
- 03/43: gnu: Add rust-bencher., guix-commits, 2019/08/12
- 04/43: gnu: Add rust-bitflags., guix-commits, 2019/08/12
- 05/43: gnu: Add rust-cfg-if.,
guix-commits <=
- 09/43: gnu: Add rust-fallible-iterator., guix-commits, 2019/08/12
- 07/43: gnu: Add rust-doc-comment., guix-commits, 2019/08/12
- 14/43: gnu: Add rust-itoa., guix-commits, 2019/08/12
- 17/43: gnu: Add rust-matches., guix-commits, 2019/08/12
- 08/43: gnu: Add rust-dtoa., guix-commits, 2019/08/12
- 10/43: gnu: Add rust-fnv., guix-commits, 2019/08/12
- 11/43: gnu: Add rust-fs-extra., guix-commits, 2019/08/12
- 12/43: gnu: Add rust-futures., guix-commits, 2019/08/12
- 16/43: gnu: Add rust-maplit., guix-commits, 2019/08/12
- 18/43: gnu: Add rust-md5., guix-commits, 2019/08/12