me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-cfg-if-0.1.

* gnu/packages/rust-cbindgen.scm (rust-cfg-if-0.1): New hidden variable.
master
Efraim Flashner 2019-10-23 09:44:40 +03:00
parent b249da1ddf
commit df22526740
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 22 additions and 0 deletions

View File

@ -106,3 +106,25 @@ behave like a set of bitflags.")
(properties '((hidden? . #t))) (properties '((hidden? . #t)))
(license (list license:asl2.0 (license (list license:asl2.0
license:expat)))) license:expat))))
(define rust-cfg-if-0.1
(package
(name "rust-cfg-if")
(version "0.1.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "cfg-if" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"08h80ihs74jcyp24cd75wwabygbbdgl05k6p5dmq8akbr78vv1a7"))))
(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.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))