diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-19 17:23:19 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-28 22:25:00 +0100 |
commit | 6a52e6f0429e922adb9d3efcb4856a4c87322bb4 (patch) | |
tree | 4cfafa66d18f8f0f8a4199a5cb98719fd739001a | |
parent | 2040d52f2cfeae831bdb0f915f06a46483f18f82 (diff) | |
download | guix-6a52e6f0429e922adb9d3efcb4856a4c87322bb4.tar guix-6a52e6f0429e922adb9d3efcb4856a4c87322bb4.tar.gz |
gnu: Add rust-pin-project-1.
* gnu/packages/crates-io.scm (rust-pin-project-1): New variable.
(rust-pin-project-0.4): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6a0ab5df4b..c5fab8100a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20422,8 +20422,36 @@ function data structures.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pin-project-1 + (package + (name "rust-pin-project") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pin-project" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19qw2nm2kk38v9j16nsm8j3fkh0g8pjq0k4cplx7i2f4q8vj5k4w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-pin-project-internal" ,rust-pin-project-internal-1)) + #:cargo-development-inputs + (("rust-pin-project-auxiliary-macro" + ,rust-pin-project-auxiliary-macro-0.0) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/taiki-e/pin-project") + (synopsis "Crate for safe and ergonomic pin-projection") + (description + "This package provides a crate for safe and ergonomic pin-projection.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-pin-project-0.4 (package + (inherit rust-pin-project-1) (name "rust-pin-project") (version "0.4.22") (source @@ -20433,15 +20461,10 @@ function data structures.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05wwxy46j9z27ibbiisjqk0rivf0z00h4al1f92mwjp9pz6sdqqj")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; XXX: Fix-me. #:cargo-inputs - (("rust-pin-project-internal" ,rust-pin-project-internal-0.4)))) - (home-page "https://crates.io/crates/pin-project") - (synopsis "A crate for safe and ergonomic pin-projection") - (description "A crate for safe and ergonomic pin-projection.") - (license (list license:asl2.0 license:expat)))) + (("rust-pin-project-internal" ,rust-pin-project-internal-0.4)))))) (define-public rust-pin-project-auxiliary-macro-0.0 (package |