[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: Add rust-rustversion-1.0.
From: |
guix-commits |
Subject: |
02/07: gnu: Add rust-rustversion-1.0. |
Date: |
Sun, 23 Feb 2020 10:33:05 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit ee24071f5eb625207754f416ccca1d6748d2e17d
Author: Valentin Ignatev <address@hidden>
AuthorDate: Sun Jan 19 15:53:31 2020 +0300
gnu: Add rust-rustversion-1.0.
* gnu/packages/crates-io.scm (rust-rustversion-1.0): New variable.
Signed-off-by: Efraim Flashner <address@hidden>
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 18c8f9a..1f3347f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12006,6 +12006,32 @@ rustc compiler.")
"Automatically apply the suggestions made by rustc.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rustversion-1.0
+ (package
+ (name "rust-rustversion")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustversion" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xkr1g792w728py2qpg2zj0vfviv2xzmxkkd9w6035l9d5ss3fxk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1.0)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-syn" ,rust-syn-1.0))))
+ (home-page "https://github.com/dtolnay/rustversion")
+ (synopsis "Conditional compilation according to rustc compiler version")
+ (description
+ "This package provides conditional compilation according to the
+@code{rustc} compiler version.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rustversion-0.1
(package
(name "rust-rustversion")
- branch master updated (40cae20 -> 73c59b3), guix-commits, 2020/02/23
- 01/07: gnu: Add rust-futures-executor-0.3., guix-commits, 2020/02/23
- 03/07: gnu: Add rust-futures-0.3., guix-commits, 2020/02/23
- 05/07: gnu: Add rust-ref-cast-impl-1.0., guix-commits, 2020/02/23
- 02/07: gnu: Add rust-rustversion-1.0.,
guix-commits <=
- 04/07: gnu: Add rust-thiserror-impl-1.0., guix-commits, 2020/02/23
- 06/07: gnu: rust-ref-cast-impl-0.2: Inherit from rust-ref-cast-impl-1.0., guix-commits, 2020/02/23
- 07/07: gnu: Add rust-ref-cast-1.0., guix-commits, 2020/02/23