all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 36920@debbugs.gnu.org
Subject: [bug#36920] [PATCH 05/43] gnu: Add rust-cfg-if.
Date: Sun,  4 Aug 2019 14:33:37 +0300	[thread overview]
Message-ID: <6f323ddd7adef7ee5cb4b4a2bd3765e1172cefff.1564918220.git.efraim@flashner.co.il> (raw)
In-Reply-To: <20190804112613.GC2421@E2140>

* 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 5d79833f7d..7ba20a0f40 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")
-- 
2.22.0

  parent reply	other threads:[~2019-08-04 11:35 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-04 11:26 [bug#36920] [PATCH] Some rust crates Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 01/43] gnu: crates-io.scm: Sort packages alphabetically Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 02/43] gnu: Add rust-autocfg Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 03/43] gnu: Add rust-bencher Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 04/43] gnu: Add rust-bitflags Efraim Flashner
2019-08-04 11:33 ` Efraim Flashner [this message]
2019-08-04 11:33 ` [bug#36920] [PATCH 06/43] gnu: Add rust-discard Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 07/43] gnu: Add rust-doc-comment Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 08/43] gnu: Add rust-dtoa Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 09/43] gnu: Add rust-fallible-iterator Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 10/43] gnu: Add rust-fnv Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 11/43] gnu: Add rust-fs-extra Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 12/43] gnu: Add rust-futures Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 13/43] gnu: Add rust-hex Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 14/43] gnu: Add rust-itoa Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 15/43] gnu: Add rust-json Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 16/43] gnu: Add rust-maplit Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 17/43] gnu: Add rust-matches Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 18/43] gnu: Add rust-md5 Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 19/43] gnu: Add rust-peeking-take-while Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 20/43] gnu: Add rust-percent-encoding Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 21/43] gnu: Add rust-pin-utils Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 22/43] gnu: Add rust-plain Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 23/43] gnu: Add rust-pocket-resources Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 24/43] gnu: Add rust-ppv-lite86 Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 25/43] gnu: Add rust-quick-error Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 26/43] gnu: Add rust-rustc-std-workspace-core Efraim Flashner
2019-08-04 11:33 ` [bug#36920] [PATCH 27/43] gnu: Add rust-scoped-tls Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 28/43] gnu: Add rust-scopeguard Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 29/43] gnu: Add rust-semver-parser Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 30/43] gnu: Add rust-shlex Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 31/43] gnu: Add rust-slab Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 32/43] gnu: Add rust-spin Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 33/43] gnu: Add rust-stdweb-internal-runtime Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 34/43] gnu: Add rust-strsim Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 35/43] gnu: Add rust-synstructure-test-traits Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 36/43] gnu: Add rust-typenum Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 37/43] gnu: Add rust-ucd-util Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 38/43] gnu: Add rust-unicode-width Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 39/43] gnu: Add rust-unindent Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 40/43] gnu: Add rust-wasm-bindgen-shared Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 41/43] gnu: Add rust-winapi-i686-pc-windows-gnu Efraim Flashner
2019-08-04 11:34 ` [bug#36920] [PATCH 42/43] gnu: Add rust-winapi-x86-64-pc-windows-gnu Efraim Flashner
2019-08-11  2:08   ` Ivan Petkov
2019-08-04 11:34 ` [bug#36920] [PATCH 43/43] gnu: Add rust-winapi Efraim Flashner
2019-08-12  9:03 ` bug#36920: [PATCH] Some rust crates Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f323ddd7adef7ee5cb4b4a2bd3765e1172cefff.1564918220.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=36920@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.