aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-10 17:39:10 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-11 15:39:14 +0000
commit4ef9ef0aa3756d53e9848132c2b525d3d5bdaec1 (patch)
tree28a5913badc1ee1303eeb6281f2c86a227921d45 /gnu
parent6a4b4d3c1d73191964bfd5ec7bcc5a855a83e5c7 (diff)
downloadguix-4ef9ef0aa3756d53e9848132c2b525d3d5bdaec1.tar
guix-4ef9ef0aa3756d53e9848132c2b525d3d5bdaec1.tar.gz
gnu: Add rust-feature-probe-0.1.
* gnu/packages/crates-io.scm (rust-feature-probe-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2059062e97..ecf7eadbc7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17482,6 +17482,28 @@ it.")
descriptors limit.")
(license license:asl2.0)))
+(define-public rust-feature-probe-0.1
+ (package
+ (name "rust-feature-probe")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "feature-probe" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nhif9zpr2f17gagf0qb0v914wc3jr9sfjzvnpi7b7pcs73ksnl3"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/tov/feature-probe-rs")
+ (synopsis "Probe for rustc features from build.rs")
+ (description "To support multiple versions of Rust, it's often necessary
+to conditionally compile parts of our libraries or programs. It's possible to
+allow users to specify what features to enable, but detection is better,
+because users get all the features that their version of Rust supports. And
+while we could check the rustc version, it's better to probe for individual
+features. This package probes for rustc features from build.rs.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-feed-rs-0.6
(package
(name "rust-feed-rs")