[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#45276] [PATCH 09/26] gnu: Add rust-pin-project-1, rust-pin-project-
From: |
Hartmut Goebel |
Subject: |
[bug#45276] [PATCH 09/26] gnu: Add rust-pin-project-1, rust-pin-project-internal-1. |
Date: |
Wed, 16 Dec 2020 21:36:17 +0100 |
* gnu/packages/crates-io.scm (rust-pin-project-1,
rust-pin-project-internal-1): New variables.
(rust-pin-project-0.4): Inherit from rust-pin-project-1.
(rust-pin-project-internal-0.4): Inherit from rust-pin-project-internal-1.
---
gnu/packages/crates-io.scm | 61 ++++++++++++++++++++++++++++++++------
1 file changed, 52 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5e6a9502b3..486402e2b1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20368,8 +20368,33 @@ 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
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-pin-project-internal" ,rust-pin-project-internal-1))))
+ (home-page "https://github.com/taiki-e/pin-project")
+ (synopsis "A 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
@@ -20383,14 +20408,36 @@ function data structures.")
(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.")
+ (("rust-pin-project-internal" ,rust-pin-project-internal-0.4))))))
+
+
+(define-public rust-pin-project-internal-1
+ (package
+ (name "rust-pin-project-internal")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pin-project-internal" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pwy3m32scf3ypjb9ai151lmaa27vyj06lc64i28l0r31fzx5s7q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://crates.io/crates/pin-project-internal")
+ (synopsis "An internal crate to support pin_project")
+ (description "An internal crate to support pin_project")
(license (list license:asl2.0 license:expat))))
(define-public rust-pin-project-internal-0.4
(package
+ (inherit rust-pin-project-internal-1)
(name "rust-pin-project-internal")
(version "0.4.22")
(source
@@ -20406,11 +20453,7 @@ function data structures.")
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://crates.io/crates/pin-project-internal")
- (synopsis "An internal crate to support pin_project")
- (description "An internal crate to support pin_project")
- (license (list license:asl2.0 license:expat))))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-pin-project-lite-0.1
(package
--
2.21.3
- [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0, Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 01/26] gnu: Add rust-cipher-0.2., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 03/26] gnu: Add rust-ctr-0.6., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 02/26] gnu: Add rust-cmac-0.5., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 04/26] gnu: Add rust-dbl-0.3., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 05/26] gnu: Add rust-eax-0.3., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 06/26] gnu: Add rust-sha1collisiondetection-0.2., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 07/26] gnu: Add rust-crypto-mac-0.10., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 09/26] gnu: Add rust-pin-project-1, rust-pin-project-internal-1.,
Hartmut Goebel <=
- [bug#45276] [PATCH 10/26] gnu: Replace rust-capnp-0.10 by rust-capnp-0.13., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 08/26] gnu: Add rust-pin-utils-0.1., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 13/26] gnu: Replace rust-capnpc-0.10 by rust-capnpc-0.13., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 11/26] gnu: Replace rust-capnp-futures-0.10 by rust-capnp-futures-0.13., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 14/26] gnu: Replace rust-win-crypto-ng-0.2 by rust-win-crypto-ng-0.4., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 12/26] gnu: Replace rust-capnp-rpc-0.10 by rust-capnp-rpc-0.13., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 15/26] gnu: rust-proc-macro-hack-0.5: Update to 0.5.19., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 16/26] gnu: rust-socket2: Update to 0.3.18., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 17/26] gnu: rust-futures-util-0.3: Update to 0.3.8., Hartmut Goebel, 2020/12/16
- [bug#45276] [PATCH 18/26] gnu: rust-futures-0.3: Update to 0.3.8., Hartmut Goebel, 2020/12/16