* [bug#45276] [PATCH 01/26] gnu: Add rust-cipher-0.2.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 02/26] gnu: Add rust-cmac-0.5 Hartmut Goebel
` (26 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-cipher-0.2): New variable.
---
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 385160dd90..88a2b59ae5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3871,6 +3871,32 @@ depending on a large number of #[cfg] parameters. Structured like an
(description "This package provides Rust bindings for libclang.")
(license license:asl2.0)))
+(define-public rust-cipher-0.2
+ (package
+ (name "rust-cipher")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cipher" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00b8imbmdg7zdrbaczlivmdfdy09xldg95wl4iijl15xgjcfgy0j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-generic-array" ,rust-generic-array-0.14))))
+ (home-page "https://docs.rs/cipher/")
+ (synopsis "Traits for describing block ciphers and stream ciphers")
+ (description "This package provides traits which define the functionality
+of block ciphers and stream ciphers. See RustCrypto/block-ciphers and
+RustCrypto/stream-ciphers for algorithm implementations which use these
+traits.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-clang-sys-0.29
(package
(inherit rust-clang-sys-1)
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 02/26] gnu: Add rust-cmac-0.5.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 01/26] gnu: Add rust-cipher-0.2 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 03/26] gnu: Add rust-ctr-0.6 Hartmut Goebel
` (25 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-cmac-0.5): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 88a2b59ae5..76bcac743b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4191,6 +4191,31 @@ contains all syscalls and related types.")
license:asl2.0
license:zlib))))
+(define-public rust-cmac-0.5
+ (package
+ (name "rust-cmac")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cmac" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wj2kd4lb5hb7dvxfad4hi8gklmbq8vvvcnzmmqgxr94fx7xxm3k"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crypto-mac" ,rust-crypto-mac-0.10)
+ ("rust-dbl" ,rust-dbl-0.3))))
+ (home-page "https://docs.rs/cmac/")
+ (synopsis "Generic implementation of Cipher-based Message Authentication
+Code")
+ (description "This package provides a pure Rust implementation of the
+Cipher-based Message Authentication Code (CMAC).")
+ (license (list license:expat license:asl2.0)))) ; at your choice
+
(define-public rust-cmake-0.1
(package
(name "rust-cmake")
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 03/26] gnu: Add rust-ctr-0.6.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 01/26] gnu: Add rust-cipher-0.2 Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 02/26] gnu: Add rust-cmac-0.5 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 04/26] gnu: Add rust-dbl-0.3 Hartmut Goebel
` (24 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-ctr-0.6): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 76bcac743b..67905ca766 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6080,6 +6080,31 @@ Transparency logs for use with sct crate.")
"This package provides an @code{__attribute__((constructor))} for Rust.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-ctr-0.6
+ (package
+ (name "rust-ctr")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ctr" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zvyf13675hrlc37myj97k5ng7m1mj3d9p4ic4yvyhvl9zak0jpv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cipher" ,rust-cipher-0.2))))
+ (home-page "https://docs.rs/ctr/")
+ (synopsis "CTR block mode of operation")
+ (description "This package provides a generic implementations of CTR mode
+for block ciphers.
+
+Mode functionality is accessed using traits from re-exported cipher crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ctrlc-3.1
(package
(name "rust-ctrlc")
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 04/26] gnu: Add rust-dbl-0.3.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (2 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 03/26] gnu: Add rust-ctr-0.6 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 05/26] gnu: Add rust-eax-0.3 Hartmut Goebel
` (23 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-dbl-0.3): New varible.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 67905ca766..a837120682 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6448,6 +6448,31 @@ hexadecimal, base32, and base64.")
and arithmetic.")
(license license:expat)))
+(define-public rust-dbl-0.3
+ (package
+ (name "rust-dbl")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dbl" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pihf6zrzncbs3lsyqkzxxxqmjf8rfpwvs1sg8nmz8cv7df18d97"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-generic-array" ,rust-generic-array-0.14))))
+ (home-page "https://docs.rs/dbl")
+ (synopsis "Double operation in Galois Field")
+ (description
+ "This package provides double and inverse double over Galois Field -
+GF(2^n). This trait is implemented for 64, 128 and 256 bit block
+sizes. Big-endian order is used. WARNING: Block must be aligned!")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-decimal-2.0
(package
(name "rust-decimal")
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 05/26] gnu: Add rust-eax-0.3.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (3 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 04/26] gnu: Add rust-dbl-0.3 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 06/26] gnu: Add rust-sha1collisiondetection-0.2 Hartmut Goebel
` (22 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-eax-0.3): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a837120682..d5b805446c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7794,6 +7794,37 @@ floating-point primitives to an @code{io::Write}.")
"This package provides lightweight binding to DirectWrite.")
(license license:mpl2.0)))
+(define-public rust-eax-0.3
+ (package
+ (name "rust-eax")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "eax" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vmpbqncpbj2ldm3fhfz87ija1sk4zk9vad91yd2jjsrbrx6xxz1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-aead" ,rust-aead-0.3)
+ ("rust-cipher" ,rust-cipher-0.2)
+ ("rust-cmac" ,rust-cmac-0.5)
+ ("rust-ctr" ,rust-ctr-0.6)
+ ("rust-subtle" ,rust-subtle-2))))
+ (home-page "https://docs.rs/eax/")
+ (synopsis "Pure Rust implementation of the EAX Authenticated Encryption
+with Associated Data (AEAD)")
+ (description "This package provides a pure Rust implementation of the EAX
+Authenticated Encryption with Associated Data (AEAD) Cipher with optional
+architecture-specific hardware acceleration. This scheme is only based on a
+block cipher. It uses counter mode (CTR) for encryption and CBC mode for
+generating a OMAC/CMAC/CBCMAC (all names for the same thing).")
+ (license (list license:asl2.0 license:expat)))) ; at your choice
+
(define-public rust-ed25519-1
(package
(name "rust-ed25519")
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 06/26] gnu: Add rust-sha1collisiondetection-0.2.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (4 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 05/26] gnu: Add rust-eax-0.3 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 07/26] gnu: Add rust-crypto-mac-0.10 Hartmut Goebel
` (21 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-sha1collisiondetection-0.2): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d5b805446c..9590330036 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27100,6 +27100,36 @@ functionality and without weak references.")
"Assembly implementation of SHA-1 compression function.")
(license license:expat)))
+(define-public rust-sha1collisiondetection-0.2
+ (package
+ (name "rust-sha1collisiondetection")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sha1collisiondetection" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10nh7s3d02136kkz93pxyfv628ls5xz8ndg27pkb6na0ghccz9np"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-digest" ,rust-digest-0.9)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-structopt" ,rust-structopt-0.3))))
+ (home-page "https://docs.rs/sha1collisiondetection")
+ (synopsis "SHA-1 hash function with collision detection and mitigation")
+ (description
+ "This package implementation of the SHA-1 cryptographic hash algorithm.
+
+This is a port of Marc Stevens' sha1collisiondetection algorithm to Rust. The
+code is translated from C to Rust using c2rust.")
+ (license license:expat)))
+
(define-public rust-sha2-0.9
(package
(name "rust-sha2")
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 07/26] gnu: Add rust-crypto-mac-0.10.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (5 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 06/26] gnu: Add rust-sha1collisiondetection-0.2 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 08/26] gnu: Add rust-pin-utils-0.1 Hartmut Goebel
` (20 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-crypto-mac-0.10): New variable.
(rust-crypto-mac-0.8) Inherit from rust-crypto-mac-0.10.
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9590330036..45b4d487d4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5700,10 +5700,10 @@ manipulating terminals.")
around common WinAPI calls.")
(license license:expat)))
-(define-public rust-crypto-mac-0.8
+(define-public rust-crypto-mac-0.10
(package
(name "rust-crypto-mac")
- (version "0.8.0")
+ (version "0.10.0")
(source
(origin
(method url-fetch)
@@ -5711,20 +5711,41 @@ around common WinAPI calls.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1axfs4zmy74rn9666p92j7nmcv11zdp2d51yrppc2dv26cqa715m"))))
+ (base32 "19iyh7h9qaqrv29dhbd31rm6pq023ry78nw7jwr3qjy3l22zsms8"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-blobby" ,rust-blobby-0.1)
- ("rust-generic-array" ,rust-generic-array-0.14)
- ("rust-subtle" ,rust-subtle-2))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-cipher" ,rust-cipher-0.2)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-subtle" ,rust-subtle-2))))
(home-page "https://github.com/RustCrypto/traits")
(synopsis "Trait for Message Authentication Code (MAC) algorithms")
(description "This package provides trait for @dfn{Message Authentication
Code} (MAC) algorithms.")
(license (list license:expat license:asl2.0))))
+(define-public rust-crypto-mac-0.8
+ (package
+ (inherit rust-crypto-mac-0.10)
+ (name "rust-crypto-mac")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crypto-mac" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rbrq6qy9dl0pj4ym2zy33miaaa8vpzdss60p9bdb58xy46l0d24"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.1)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-subtle" ,rust-subtle-2))))))
+
(define-public rust-crypto-mac-0.7
(package
(inherit rust-crypto-mac-0.8)
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 08/26] gnu: Add rust-pin-utils-0.1.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (6 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 07/26] gnu: Add rust-crypto-mac-0.10 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 09/26] gnu: Add rust-pin-project-1, rust-pin-project-internal-1 Hartmut Goebel
` (19 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-pin-utils-0.1): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 45b4d487d4..5e6a9502b3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20435,6 +20435,25 @@ macros")
written with declarative macros.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-pin-utils-0.1
+ (package
+ (name "rust-pin-utils")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pin-utils" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "117ir7vslsl2z1a7qzhws4pd01cg2d3338c47swjyvqv2n60v1wb"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://docs.rs/pin-utils")
+ (synopsis "Utilities for pinning")
+ (description "This package provides utilities for pinning.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pkg-config-0.3
(package
(name "rust-pkg-config")
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 09/26] gnu: Add rust-pin-project-1, rust-pin-project-internal-1.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (7 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 08/26] gnu: Add rust-pin-utils-0.1 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 10/26] gnu: Replace rust-capnp-0.10 by rust-capnp-0.13 Hartmut Goebel
` (18 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* 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
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 10/26] gnu: Replace rust-capnp-0.10 by rust-capnp-0.13.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (8 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 09/26] gnu: Add rust-pin-project-1, rust-pin-project-internal-1 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 11/26] gnu: Replace rust-capnp-futures-0.10 by rust-capnp-futures-0.13 Hartmut Goebel
` (17 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-capnp-0.10): Update to 0.13.6 and rename to
rust-capnp-0.13. [arguments] Add skip-build.
---
gnu/packages/crates-io.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 486402e2b1..ff7e0151ff 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3383,20 +3383,21 @@ directories and @code{CACHEDIR.TAG} files.")
"This package provides a callback-based event loop")
(license license:expat)))
-(define-public rust-capnp-0.10
+(define-public rust-capnp-0.13
(package
(name "rust-capnp")
- (version "0.10.3")
+ (version "0.13.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "capnp" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "17hsnmlcrzksjjpwpz51y8g36xzq8042i2cwns0lsg7rixfw2rxq"))))
+ (base32 "1bx2pj0ysmyd1ryd5s43m3c7n5k067x1aciqiiyg4kjswlcs6xjf"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-futures" ,rust-futures-0.1)
("rust-quickcheck" ,rust-quickcheck-0.2))
#:cargo-development-inputs
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 11/26] gnu: Replace rust-capnp-futures-0.10 by rust-capnp-futures-0.13.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (9 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 10/26] gnu: Replace rust-capnp-0.10 by rust-capnp-0.13 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 12/26] gnu: Replace rust-capnp-rpc-0.10 by rust-capnp-rpc-0.13 Hartmut Goebel
` (16 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-capnp-futures-0.10): Update to 0.13.2 and
rename to (rust-capnp-futures-0.13). [arguments] Add skip-build.
{cargo-inputs}: Update rust-capnp to rust-capnp-0.13.
---
gnu/packages/crates-io.scm | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff7e0151ff..dd35976a71 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3408,24 +3408,25 @@ directories and @code{CACHEDIR.TAG} files.")
encoding.")
(license license:expat)))
-(define-public rust-capnp-futures-0.10
+(define-public rust-capnp-futures-0.13
(package
(name "rust-capnp-futures")
- (version "0.10.1")
+ (version "0.13.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "capnp-futures" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0qdiqkp9mh4acpa0dqhpzv2gwf949rj3m85mgwl1rih6gvgbh1zs"))))
+ (base32 "18q93ncbfcnjq7zhvy9idnifypmi2qcp775q7454y3r4lvvdcyyw"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-capnp" ,rust-capnp-0.10)
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-capnp" ,rust-capnp-0.13)
("rust-futures" ,rust-futures-0.1))
#:cargo-development-inputs
- (("rust-capnp" ,rust-capnp-0.10)
+ (("rust-capnp" ,rust-capnp-0.13)
("rust-quickcheck" ,rust-quickcheck-0.2))))
(home-page "https://github.com/capnproto/capnproto-rust")
(synopsis "Async serialization for Cap'n Proto messages")
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 12/26] gnu: Replace rust-capnp-rpc-0.10 by rust-capnp-rpc-0.13.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (10 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 11/26] gnu: Replace rust-capnp-futures-0.10 by rust-capnp-futures-0.13 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 13/26] gnu: Replace rust-capnpc-0.10 by rust-capnpc-0.13 Hartmut Goebel
` (15 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-capnp-rpc-0.10): Update to 0.13.1 and
rename to rust-capnp-rpc-0.13. [arguments] Add skip-build. {cargo-inputs}:
Update rust-capnp to rust-capnp-0.13. Update rust-capnp-futures to
rust-capnp-futures-0.13.
---
gnu/packages/crates-io.scm | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dd35976a71..7fabf8109f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3434,27 +3434,28 @@ encoding.")
messages.")
(license license:expat)))
-(define-public rust-capnp-rpc-0.10
+(define-public rust-capnp-rpc-0.13
(package
(name "rust-capnp-rpc")
- (version "0.10.0")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "capnp-rpc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1j6xg7yays1hlm1045wviyn1642yvvi2p4kba26yk07a0kafr3jn"))))
+ (base32 "17p0y0yk68pzsnpmaklhiqrrlrrv0ld8nhbg4qflmgibshi8b69p"))))
(build-system cargo-build-system)
(native-inputs
`(("capnproto" ,capnproto)))
(arguments
- `(#:cargo-inputs
- (("rust-capnp" ,rust-capnp-0.10)
- ("rust-capnp-futures" ,rust-capnp-futures-0.10)
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-capnp" ,rust-capnp-0.13)
+ ("rust-capnp-futures" ,rust-capnp-futures-0.13)
("rust-futures" ,rust-futures-0.1))
#:cargo-development-inputs
- (("rust-capnpc" ,rust-capnpc-0.10))))
+ (("rust-capnpc" ,rust-capnpc-0.13))))
(home-page "https://github.com/capnproto/capnproto-rust")
(synopsis "Cap'n Proto remote procedure call protocol implementation")
(description "This package provides an implementation of the Cap'n Proto
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 13/26] gnu: Replace rust-capnpc-0.10 by rust-capnpc-0.13.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (11 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 12/26] gnu: Replace rust-capnp-rpc-0.10 by rust-capnp-rpc-0.13 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 14/26] gnu: Replace rust-win-crypto-ng-0.2 by rust-win-crypto-ng-0.4 Hartmut Goebel
` (14 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-capnpc-0.10): Update to 0.13.1 and rename
to rust-capnpc-0.13. [arguments] Add skip-build. {cargo-inputs}: Update
rust-capnp to rust-capnp-0.13.
---
gnu/packages/crates-io.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7fabf8109f..104e69fc27 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3462,20 +3462,21 @@ messages.")
remote procedure call protocol")
(license license:expat)))
-(define-public rust-capnpc-0.10
+(define-public rust-capnpc-0.13
(package
(name "rust-capnpc")
- (version "0.10.2")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "capnpc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1zxbmdkr0xfzkfq9p8zn7pp9jjq275qhr8fh9a0cc0ab37yfvbyj"))))
+ (base32 "1hbm5xqpam3f0ha5ds39wjmpqpzdalpbrls9wlp7m3slh3p5r1c1"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.10))))
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-capnp" ,rust-capnp-0.13))))
(home-page "https://github.com/capnproto/capnproto-rust")
(synopsis "Cap'n Proto code generation")
(description "Cap'n Proto code generation")
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 14/26] gnu: Replace rust-win-crypto-ng-0.2 by rust-win-crypto-ng-0.4.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (12 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 13/26] gnu: Replace rust-capnpc-0.10 by rust-capnpc-0.13 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 15/26] gnu: rust-proc-macro-hack-0.5: Update to 0.5.19 Hartmut Goebel
` (13 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-win-crypto-ng-0.2): Update to 0.4.0 and
rename to (rust-win-crypto-ng-0.4). [arguments]{cargo-inouts}: Add
rust-cipher.
---
gnu/packages/crates-io.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 104e69fc27..151b18ac2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35032,22 +35032,23 @@ color in a Windows console.")
(license (list license:unlicense
license:expat))))
-(define-public rust-win-crypto-ng-0.2
+(define-public rust-win-crypto-ng-0.4
(package
(name "rust-win-crypto-ng")
- (version "0.2.1")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "win-crypto-ng" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ab0iwl4bmqvysypyn6xgax7rlh3w524jji2y1zfwfpdr7wwyv23"))))
+ (base32 "0v26ssjip8fdilj1j6csnvcny98gb90ra1qlnm2xwjlgivlr5kr4"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-doc-comment" ,rust-doc-comment-0.3)
+ (("rust-cipher" ,rust-cipher-0.2)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-rand-core" ,rust-rand-core-0.5)
("rust-winapi" ,rust-winapi-0.3)
("rust-zeroize" ,rust-zeroize-1))))
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 15/26] gnu: rust-proc-macro-hack-0.5: Update to 0.5.19.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (13 preceding siblings ...)
2020-12-16 20:36 ` [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 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 16/26] gnu: rust-socket2: Update to 0.3.18 Hartmut Goebel
` (12 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-proc-macro-hack-0.5): Update to 0.5.19.
[arguments] Add skip-build.
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 151b18ac2e..7a384bb9df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21268,7 +21268,7 @@ in your code.")
(define-public rust-proc-macro-hack-0.5
(package
(name "rust-proc-macro-hack")
- (version "0.5.16")
+ (version "0.5.19")
(source
(origin
(method url-fetch)
@@ -21276,11 +21276,11 @@ in your code.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1r657v7d9vh1ivrvq65rvg9gjb29dpa0l3zg2fgrn5j8znz5c13y"))))
+ (base32 "1rg0kzsj7lj00qj602d3h77spwfz48vixn1wbjp7a4yrq65w9w6v"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-development-inputs
+ `(#:skip-build? #t
+ #:cargo-development-inputs
(("rust-quote" ,rust-quote-1)
("rust-rustversion" ,rust-rustversion-1)
("rust-syn" ,rust-syn-1)
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 16/26] gnu: rust-socket2: Update to 0.3.18.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (14 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 15/26] gnu: rust-proc-macro-hack-0.5: Update to 0.5.19 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 17/26] gnu: rust-futures-util-0.3: Update to 0.3.8 Hartmut Goebel
` (11 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-socket2): Update to 0.3.18.
[arguments] Add skip-build. {cargo-inputs}: Update rust-cfg-if to
rust-cfg-if-1, remove rust-redox-syscall.
---
gnu/packages/crates-io.scm | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7a384bb9df..c6072639fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27885,22 +27885,21 @@ stack.")
(define-public rust-socket2-0.3
(package
(name "rust-socket2")
- (version "0.3.11")
+ (version "0.3.18")
(source
(origin
(method url-fetch)
(uri (crate-uri "socket2" version))
(file-name (string-append name "-" version ".crate"))
(sha256
- (base32
- "11bdcz04i106g4q7swkll0qxrb4287srqd2k3aq2q6i22zjlvdz8"))))
+ (base32 "0mqh39dkspcz3x11jhck9k2yrbx2krawn7xr3zva8n3lazyykq4p"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; tests require network access
+ `(#:skip-build? #t
+ #:tests? #f ; tests require network access
#:cargo-inputs
- (("rust-cfg-if" ,rust-cfg-if-0.1)
+ (("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2)
- ("rust-redox-syscall" ,rust-redox-syscall-0.1)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir-0.3))))
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 17/26] gnu: rust-futures-util-0.3: Update to 0.3.8.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (15 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 16/26] gnu: rust-socket2: Update to 0.3.18 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 18/26] gnu: rust-futures-0.3: " Hartmut Goebel
` (10 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-futures-util-0.3): Update to 0.3.8,
[arguments] Add skip-build. {cargo-inputs} Add rust-pin-project.
---
gnu/packages/crates-io.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6072639fd..f501757dc3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10405,7 +10405,7 @@ components built off futures-rs.")
(define-public rust-futures-util-0.3
(package
(name "rust-futures-util")
- (version "0.3.1")
+ (version "0.3.8")
(source
(origin
(method url-fetch)
@@ -10414,7 +10414,7 @@ components built off futures-rs.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0xlyqdn6lnpkw27lwxczihx91h64gbdd31n8c8y5v63nzds65mn0"))))
+ "1lnbhpyrypn9giw6122af0pffxfijfz3zm7phrwzp75rlzscy16k"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -10426,6 +10426,7 @@ components built off futures-rs.")
("rust-futures-sink" ,rust-futures-sink-0.3)
("rust-futures-task" ,rust-futures-task-0.3)
("rust-memchr" ,rust-memchr-2)
+ ("rust-pin-project" ,rust-pin-project-1)
("rust-pin-utils" ,rust-pin-utils-0.1)
("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
("rust-proc-macro-nested" ,rust-proc-macro-nested-0.1)
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 18/26] gnu: rust-futures-0.3: Update to 0.3.8.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (16 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 17/26] gnu: rust-futures-util-0.3: Update to 0.3.8 Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 19/26] gnu: rust-futures-channel-0.3: " Hartmut Goebel
` (9 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-futures-0.3): Update to 0.3.8.
[arguments] Add skip-build.
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f501757dc3..e6c52a26fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9937,7 +9937,7 @@ pseudorandom number generator")
(define-public rust-futures-0.3
(package
(name "rust-futures")
- (version "0.3.1")
+ (version "0.3.8")
(source
(origin
(method url-fetch)
@@ -9945,11 +9945,11 @@ pseudorandom number generator")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "11srrbc0hp7pgz142qjfx2z07kfhc98rbfwqyrgm4mxvxib61wdn"))))
+ (base32 "1l434mh7p5na5c3c7lih575hszqc515r9idk62fm5rhz1820qfwv"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f
+ #:skip-build #t
#:cargo-inputs
(("rust-futures-channel" ,rust-futures-channel-0.3)
("rust-futures-core" ,rust-futures-core-0.3)
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 19/26] gnu: rust-futures-channel-0.3: Update to 0.3.8.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (17 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 18/26] gnu: rust-futures-0.3: " Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 20/26] gnu: rust-futures-core-0.3: " Hartmut Goebel
` (8 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-futures-channel-0.3): Update to 0.3.8.
[arguments] Add skip-build.
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6c52a26fd..c9a930a773 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9993,7 +9993,7 @@ featuring zero allocations, composability, and iterator-like interfaces.")
(define-public rust-futures-channel-0.3
(package
(name "rust-futures-channel")
- (version "0.3.1")
+ (version "0.3.8")
(source
(origin
(method url-fetch)
@@ -10001,11 +10001,11 @@ featuring zero allocations, composability, and iterator-like interfaces.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "11lvk749n61654ad40xn751gmxzwb697nwh36s5gs0ni2z59ibpw"))))
+ (base32 "0r7y228kkhwx9jj3ny5ppmw2gvw0capm6ig8dzppgqd4g9l0jwab"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f
+ #:skip-build? #t
#:cargo-inputs
(("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-sink" ,rust-futures-sink-0.3))))
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 20/26] gnu: rust-futures-core-0.3: Update to 0.3.8.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (18 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 19/26] gnu: rust-futures-channel-0.3: " Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 21/26] gnu: rust-futures-executor-0.3: " Hartmut Goebel
` (7 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-futures-core-0.3): Update to 0.3.8.
[arguments] Add skip-build.
---
gnu/packages/crates-io.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c9a930a773..cbefd5992c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10043,7 +10043,7 @@ featuring zero allocations, composability, and iterator-like interfaces.")
(define-public rust-futures-core-0.3
(package
(name "rust-futures-core")
- (version "0.3.1")
+ (version "0.3.8")
(source
(origin
(method url-fetch)
@@ -10051,10 +10051,11 @@ featuring zero allocations, composability, and iterator-like interfaces.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0rh8q6pg08dizk5hwksvjgvkw26s3sr3b199nggv3ypyg914qmkr"))))
+ (base32 "0j0pixxv8dmqas1h5cgy92z4r9lpmnlis8ls22v17yrgnwqy2z44"))))
(build-system cargo-build-system)
- (arguments '(#:tests? #f))
+ (arguments
+ '(#:tests? #f
+ #:skip-build? #t))
(home-page "https://rust-lang-nursery.github.io/futures-rs")
(synopsis "Core traits and types in for the `futures` library")
(description "This package provides the core traits and types in for the
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 21/26] gnu: rust-futures-executor-0.3: Update to 0.3.8.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (19 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 20/26] gnu: rust-futures-core-0.3: " Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 22/26] gnu: rust-futures-io-0.3: " Hartmut Goebel
` (6 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-futures-executor-0.3): Update to 0.3.8.
[arguments] Add skip-build.
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cbefd5992c..b8fca9e415 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10111,7 +10111,7 @@ the computation on the threads themselves.")
(define-public rust-futures-executor-0.3
(package
(name "rust-futures-executor")
- (version "0.3.1")
+ (version "0.3.8")
(source
(origin
(method url-fetch)
@@ -10119,11 +10119,11 @@ the computation on the threads themselves.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0cf24wbgxqh4kdjbb557vk1axzmbpmwb8s05ga1nls1zaqv4f9qy"))))
+ (base32 "0r8ayj6g08d1i0hj2v6g5zr3hzlkxpqlkpf1awq0105qd0mjpajc"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f
+ #:skip-build? #t
#:cargo-inputs
(("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-task" ,rust-futures-task-0.3)
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 22/26] gnu: rust-futures-io-0.3: Update to 0.3.8.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (20 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 21/26] gnu: rust-futures-executor-0.3: " Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 23/26] gnu: rust-futures-macro-0.3: " Hartmut Goebel
` (5 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-futures-io-0.3): Update to 0.3.8.
[arguments] Add skip-build.
---
gnu/packages/crates-io.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b8fca9e415..2b0046ada4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10169,7 +10169,7 @@ library.")
(define-public rust-futures-io-0.3
(package
(name "rust-futures-io")
- (version "0.3.1")
+ (version "0.3.8")
(source
(origin
(method url-fetch)
@@ -10178,8 +10178,9 @@ library.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1zxm41fmkrb0r39ajk3rr9invcd5bdwlafazn8m9aw4y49ymfxp6"))))
+ "1frh7d0n96lczy22al3bkgwpq0p1agbgax5kqh9vv8da33738631"))))
(build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
(home-page "https://rust-lang-nursery.github.io/futures-rs")
(synopsis
"`AsyncRead` and `AsyncWrite` traits for the futures-rs library")
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 23/26] gnu: rust-futures-macro-0.3: Update to 0.3.8.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (21 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 22/26] gnu: rust-futures-io-0.3: " Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 24/26] gnu: rust-futures-sink-0.3: " Hartmut Goebel
` (4 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-futures-macro-0.3): Update to 0.3.8.
[arguments] Add skip-build.
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2b0046ada4..9b5b9a1767 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10212,7 +10212,7 @@ for the futures-rs library.")
(define-public rust-futures-macro-0.3
(package
(name "rust-futures-macro")
- (version "0.3.1")
+ (version "0.3.8")
(source
(origin
(method url-fetch)
@@ -10220,11 +10220,11 @@ for the futures-rs library.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0r3px32wgqfbmfyb1lrj9wplvjris5magdyhfr7xnyjk2mncbrsj"))))
+ (base32 "0mjmb46zapb59iilsbljpj7l0hq6w19df0f03p3br5qz5xlqlh3p"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:skip-build? #t
+ #:cargo-inputs
(("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 24/26] gnu: rust-futures-sink-0.3: Update to 0.3.8.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (22 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 23/26] gnu: rust-futures-macro-0.3: " Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 25/26] gnu: rust-futures-task-0.3: " Hartmut Goebel
` (3 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-futures-sink-0.3): Update to 0.3.8.
[arguments] Add skip-build.
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b5b9a1767..3b1449606f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10296,7 +10296,7 @@ composability, and iterator-like interfaces.")
(define-public rust-futures-sink-0.3
(package
(name "rust-futures-sink")
- (version "0.3.1")
+ (version "0.3.8")
(source
(origin
(method url-fetch)
@@ -10304,9 +10304,9 @@ composability, and iterator-like interfaces.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "05iwskzxq3yqvxv9l1kqnd7kkmp0dwc39fnvwrcjsg76z8zf66qp"))))
+ (base32 "0gfb1z97q861ki6lqsvpgfn3hnm9w3vkrf82dc00xrff95d1jy7q"))))
(build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
(home-page "https://rust-lang-nursery.github.io/futures-rs")
(synopsis "Asynchronous `Sink` trait for the futures-rs library")
(description "This package provides the asynchronous @code{Sink} trait for
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 25/26] gnu: rust-futures-task-0.3: Update to 0.3.8.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (23 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 24/26] gnu: rust-futures-sink-0.3: " Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-16 20:36 ` [bug#45276] [PATCH 26/26] gnu: sequoia: Update to 1.0.0 Hartmut Goebel
` (2 subsequent siblings)
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/crates-io.scm (rust-futures-task-0.3): Update to 0.3.8.
[arguments] Add skip-build, cargo-inputs.
---
gnu/packages/crates-io.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3b1449606f..3925025eb0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10340,7 +10340,7 @@ futures-rs library.")
(define-public rust-futures-task-0.3
(package
(name "rust-futures-task")
- (version "0.3.1")
+ (version "0.3.8")
(source
(origin
(method url-fetch)
@@ -10348,10 +10348,12 @@ futures-rs library.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1yg5d7b3z58mhqbrax5a0qdsfvzfclwyqvw5k3i41x4wnbb55bhb"))))
+ (base32 "03ad39v8scy353src2f9dkkvcs24n736iavi8xn45cj8pyslwmbw"))))
(build-system cargo-build-system)
- (arguments '(#:tests? #f))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-once-cell" ,rust-once-cell-1))))
(home-page "https://rust-lang-nursery.github.io/futures-rs")
(synopsis "Tools for working with tasks")
(description "Tools for working with tasks.")
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 26/26] gnu: sequoia: Update to 1.0.0.
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (24 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 25/26] gnu: rust-futures-task-0.3: " Hartmut Goebel
@ 2020-12-16 20:36 ` Hartmut Goebel
2020-12-17 15:01 ` [bug#45276] [PATCH 00/26] Update sequoia-opengpg " Nicolas Goaziou
[not found] ` <handler.45276.B.160815072411765.ack@debbugs.gnu.org>
27 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-16 20:36 UTC (permalink / raw)
To: 45276
* gnu/packages/sequoia.scm (sequoia): Update to 1.0.0.
[arguments]{cargo-inputs}: Add rust-eax, rust-futures-util,
rust-sha1collisiondetection, rust-socket2. Update rust-capnp, rust-capnp-rpc,
rust-capnpc, rust-futures, rust-http,rust-hyper rust-hyper-tls, rust-tokio,
rust-win-crypto-ng.
---
gnu/packages/sequoia.scm | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 6550a71a1a..a16b59227e 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -40,7 +40,7 @@
(define-public sequoia
(package
(name "sequoia")
- (version "0.20.0")
+ (version "1.0.0")
(source
(origin
(method git-fetch)
@@ -48,7 +48,7 @@
(url "https://gitlab.com/sequoia-pgp/sequoia.git")
(commit (string-append "v" version))))
(sha256
- (base32 "1c76sz4y0n4jhf1gq4b87v5c07i09mmd3i6sqki09bd96m3ldgkf"))
+ (base32 "0y80bl786m29ww3272qsl1ql0xc3pwd6iiqlkv3nmhnjsmygbn0d"))
(file-name (git-file-name name version))))
(build-system cargo-build-system)
(outputs '("out" "python"))
@@ -75,9 +75,9 @@
("rust-base64" ,rust-base64-0.13)
;;("rust-buffered-reader" included
("rust-bzip2" ,rust-bzip2-0.4)
- ("rust-capnp" ,rust-capnp-0.10)
- ("rust-capnp-rpc" ,rust-capnp-rpc-0.10)
- ("rust-capnpc" ,rust-capnpc-0.10)
+ ("rust-capnp" ,rust-capnp-0.13)
+ ("rust-capnp-rpc" ,rust-capnp-rpc-0.13)
+ ("rust-capnpc" ,rust-capnpc-0.13)
("rust-chrono" ,rust-chrono-0.4) ;; for sqv, sop
("rust-clap" ,rust-clap-2) ;; for sqv
("rust-colored" ,rust-colored-1.9.1)
@@ -86,14 +86,16 @@
("rust-dirs" ,rust-dirs-2.0)
("rust-dyn-clone" ,rust-dyn-clone-1)
("rust-ed25519-dalek" ,rust-ed25519-dalek-1)
+ ("rust-eax" ,rust-eax-0.3)
;;("rust-failure" included
("rust-filetime" ,rust-filetime-0.2)
("rust-flate2" ,rust-flate2-1)
("rust-fs2" ,rust-fs2-0.4)
- ("rust-futures" ,rust-futures-0.1)
- ("rust-http" ,rust-http-0.1)
- ("rust-hyper" ,rust-hyper-0.12)
- ("rust-hyper-tls" ,rust-hyper-tls-0.3)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-hyper" ,rust-hyper-0.13)
+ ("rust-hyper-tls" ,rust-hyper-tls-0.4)
("rust-idna" ,rust-idna-0.2)
("rust-itertools" ,rust-itertools-0.9) ;; for sq
("rust-lalrpop" ,rust-lalrpop-0.19)
@@ -112,14 +114,16 @@
("rust-rand" ,rust-rand-0.7)
("rust-regex" ,rust-regex-1)
("rust-rusqlite" ,rust-rusqlite-0.24)
+ ("rust-sha1collisiondetection" ,rust-sha1collisiondetection-0.2)
+ ("rust-socket2", rust-socket2-0.3)
("rust-structopt" ,rust-structopt-0.3) ;; for sop
("rust-tempfile" ,rust-tempfile-3) ;; for sq
("rust-thiserror" ,rust-thiserror-1)
- ("rust-tokio" ,rust-tokio-0.1)
+ ("rust-tokio" ,rust-tokio-0.2)
("rust-tokio-core" ,rust-tokio-core-0.1)
("rust-unicode-normalization" ,rust-unicode-normalization-0.1)
("rust-url" ,rust-url-2)
- ("rust-win-crypto-ng" ,rust-win-crypto-ng-0.2)
+ ("rust-win-crypto-ng" ,rust-win-crypto-ng-0.4)
("rust-winapi" ,rust-winapi-0.3)
("rust-zbase32" ,rust-zbase32-0.1))
#:cargo-development-inputs
--
2.21.3
^ permalink raw reply related [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0
2020-12-16 20:31 [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
` (25 preceding siblings ...)
2020-12-16 20:36 ` [bug#45276] [PATCH 26/26] gnu: sequoia: Update to 1.0.0 Hartmut Goebel
@ 2020-12-17 15:01 ` Nicolas Goaziou
2020-12-17 16:05 ` Hartmut Goebel
[not found] ` <handler.45276.B.160815072411765.ack@debbugs.gnu.org>
27 siblings, 1 reply; 38+ messages in thread
From: Nicolas Goaziou @ 2020-12-17 15:01 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 45276
Hello,
Hartmut Goebel <h.goebel@crazy-compilers.com> writes:
> v1.0.0 was released just today. Here is the update :-)
Thank you.
I think the big warning in rust-dbl-0.3's description could be removed.
Also, I notice you often skip builds, even though this is not required.
E.g., I could build rust-pin-utils-0.1 without any problem just removing
the #:skip-build keyword. I think the trend is use #:skip-build only
when absolutely necessary.
Finally, I wonder if replacements, e.g., rust-capnp-futures-0.10 by
rust-capnp-futures-0.13, require to remove the old variable. It could be
used out of the code base.
WDYT?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0
2020-12-17 15:01 ` [bug#45276] [PATCH 00/26] Update sequoia-opengpg " Nicolas Goaziou
@ 2020-12-17 16:05 ` Hartmut Goebel
2020-12-17 20:08 ` Efraim Flashner
0 siblings, 1 reply; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-17 16:05 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: 45276
Hi Nicolas,
>
> I think the big warning in rust-dbl-0.3's description could be removed.
Fine for me. will do.
> Also, I notice you often skip builds, even though this is not required.
> E.g., I could build rust-pin-utils-0.1 without any problem just removing
> the #:skip-build keyword. I think the trend is use #:skip-build only
> when absolutely necessary.
Building crate "libraries" is of no use. Rust still has no notion of
"libraries", neither shared not static. it does not even provide any
means to use "object"-files from another package. All crates will be
build again and again for each package using it. And you will notice
that the output of most crates will be almost empty (only exception: if
the crate build a program).
This is why the crates importer sets skip-build for all packages it
imports as dependencies. (It also does not add the
crate-build-dependencies for these packages.)
> Finally, I wonder if replacements, e.g., rust-capnp-futures-0.10 by
> rust-capnp-futures-0.13, require to remove the old variable. It could be
> used out of the code base.
We are lacking a common practice on this yet. IMO it does not make much
sense to provide packages for old crates. crates are using semantic
versioning, so in the long run we might end up maintaining hundreds of
old packages.
Concrete for this bunch of packages: These have been added by myself
when packaging sequoia last April. So maybe thos turns the balance :-)
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0
2020-12-17 16:05 ` Hartmut Goebel
@ 2020-12-17 20:08 ` Efraim Flashner
2020-12-18 18:08 ` Discussion: How to package rust crates now and in future? Hartmut Goebel
2021-01-06 18:05 ` [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
0 siblings, 2 replies; 38+ messages in thread
From: Efraim Flashner @ 2020-12-17 20:08 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 45276
[-- Attachment #1: Type: text/plain, Size: 2340 bytes --]
On Thu, Dec 17, 2020 at 05:05:58PM +0100, Hartmut Goebel wrote:
> Hi Nicolas,
> >
> > I think the big warning in rust-dbl-0.3's description could be removed.
>
> Fine for me. will do.
>
>
> > Also, I notice you often skip builds, even though this is not required.
> > E.g., I could build rust-pin-utils-0.1 without any problem just removing
> > the #:skip-build keyword. I think the trend is use #:skip-build only
> > when absolutely necessary.
>
> Building crate "libraries" is of no use. Rust still has no notion of
> "libraries", neither shared not static. it does not even provide any means
> to use "object"-files from another package. All crates will be build again
> and again for each package using it. And you will notice that the output of
> most crates will be almost empty (only exception: if the crate build a
> program).
>
> This is why the crates importer sets skip-build for all packages it imports
> as dependencies. (It also does not add the crate-build-dependencies for
> these packages.)
I'm in favor of building the packages anyway, it serves as a check that
the inputs are actually correct.
> > Finally, I wonder if replacements, e.g., rust-capnp-futures-0.10 by
> > rust-capnp-futures-0.13, require to remove the old variable. It could be
> > used out of the code base.
>
> We are lacking a common practice on this yet. IMO it does not make much
> sense to provide packages for old crates. crates are using semantic
> versioning, so in the long run we might end up maintaining hundreds of old
> packages.
>
> Concrete for this bunch of packages: These have been added by myself when
> packaging sequoia last April. So maybe thos turns the balance :-)
>
As long as you're sure there's nothing else in tree that's depending on
it, I suppose it's ok to remove them. I view it similarly when I clean
up package names to drop not significant digits from the versioning in
the name, ie rust-slog-2.5 -> rust-slog-2.
If the rust ecosystem slows down some I'd be happy to keep more versions
but it's already one of the largest package modules we have.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 38+ messages in thread
* Discussion: How to package rust crates now and in future?
2020-12-17 20:08 ` Efraim Flashner
@ 2020-12-18 18:08 ` Hartmut Goebel
2020-12-18 18:26 ` John Soo
2020-12-19 6:42 ` Pjotr Prins
2021-01-06 18:05 ` [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0 Hartmut Goebel
1 sibling, 2 replies; 38+ messages in thread
From: Hartmut Goebel @ 2020-12-18 18:08 UTC (permalink / raw)
To: Efraim Flashner, guix-devel; +Cc: Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 3760 bytes --]
Hi,
I suggest to discuss this with a broader community.
*TIL: Shall rust packages be packaged with #:skip-build #t? Shall tests
be run for all crates?*
*My vote: skip-build #t, no tests*
Background: I just submitted some patches for some crates, setting
#:skip-build for those I touched or added. My rational:
1) Building crate "libraries" is of no use. Rust still has no notion of
"libraries", neither shared not static. it does not even provide any
means to use "object"-files from another package. All crates will be
build again and again for each package using it. And you will notice
that the output of most crates will be almost empty (only exception: if
the crate build a program).
2) This is what the crates importer does: It sets skip-build for all
packages it imports as dependencies. It also does not add the
crate-build-dependencies for these packages. (Please note that while I
made the crates importer to honor semver versions, this has already been
prepared in other patches and was not argued about.
Am 17.12.20 um 21:08 schrieb Efraim Flashner:
> I'm in favor of building the packages anyway, it serves as a check that
> the inputs are actually correct.
When I started packaging crates, I did this too. But then I learned,
that others do not. So we should define how this should be handled in
the future - and adjust the importer accordingly.
This might not be possible - as there is another issue in the Rust
ecosystem: The language is still moving fast.
3) If some packages requires rustc 1.46, while our default rustc is
still 1.40, we need to add rustc-1.46 as an input to this package and to
many of it's dependents. (AFAIR the package will even depend on *both*
version then.) Now if we move on to rustc 1.50, extra care has to be
taken to remove these dependencies.
Even worse: All packages depending on such a package on will also depend
on rustc 1.46, and all changes to rustc 1.46 will trigger a rebuild -
without *any* use.
4) Since (2) building rust packages costs *a lot* of resources: time,
memory and electrical power. As an example, building sequoia takes about
20 Minutes on my machine. Most of the time is spend compiling
dependencies of dependencies. And all these dependencies of dependencies
will be compiled over and over again.
5) *If* we decide to build dependencies, we should restrict this to
*one* build. This means: either not run the tests or only do a test
build. The reason is: When running the tests, all the code, including
the dependencies, is compiled again with some "test" flag set. This will
add yet another huge amount of time, memory and electrical power.
To give you some figure: A release and test build for sequoia takes
about 45 minutes on my machine, requiring 9 GB of space in /tmp. So this
is double the time if the release build only.
I can't imaging how many hours it would take to rebuild sequoia is one
of the lower level dependencies changes - which is quite often the case
in rust.
6) This not only effect berlin, but also every user out there requiring
a rebuild for some reason. This will lead to a very, very bad user
experience - practically kicking out users with less powerful equipment.
7) Given the rushing climate crisis, we MUST NOT waste this gigantic
amount of electrical power. We are in a position of huge impact. If we
decide to save power, hundreds of Guix users will save power (and
money). If we decide to waste power, this will multiply by the number of
Guix users.
*It's our responsibility to protect the earth!**Yes to #:skip-build #t.*
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
[-- Attachment #2: Type: text/html, Size: 5235 bytes --]
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Discussion: How to package rust crates now and in future?
2020-12-18 18:08 ` Discussion: How to package rust crates now and in future? Hartmut Goebel
@ 2020-12-18 18:26 ` John Soo
2021-01-02 12:53 ` Hartmut Goebel
2020-12-19 6:42 ` Pjotr Prins
1 sibling, 1 reply; 38+ messages in thread
From: John Soo @ 2020-12-18 18:26 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: Guix-Devel, Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 357 bytes --]
Hey Hartmut,
I’m not sure which way I fall here. I think probably keepijg ci on for most crates makes sense if we can work instead towards real shared libraries.
In any case, I would like to propose a working group for rust. Perhaps we can meet monthly in jitsi or elsewhere.
What do you think?
- John
[-- Attachment #2: Type: text/html, Size: 429 bytes --]
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Discussion: How to package rust crates now and in future?
2020-12-18 18:26 ` John Soo
@ 2021-01-02 12:53 ` Hartmut Goebel
0 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2021-01-02 12:53 UTC (permalink / raw)
To: John Soo; +Cc: Guix-Devel, Nicolas Goaziou
Am 18.12.20 um 19:26 schrieb John Soo:
> I think probably keepijg ci on for most crates makes sense if we can
> work instead towards real shared libraries.
This discussion (FMPOV) is about how handle crates until rust supports
(static or shared) libraries.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Discussion: How to package rust crates now and in future?
2020-12-18 18:08 ` Discussion: How to package rust crates now and in future? Hartmut Goebel
2020-12-18 18:26 ` John Soo
@ 2020-12-19 6:42 ` Pjotr Prins
2021-01-02 12:50 ` Hartmut Goebel
1 sibling, 1 reply; 38+ messages in thread
From: Pjotr Prins @ 2020-12-19 6:42 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: guix-devel, Nicolas Goaziou
Hi Hartmut,
We are using Rust from Guix and just a few comments/thoughts:
On Fri, Dec 18, 2020 at 07:08:24PM +0100, Hartmut Goebel wrote:
> Hi,
>
> I suggest to discuss this with a broader community.
>
> TIL: Shall rust packages be packaged with #:skip-build #t? Shall tests
> be run for all crates?
>
> My vote: skip-build #t, no tests
>
> Background: I just submitted some patches for some crates, setting
> #:skip-build for those I touched or added. My rational:
>
> 1) Building crate "libraries" is of no use. Rust still has no notion of
> "libraries", neither shared not static. it does not even provide any
> means to use "object"-files from another package. All crates will be
> build again and again for each package using it. And you will notice
> that the output of most crates will be almost empty (only exception: if
> the crate build a program).
You probably know this, but for the benefit of others: Rust builds
static binaries from source. That is their 'philosophy', see
https://rust-cli.github.io/book/tutorial/packaging.html
This goes against the grain of Unix shared libraries. Building all
crates is what Rust does. Correct me if I am wrong.
They are talking about librification of the language
https://rust-lang.github.io/compiler-team/minutes/design-meeting/2020-03-12-shared-library-for-types/
which may lead to a wider idea of libraries.
> 2) This is what the crates importer does: It sets skip-build for all
> packages it imports as dependencies. It also does not add the
> crate-build-dependencies for these packages. (Please note that while I
> made the crates importer to honor semver versions, this has already
> been prepared in other patches and was not argued about.
>
> Am 17.12.20 um 21:08 schrieb Efraim Flashner:
>
> I'm in favor of building the packages anyway, it serves as a check that
> the inputs are actually correct.
>
> When I started packaging crates, I did this too. But then I learned,
> that others do not. So we should define how this should be handled in
> the future - and adjust the importer accordingly.
>
> This might not be possible - as there is another issue in the Rust
> ecosystem: The language is still moving fast.
>
> 3) If some packages requires rustc 1.46, while our default rustc is
> still 1.40, we need to add rustc-1.46 as an input to this package and
> to many of it's dependents. (AFAIR the package will even depend on
> *both* version then.) Now if we move on to rustc 1.50, extra care has
> to be taken to remove these dependencies.
>
> Even worse: All packages depending on such a package on will also
> depend on rustc 1.46, and all changes to rustc 1.46 will trigger a
> rebuild - without *any* use.
The language may still be changing - but I think it has gotten to the
point that they can't change too much without hurting large software
projects. It probably is a bad idea to mix different compilers to
build crates in one software stack. Maybe I am misreading your idea,
but we either have a 1.40 build or a 1.46 build.
> 4) Since (2) building rust packages costs *a lot* of resources: time,
> memory and electrical power. As an example, building sequoia takes
> about 20 Minutes on my machine. Most of the time is spend compiling
> dependencies of dependencies. And all these dependencies of
> dependencies will be compiled over and over again.
>
> 5) *If* we decide to build dependencies, we should restrict this to
> *one* build. This means: either not run the tests or only do a test
> build. The reason is: When running the tests, all the code, including
> the dependencies, is compiled again with some "test" flag set. This
> will add yet another huge amount of time, memory and electrical power.
>
> To give you some figure: A release and test build for sequoia takes
> about 45 minutes on my machine, requiring 9 GB of space in /tmp. So
> this is double the time if the release build only.
>
> I can't imaging how many hours it would take to rebuild sequoia is one
> of the lower level dependencies changes - which is quite often the case
> in rust.
>
> 6) This not only effect berlin, but also every user out there requiring
> a rebuild for some reason. This will lead to a very, very bad user
> experience - practically kicking out users with less powerful
> equipment.
The Rust user experience is that Rust builds all crates or installs a
single (static) binary. Even for Guix developers, the default is to
use cargo because of the insane number of dependencies it typically
pulls in. We package dependencies when we want to deploy, not to
develop.
The user here is a guix user, of course. So between compiler versions
we rebuild the stack and then distribute binaries. No rebuilds get
triggered normally. I think the use case you are referring to is users
as developers (right?) who are actually used to waiting for cargo. I
wait for cargo when I start a new Guix development environment.
Still, it is a relief that cargo does not distribute binaries. They
have not gotten there yet :)
> 7) Given the rushing climate crisis, we MUST NOT waste this gigantic
> amount of electrical power. We are in a position of huge impact. If we
> decide to save power, hundreds of Guix users will save power (and
> money). If we decide to waste power, this will multiply by the number
> of Guix users.
>
> It's our responsibility to protect the earth! Yes to #:skip-build #t.
It is. I said so years ago for the insane time we wait for tests to
pass with many packages.
I think a super fast build/deploy system for Rust would be fantastic
and an *advertisement* for Rust developers to opt for Guix instead of
them rolling out their own solutions. So, if we can come up with a
solution that is not contrarian to the philosophy of Guix I am all for
that!!
Pj.
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Discussion: How to package rust crates now and in future?
2020-12-19 6:42 ` Pjotr Prins
@ 2021-01-02 12:50 ` Hartmut Goebel
0 siblings, 0 replies; 38+ messages in thread
From: Hartmut Goebel @ 2021-01-02 12:50 UTC (permalink / raw)
To: Pjotr Prins; +Cc: guix-devel, Nicolas Goaziou
Hi Pjotr,
Am 19.12.20 um 07:42 schrieb Pjotr Prins:
> They are talking about librification of the language
> https://rust-lang.github.io/compiler-team/minutes/design-meeting/2020-03-12-shared-library-for-types/
> which may lead to a wider idea of libraries.
For your needs static libraries would suffice. Anyway: Unfortunately
this feature did not make i to the 2021 roadmap, AFAICS.
I'd be happy enable building crates when rust has some notion of
library. Until then I strongly propose to not build intermediate creates
per default.
> The language may still be changing - but I think it has gotten to the
> point that they can't change too much without hurting large software
> projects. It probably is a bad idea to mix different compilers to
> build crates in one software stack. Maybe I am misreading your idea,
> but we either have a 1.40 build or a 1.46 build.
Unfortunately this is not just an idea, but a sad reality :-( As of
today, the rust used by cargo-build-system is still 1.45, while some
crates (e.g. sequoia) require 1.46 language features. So in fact we
already/currently have a mixed stack. Maybe this is just since nobody
did update default rust to rust 1.46?!
Anyhow, my argument about rebuilding without any use still holds: When
upgrading rust, all crates will be be rebuild (which is part of guix's
concept) and the results are thrown away right away - which is a wast of
time and electrical power.
>> 6) This not only effect berlin, but also every user out there requiring
>> a rebuild for some reason. This will lead to a very, very bad user
>> experience - practically kicking out users with less powerful
>> equipment.
> The Rust user experience is that Rust builds all crates or installs a
> single (static) binary. Even for Guix developers, the default is to
> use cargo because of the insane number of dependencies it typically
> pulls in. We package dependencies when we want to deploy, not to
> develop.
I assume you are referring "Rust user" to someone using rust for
developing some rust software? I'm referring "user" to someone using
Guix for managing their system.
> The user here is a guix user, of course. So between compiler versions
> we rebuild the stack and then distribute binaries. No rebuilds get
> triggered normally. I think the use case you are referring to is users
> as developers (right?) who are actually used to waiting for cargo. I
> wait for cargo when I start a new Guix development environment.
FMPOV there is not much difference between a user and a developer here:
If substitutes are not available, a user - and this includes developers
- needs to build the packages. And even as a developer I don't want to
build the whole stack myself, but use substitutes - like I want to use
pre-built libraries for other languages.
My point is another one: While for programming languages supporting
(static) libraries the number of compiles is O(n), for rust – assuming
#:skip-build #f – it is O(n*(num_average_dependencies+1)) - since each
crate needs to compile all of its dependencies, even if 20 other creates
did this already.
To give you some numbers: sequoia 0.20.0, while directly depending on
only 55 crates, pulls in more then 430 crates (in words: four hundred
and thirty) and compiles about 280 (in words: two hundred and eighty),
including some duplicates compiles. Assuming each package depends on one
other crate (which is a low assumption), this will be 2*n=860 compiles.
Assuming each compile takes 30 seconds, and half of the packages need
rebuild, this is more the 3,5 hours - right away into the trashcan.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 38+ messages in thread
* [bug#45276] [PATCH 00/26] Update sequoia-opengpg to 1.0.0
2020-12-17 20:08 ` Efraim Flashner
2020-12-18 18:08 ` Discussion: How to package rust crates now and in future? Hartmut Goebel
@ 2021-01-06 18:05 ` Hartmut Goebel
2021-01-06 19:37 ` Leo Famulari
1 sibling, 1 reply; 38+ messages in thread
From: Hartmut Goebel @ 2021-01-06 18:05 UTC (permalink / raw)
To: Efraim Flashner, Nicolas Goaziou; +Cc: 45276
The discussion about how to package crates did not got an actual
momentum. Also this will become a topic on Guix day, which is in 4 weeks
time.
I don't want to have this path hanging around that long. Thus I propose:
For this patch:
- For updated packages and packages where a new semver-version was
added, #:skip-build will be kept.
- For newly added packages the value set by the crate importer will be
used (which is #:skip-build #t)
WDYT? If you agree, I'm going to update the patches and commit.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 38+ messages in thread
[parent not found: <handler.45276.B.160815072411765.ack@debbugs.gnu.org>]