me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-rustversion-1.0.

* gnu/packages/crates-io.scm (rust-rustversion-1.0): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Valentin Ignatev 2020-01-19 15:53:31 +03:00 committed by Efraim Flashner
parent b85417d972
commit ee24071f5e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 26 additions and 0 deletions

View File

@ -12006,6 +12006,32 @@ rustc compiler.")
"Automatically apply the suggestions made by rustc.") "Automatically apply the suggestions made by rustc.")
(license (list license:expat license:asl2.0)))) (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 (define-public rust-rustversion-0.1
(package (package
(name "rust-rustversion") (name "rust-rustversion")