[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/11: gnu: Add rust-autocfg-1.0.
From: |
guix-commits |
Subject: |
08/11: gnu: Add rust-autocfg-1.0. |
Date: |
Wed, 5 Feb 2020 06:35:25 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 059a79e416aee99ad37fdbca48b2c351e14ef778
Author: John Soo <address@hidden>
AuthorDate: Sat Feb 1 00:35:12 2020 -0800
gnu: Add rust-autocfg-1.0.
* gnu/packages/crates-io.scm (rust-autocfg-1.0): New variable.
(rust-autocfg-0.1): Inherit from rust-autocfg-1.0.
Signed-off-by: Efraim Flashner <address@hidden>
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++----------
1 file changed, 23 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2bf5d96..ad6b778 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -444,8 +444,30 @@ ArrayVec and ArrayString.")
"This package provides a simple interface for querying atty.")
(license license:expat)))
+(define-public rust-autocfg-1.0
+ (package
+ (name "rust-autocfg")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "autocfg" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "17cv6pwb4q08s0ynpr4n8hv5299hcmhdgvdchzixfpw8y5qcgapq"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/cuviper/autocfg")
+ (synopsis
+ "Automatic cfg for Rust compiler features")
+ (description
+ "Automatic cfg for Rust compiler features.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-autocfg-0.1
(package
+ (inherit rust-autocfg-1.0)
(name "rust-autocfg")
(version "0.1.7")
(source
@@ -456,16 +478,7 @@ ArrayVec and ArrayString.")
(sha256
(base32
"1chwgimpx5z7xbag7krr9d8asxfqbh683qhgl9kn3hxk2l0djj8x"))))
- (build-system cargo-build-system)
- (arguments '(#:skip-build? #t))
- (home-page "https://github.com/cuviper/autocfg")
- (synopsis "Automatic cfg for Rust compiler features")
- (description "Rust library for build scripts to automatically configure
-code based on compiler support. Code snippets are dynamically tested to see
-if the @code{rustc} will accept them, rather than hard-coding specific version
-support.")
- (license (list license:asl2.0
- license:expat))))
+ (arguments '(#:skip-build? #t))))
(define-public rust-backtrace-0.3
(package
- branch master updated (00a9a93 -> 91f0c79), guix-commits, 2020/02/05
- 01/11: gnu: Add rust-locale-0.2., guix-commits, 2020/02/05
- 02/11: gnu: Add rust-no-panic-0.1., guix-commits, 2020/02/05
- 06/11: gnu: Add rust-libm-0.2., guix-commits, 2020/02/05
- 04/11: gnu: Add rust-iso8601-0.1., guix-commits, 2020/02/05
- 03/11: gnu: Add rust-pad-0.1., guix-commits, 2020/02/05
- 05/11: gnu: Add rust-nom-1.2., guix-commits, 2020/02/05
- 11/11: gnu: librsvg-next-source: Update dependencies., guix-commits, 2020/02/05
- 08/11: gnu: Add rust-autocfg-1.0.,
guix-commits <=
- 09/11: gnu: Add rust-libm-0.1., guix-commits, 2020/02/05
- 07/11: gnu: rust-num-traits-0.2: Don't hide package., guix-commits, 2020/02/05
- 10/11: gnu: rust-num-traits-0.2: Upgrade to 0.2.11., guix-commits, 2020/02/05