[PATCH 01/49] gnu: Add rust-rustc-hex 2.1.0 and 1.0.0.

  • Done
  • quality assurance status badge
Details
One participant
  • Attila Lendvai
Owner
unassigned
Submitted by
Attila Lendvai
Severity
normal
A
A
Attila Lendvai wrote on 20 Jan 2022 22:41
(address . guix-patches@gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120214229.22377-1-attila@lendvai.name
---

this will be a larger series of rust packages that are part of the
dependencies of openethereum. my ultimate goal is to package
openethereum, but it's already so many commits that i'm sending
them ahead as per Ludo's recommendation.

note that i'm not a rust expert, but i tried to make sure that
every package builds fine, and that the order of the commits
matches the order of the dependencies.

the tests are disabled for some packages because they fail. to my
untrained eyes they all looked like incompatibilities (bitrot),
not actual errors.

also note that i have no intuition when/why to use #:skip-build? #t.

gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ffee43e716..b840cb1d2a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46028,6 +46028,39 @@ (define-public rust-rustc-hash-1
"This package provides a speedy, non-cryptographic hash used in rustc.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-rustc-hex-2
+ (package
+ (name "rust-rustc-hex")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-hex" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1mkjy2vbn5kzg67wgngwddlk4snmd8mkjkql2dzrzzfh6ajzcx9y"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/debris/rustc-hex")
+ (synopsis "@code{rustc-serialize} compatible hex conversion traits")
+ (description synopsis)
+ (license (list license:asl2.0 license:expat))))
+
+(define-public rust-rustc-hex-1
+ (package
+ (inherit rust-rustc-hex-2)
+ (name "rust-rustc-hex")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-hex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07pff94vqc1mhrqp9i06xzayiad4xfx7588zkqsdw875lpkqrsqc"))))))
+
(define-public rust-rustc-rayon-0.3
(package
(name "rust-rustc-rayon")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:49
[PATCH 02/49] gnu: Add rust-parity-bytes 0.1.2.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-2-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-parity-bytes): New variable.
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

Toggle diff (31 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b840cb1d2a..cab1ca4faa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36382,6 +36382,24 @@ (define-public rust-parasailors-0.3
sequence alignment tools.")
(license license:expat)))
+(define-public rust-parity-bytes
+ (package
+ (name "rust-parity-bytes")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "parity-bytes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rww406dih6yxr4iadz7l07sibklqywxz10gjzdqn4r04hx6xd8n"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "General bytes-related utilities used in Parity Technologies projects")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-parity-tokio-ipc-0.4
(package
(name "rust-parity-tokio-ipc")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:49
[PATCH 03/49] gnu: Add rust-ethereum-types 0.9.2 and 0.12.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-3-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-ethereum-types-0.9): New variable.
(rust-ethereum-types-0.12): New variable.
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)

Toggle diff (49 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cab1ca4faa..bc9492bdec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18274,6 +18274,42 @@ (define-public rust-escargot-0.3
(("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-ethereum-types-0.12
+ (package
+ (name "rust-ethereum-types")
+ (version "0.12.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ethereum-types" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bxxacsmb9majw7vd4sndv4dhw3g9srhf7flwq39yy7yaxq6y4q5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "Crate used in Parity Technologies projects")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-ethereum-types-0.9
+ (package
+ (inherit rust-ethereum-types-0.12)
+ (name "rust-ethereum-types")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ethereum-types" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1c1l2sg6li301izl4nzkkfrpc8snafxwnr81vfwygn3bd3zyqfj7"))))))
+
(define-public rust-event-listener-2
(package
(name "rust-event-listener")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 04/49] gnu: Add rust-block-buffer-0.10.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-4-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-block-buffer-0.10): New variable.
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++-------
1 file changed, 24 insertions(+), 7 deletions(-)

Toggle diff (60 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bc9492bdec..dbe218ddb3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6551,10 +6551,10 @@ (define-public rust-block-0.1
extension of blocks.")
(license license:expat)))
-(define-public rust-block-buffer-0.9
+(define-public rust-block-buffer-0.10
(package
(name "rust-block-buffer")
- (version "0.9.0")
+ (version "0.10.0")
(source
(origin
(method url-fetch)
@@ -6563,18 +6563,35 @@ (define-public rust-block-buffer-0.9
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1r4pf90s7d7lj1wdjhlnqa26vvbm6pnc33z138lxpnp9srpi2lj1"))))
+ "15cbh9jbcfcbbi863dlmamjka2f8l55ld915vr0b0xlf0l16mlzi"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-block-padding" ,rust-block-padding-0.2)
- ("rust-generic-array" ,rust-generic-array-0.14))))
+ (("rust-generic-array" ,rust-generic-array-0.14))))
(home-page "https://github.com/RustCrypto/utils")
(synopsis "Fixed size buffer for block processing of data")
- (description
- "Fixed size buffer for block processing of data.")
+ (description synopsis)
(license (list license:expat license:asl2.0))))
+(define-public rust-block-buffer-0.9
+ (package
+ (inherit rust-block-buffer-0.10)
+ (name "rust-block-buffer")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "block-buffer" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1r4pf90s7d7lj1wdjhlnqa26vvbm6pnc33z138lxpnp9srpi2lj1"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-block-padding" ,rust-block-padding-0.2)
+ ("rust-generic-array" ,rust-generic-array-0.14))))))
+
(define-public rust-block-buffer-0.8
(package
(inherit rust-block-buffer-0.9)
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 05/49] gnu: Add rust-crypto-common-0.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-5-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-crypto-common-0.1): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dbe218ddb3..4e4782b262 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13025,6 +13025,30 @@ (define-public rust-rusticata-macros-3
(description "Helper macros for Rusticata")
(license (list license:expat license:asl2.0))))
+(define-public rust-crypto-common-0.1
+ (package
+ (name "rust-crypto-common")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crypto-common" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1l4q4ync13i056vjc775v0za8qh987da7yvrjj25q909cd9nngb8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-rand-core" ,rust-rand-core-0.6))))
+ (home-page "https://github.com/RustCrypto/traits")
+ (synopsis "Common cryptographic traits")
+ (description "Common traits used by cryptographic algorithms.
+Users should generally use higher-level trait crates instead of this one.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-crypto-mac-0.11
(package
(name "rust-crypto-mac")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 06/49] gnu: rust-subtle: Update to 2.4.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-6-attila@lendvai.name
---
gnu/packages/crates-io.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

Toggle diff (28 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4e4782b262..a7fbc086b0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53723,7 +53723,7 @@ (define-public rust-strum-macros-0.18
(define-public rust-subtle-2
(package
(name "rust-subtle")
- (version "2.2.3")
+ (version "2.4.1")
(source
(origin
(method url-fetch)
@@ -53732,8 +53732,11 @@ (define-public rust-subtle-2
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1h9jd7v0imksyl5mvnjk2rw54sa3xrril76z0md61mq2gh056bah"))))
+ "00b6jzh9gzb0h9n25g06nqr90z3xzqppfhhb260s1hjhh4pg7pkb"))))
(build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-rand" ,rust-rand-0.7))))
(home-page "https://dalek.rs/")
(synopsis
"Pure-Rust traits and utilities for cryptographic implementations")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 07/49] gnu: Add rust-digest-0.10 0.10.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-7-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-digest-0.10): New variable.
---
gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++-------
1 file changed, 29 insertions(+), 7 deletions(-)

Toggle diff (65 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a7fbc086b0..3e72fcef95 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15800,10 +15800,10 @@ (define-public rust-diffus-derive-0.10
any data structure. Supports derive on structs and enums.")
(license license:asl2.0)))
-(define-public rust-digest-0.9
+(define-public rust-digest-0.10
(package
(name "rust-digest")
- (version "0.9.0")
+ (version "0.10.1")
(source
(origin
(method url-fetch)
@@ -15812,18 +15812,40 @@ (define-public rust-digest-0.9
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
+ "16wpqnwlzx0lbnwccwikns7dq8fblcc6kma2l7xz8anlh5hdd5xn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-blobby" ,rust-blobby-0.1)
- ("rust-generic-array" ,rust-generic-array-0.14))))
+ (("rust-crypto-common" ,rust-crypto-common-0.1)
+ ("rust-blobby" ,rust-blobby-0.3)
+ ("rust-block-buffer" ,rust-block-buffer-0.10)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-subtle" ,rust-subtle-2))))
(home-page "https://github.com/RustCrypto/traits")
(synopsis "Traits for cryptographic hash functions")
- (description
- "Traits for cryptographic hash functions.")
+ (description synopsis)
(license (list license:expat license:asl2.0))))
+(define-public rust-digest-0.9
+ (package
+ (inherit rust-digest-0.10)
+ (name "rust-digest")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "digest" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-blobby" ,rust-blobby-0.1)
+ ("rust-generic-array" ,rust-generic-array-0.14))))))
+
(define-public rust-digest-0.8
(package
(inherit rust-digest-0.9)
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 08/49] gnu: Add rust-base64ct-1 1.3.3.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-8-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-base64ct-1): New variable.
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3e72fcef95..32873c8eea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4966,6 +4966,30 @@ (define-public rust-base64-0.6
(("rust-byteorder" ,rust-byteorder-1)
("rust-safemem" ,rust-safemem-0.2))))))
+(define-public rust-base64ct-1
+ (package
+ (name "rust-base64ct")
+ (version "1.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "base64ct" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1818i0gpg7q35s6yglmhgciwi3jwx65mqc2ipjl54jfbmm288kw7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-development-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-proptest" ,rust-proptest-1))))
+ (home-page "https://github.com/marshallpierce/rust-base64")
+ (synopsis "Encodes and decodes base64 as bytes or utf8")
+ (description
+ "This package encodes and decodes base64 as bytes or utf8.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-base-x-0.2
(package
(name "rust-base-x")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 09/49] gnu: Add rust-password-hash 0.3 and 0.1.4.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-9-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-password-hash-0.3):
(rust-password-hash-0.1): New variables.
---
gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)

Toggle diff (59 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 32873c8eea..c70556e73e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65617,6 +65617,52 @@ (define-public rust-packed-struct
;; User can choose either license.
(license (list license:expat license:asl2.0))))
+(define-public rust-password-hash-0.3
+ (package
+ (name "rust-password-hash")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "password-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64ct" ,rust-base64ct-1)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-subtle" ,rust-subtle-2))))
+ (home-page
+ "https://github.com/RustCrypto/traits/tree/master/password-hash")
+ (synopsis
+ "Traits which describe the functionality of password hashing algorithms")
+ (description
+ "Traits which describe the functionality of password hashing algorithms,
+as well as a `no_std`-friendly implementation of the PHC string format (a
+well-defined subset of the Modular Crypt Format a.k.a. MCF)")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-password-hash-0.1
+ (package
+ (inherit rust-password-hash-0.3)
+ (name "rust-password-hash")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "password-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ymh3np2bamjy8rszimksxcp264dclil4620bxm8rff9pyj6m62l"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64ct" ,rust-base64ct-1)
+ ("rust-rand-core" ,rust-rand-core-0.6))))))
+
(define-public rust-piper-0.1
(package
(name "rust-piper")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 11/49] gnu: Add rust-salsa20 0.7.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-11-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-salsa20-0.7): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e9c791106b..414757900a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47534,6 +47534,29 @@ (define-public rust-salsa-0.17
computation (experimental)")
(license (list license:asl2.0 license:expat))))
+(define-public rust-salsa20-0.7
+ (package
+ (name "rust-salsa20")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "salsa20" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09c16m566g45f41xx3673zyzwca3mykz630fmv2mbjbvmwcc4fw0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cipher" ,rust-cipher-0.2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-cipher" ,rust-cipher-0.2))))
+ (home-page "https://github.com/RustCrypto/stream-ciphers")
+ (synopsis "Salsa20 Stream Cipher")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-safe-arch-0.5
(package
(name "rust-safe-arch")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 10/49] gnu: Add rust-pbkdf2 0.7.5 and 0.6.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-10-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-pbkdf2-0.7)
(rust-pbkdf2-0.6): New variable.
---
gnu/packages/crates-io.scm | 74 +++++++++++++++++++++++++++++++++-----
1 file changed, 66 insertions(+), 8 deletions(-)

Toggle diff (106 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c70556e73e..e9c791106b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37306,8 +37306,72 @@ (define-public rust-pathdiff-0.1
(base32
"0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))))
+(define-public rust-pbkdf2-0.7
+ (package
+ (name "rust-pbkdf2")
+ (version "0.7.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pbkdf2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "022m5yb6fagzrks5m5kkj2yzccqffk19vnchg289fqnj5p9nv4dz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64ct" ,rust-base64ct-1)
+ ("rust-crypto-mac" ,rust-crypto-mac-0.10)
+ ("rust-hmac" ,rust-hmac-0.10)
+ ("rust-password-hash" ,rust-password-hash-0.1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.3)
+ ("rust-hmac" ,rust-hmac-0.8)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))))
+ (home-page "https://github.com/RustCrypto/password-hashing")
+ (synopsis "Generic implementation of PBKDF2")
+ (description "This package contains a collection of password hashing
+algorithms, otherwise known as password-based key derivation functions, written
+in pure Rust.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-pbkdf2-0.6
+ (package
+ (inherit rust-pbkdf2-0.7)
+ (name "rust-pbkdf2")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pbkdf2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jjaapyawm5iqn97mmfj40dvipsy78cm80qcva28009l2zbw1f5k"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-crypto-mac" ,rust-crypto-mac-0.10)
+ ("rust-hmac" ,rust-hmac-0.10)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-subtle" ,rust-subtle-2))
+ #:cargo-development-inputs
+ (("rust-hmac" ,rust-hmac-0.10)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))))))
+
(define-public rust-pbkdf2-0.4
(package
+ (inherit rust-pbkdf2-0.6)
(name "rust-pbkdf2")
(version "0.4.0")
(source
@@ -37319,10 +37383,10 @@ (define-public rust-pbkdf2-0.4
(sha256
(base32
"1g8cm3nwrsydazjc1gjs549hzafgxq8qb49gixrhl3qrd9calvi1"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.12)
+ ("rust-byteorder" ,rust-byteorder-1)
("rust-crypto-mac" ,rust-crypto-mac-0.8)
("rust-hmac" ,rust-hmac-0.8)
("rust-rand" ,rust-rand-0.7)
@@ -37333,13 +37397,7 @@ (define-public rust-pbkdf2-0.4
#:cargo-development-inputs
(("rust-hmac" ,rust-hmac-0.8)
("rust-sha-1" ,rust-sha-1-0.9)
- ("rust-sha2" ,rust-sha2-0.9))))
- (home-page "https://github.com/RustCrypto/password-hashing")
- (synopsis "Generic implementation of PBKDF2")
- (description "This package contains a collection of password hashing
-algorithms, otherwise known as password-based key derivation functions, written
-in pure Rust.")
- (license (list license:expat license:asl2.0))))
+ ("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-pbkdf2-0.3
(package
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 12/49] gnu: Add rust-scrypt 0.5.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-12-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-scrypt-0.5): New variable.
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++------
1 file changed, 31 insertions(+), 6 deletions(-)

Toggle diff (71 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 414757900a..b0e2b74b9f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47929,10 +47929,10 @@ (define-public rust-scratch-1
clean}.")
(license (list license:expat license:asl2.0))))
-(define-public rust-scrypt-0.3
+(define-public rust-scrypt-0.5
(package
(name "rust-scrypt")
- (version "0.3.0")
+ (version "0.5.0")
(source
(origin
(method url-fetch)
@@ -47941,15 +47941,16 @@ (define-public rust-scrypt-0.3
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1apicbvp7cgc1z2nl5l48g8h3kp7p592r4zbkx9vsri2ivnvgv43"))))
+ "1fgdmjdjx3lj92nswkxrq9nlv4vv7livg83nfybmv4izn3d9594d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-base64" ,rust-base64-0.12)
- ("rust-hmac" ,rust-hmac-0.8)
- ("rust-pbkdf2" ,rust-pbkdf2-0.4)
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-hmac" ,rust-hmac-0.10)
+ ("rust-pbkdf2" ,rust-pbkdf2-0.6)
("rust-rand" ,rust-rand-0.7)
("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-salsa20" ,rust-salsa20-0.7)
("rust-sha2" ,rust-sha2-0.9)
("rust-subtle" ,rust-subtle-2))))
(home-page "https://github.com/RustCrypto/password-hashes")
@@ -47958,6 +47959,30 @@ (define-public rust-scrypt-0.3
"Scrypt password-based key derivation function.")
(license (list license:expat license:asl2.0))))
+(define-public rust-scrypt-0.3
+ (package
+ (inherit rust-scrypt-0.5)
+ (name "rust-scrypt")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "scrypt" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1apicbvp7cgc1z2nl5l48g8h3kp7p592r4zbkx9vsri2ivnvgv43"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.12)
+ ("rust-hmac" ,rust-hmac-0.8)
+ ("rust-pbkdf2" ,rust-pbkdf2-0.4)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-subtle" ,rust-subtle-2))))))
+
(define-public rust-scrypt-0.2
(package
(inherit rust-scrypt-0.3)
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 13/49] gnu: rust-fnv: Update to 1.0.7.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-13-attila@lendvai.name
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b0e2b74b9f..845a1cd1f4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19818,15 +19818,14 @@ (define-public rust-flume-0.9
(define-public rust-fnv-1
(package
(name "rust-fnv")
- (version "1.0.6")
+ (version "1.0.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "fnv" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g"))))
+ (base32 "1hc2mcqha06aibcaza94vbi81j6pr9a1bbxrxjfhc91zin8yr7iz"))))
(build-system cargo-build-system)
(home-page "https://github.com/servo/rust-fnv")
(synopsis "Implementation of the Fowler-Noll-Vo hash function")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 14/49] gnu: Add rust-serde-derive-internals 0.25.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-14-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-serde-derive-internals-0.25): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 845a1cd1f4..f66c04e7fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49294,6 +49294,29 @@ (define-public rust-serde-derive-0.9
("rust-serde-codegen-internals" ,rust-serde-codegen-internals-0.14)
("rust-syn" ,rust-syn-0.11))))))
+(define-public rust-serde-derive-internals-0.25
+ (package
+ (name "rust-serde-derive-internals")
+ (version "0.25.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde_derive_internals" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ihqfkpplqqiwmh87s8p9jsv27ibkz1z7gc0abqs2mrhlr6b7fhx"))))
+ (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://serde.rs")
+ (synopsis "AST representation used by Serde derive macros")
+ (description "AST representation used by Serde derive macros. Unstable.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-serde-ignored-0.1
(package
(name "rust-serde-ignored")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 15/49] gnu: Add rust-core 0.3.3.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-15-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-core2-0.3): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f66c04e7fd..b5ce2047a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11521,6 +11521,25 @@ (define-public rust-cordic-0.1
numbers using the CORDIC method.")
(license license:bsd-3)))
+(define-public rust-core2-0.3
+ (package
+ (name "rust-core2")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wzzy5iazdk5caadxvjfwrd312rbg7a55a1zpmsdrhk3kfpa77r3"))))
+ (build-system cargo-build-system)
+ (arguments `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2))))
+ (home-page "https://github.com/bbqsrc/core2")
+ (synopsis "The bare essentials of std::io for use in no_std")
+ (description
+ "The bare essentials of std::io for use in no_std. Alloc support is optional.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-cookie-0.14
(package
(name "rust-cookie")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 16/49] gnu: Add rust-darling 0.13.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-16-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-darling-0.13): New variable.
---
gnu/packages/crates-io.scm | 92 +++++++++++++++++++++++++++++++-------
1 file changed, 76 insertions(+), 16 deletions(-)

Toggle diff (168 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b5ce2047a9..250a60fb82 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14167,10 +14167,10 @@ (define-public rust-daemonize-0.4
(description "Daemonize is a Rust library for writing system deaemons.")
(license (list license:expat license:asl2.0))))
-(define-public rust-darling-0.12
+(define-public rust-darling-0.13
(package
(name "rust-darling")
- (version "0.12.4")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
@@ -14178,13 +14178,17 @@ (define-public rust-darling-0.12
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0g4bkxpwl6i5jav5qqzny39yd5a1fdlh5l0mj020njza6ksl6b2z"))))
+ (base32 "1x7pgzjswg28798zd5gk5g6nifhcaqq0apqmclydi39zd2w21myh"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-darling-core" ,rust-darling-core-0.12)
- ("rust-darling-macro" ,rust-darling-macro-0.12))))
+ (("rust-darling-core" ,rust-darling-core-0.13)
+ ("rust-darling-macro" ,rust-darling-macro-0.13))
+ #:cargo-development-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/TedDriggs/darling")
(synopsis "Proc-macro library for reading attributes in custom derives")
(description
@@ -14192,6 +14196,30 @@ (define-public rust-darling-0.12
into structs when implementing custom derives.")
(license license:expat)))
+(define-public rust-darling-0.12
+ (package
+ (inherit rust-darling-0.13)
+ (name "rust-darling")
+ (version "0.12.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "darling" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g4bkxpwl6i5jav5qqzny39yd5a1fdlh5l0mj020njza6ksl6b2z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-darling-core" ,rust-darling-core-0.12)
+ ("rust-darling-macro" ,rust-darling-macro-0.12))
+ #:cargo-development-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
(define-public rust-darling-0.10
(package
(inherit rust-darling-0.12)
@@ -14239,17 +14267,17 @@ (define-public rust-darling-0.9
("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))))
-(define-public rust-darling-core-0.12
+(define-public rust-darling-core-0.13
(package
(name "rust-darling-core")
- (version "0.12.4")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "darling_core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0dpscl87s75h6yhrmzdsapx86lc4y16m554xg4hiq2l3hrdlb4cf"))))
+ (base32 "0933k2avb6xk9j4ryr0bvp3pww5j8i0nrqvsnkgd3vic3lj0yd3s"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -14267,6 +14295,19 @@ (define-public rust-darling-core-0.12
reading attributes into structs when implementing custom derives.")
(license license:expat)))
+(define-public rust-darling-core-0.12
+ (package
+ (inherit rust-darling-core-0.13)
+ (name "rust-darling-core")
+ (version "0.12.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "darling_core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dpscl87s75h6yhrmzdsapx86lc4y16m554xg4hiq2l3hrdlb4cf"))))))
+
(define-public rust-darling-core-0.10
(package
(inherit rust-darling-core-0.12)
@@ -14314,8 +14355,34 @@ (define-public rust-darling-core-0.9
("rust-strsim" ,rust-strsim-0.7)
("rust-syn" ,rust-syn-0.15))))))
+(define-public rust-darling-macro-0.13
+ (package
+ (name "rust-darling-macro")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "darling_macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jzljnd0y7idi5lb7lhvymh3nkhaf32ksx0d38hv7zjjfcxipi3j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-darling-core" ,rust-darling-core-0.13)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/TedDriggs/darling")
+ (synopsis "Helper crate for @code{rust-darling}")
+ (description
+ "Internal support for @code{rust-darling}, a proc-macro library for
+reading attributes into structs when implementing custom derives.")
+ (license license:expat)))
+
(define-public rust-darling-macro-0.12
(package
+ (inherit rust-darling-macro-0.13)
(name "rust-darling-macro")
(version "0.12.4")
(source
@@ -14325,19 +14392,12 @@ (define-public rust-darling-macro-0.12
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0nn9mxl7gs827rx5s6lbjvvghipxjdg2qpdjyxk7yym3vvqard99"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-darling-core" ,rust-darling-core-0.12)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/TedDriggs/darling")
- (synopsis "Helper crate for @code{rust-darling}")
- (description
- "Internal support for @code{rust-darling}, a proc-macro library for
-reading attributes into structs when implementing custom derives.")
- (license license:expat)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-darling-macro-0.10
(package
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 17/49] gnu: Add rust-enumset 1.0.8.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-17-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-enumset-1): New variable.
(rust-enumset-derive-0.5): New variable.
---
gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)

Toggle diff (64 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 250a60fb82..2c363e4a8b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17950,6 +17950,57 @@ (define-public rust-enumflags2-derive-0.6
(description "Enumflags2 implements the classic bitflags datastructure.")
(license (list license:expat license:asl2.0))))
+(define-public rust-enumset-1
+ (package
+ (name "rust-enumset")
+ (version "1.0.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enumset" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b2vdggbsnvvw09czxaazbqcpa378fycf7fs3afz5dbgkb0x45k2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-enumset-derive" ,rust-enumset-derive-0.5)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/Lymia/enumset")
+ (synopsis "A library for creating compact sets of enums")
+ (description
+ "This package provides a rust library for creating compact sets of enums.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-enumset-derive-0.5
+ (package
+ (name "rust-enumset-derive")
+ (version "0.5.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enumset-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1m7ccz9fcxsx3s1drj77psk62xfgjia0hp9lal3qhpb5ls514lb4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-darling" ,rust-darling-0.13)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/Lymia/enumset")
+ (synopsis "An internal helper crate for enumset")
+ (description "An internal helper crate for enumset. Not public API.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-env-logger-0.9
(package
(name "rust-env-logger")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 18/49] gnu: Add rust-schemars[-derive] 0.8.8.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-18-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-schemars-0.8): New variable.
(rust-schemars-derive-0.8): New variable.
---
gnu/packages/crates-io.scm | 62 ++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)

Toggle diff (75 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c363e4a8b..d766ddafd2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47901,6 +47901,68 @@ (define-public rust-scheduled-thread-pool-0.2
(description "This package provides a scheduled thread pool.")
(license (list license:expat license:asl2.0))))
+(define-public rust-schemars-0.8
+ (package
+ (name "rust-schemars")
+ (version "0.8.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "schemars" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qvhq1yixygd8ihc0qxmnhw4x08fa44q88v088gvc6pa1k4a7df6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-bigdecimal" ,rust-bigdecimal-0.3)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-dyn-clone" ,rust-dyn-clone-1)
+ ("rust-either" ,rust-either-1)
+ ("rust-enumset" ,rust-enumset-1)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-rust-decimal" ,rust-rust-decimal-1)
+ ("rust-schemars-derive" ,rust-schemars-derive-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-uuid" ,rust-uuid-0.8))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://graham.cool/schemars/")
+ (synopsis "Generate JSON Schemas from Rust code")
+ (description synopsis)
+ (license license:expat)))
+
+(define-public rust-schemars-derive-0.8
+ (package
+ (name "rust-schemars-derive")
+ (version "0.8.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "schemars-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16xfvm16d8nsxdx82fdcyqfi12v61lffyf1wmi34qqg82g74vbj1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-serde-derive-internals" ,rust-serde-derive-internals-0.25)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))
+ (home-page "https://graham.cool/schemars/")
+ (synopsis "Macros for #[derive(JsonSchema)], for use with schemars")
+ (description synopsis)
+ (license license:expat)))
+
(define-public rust-scoped-threadpool-0.1
(package
(name "rust-scoped-threadpool")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 19/49] gnu: Add rust-bitcoin-hashes 0.10.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-19-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-bitcoin-hashes-0.10): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d766ddafd2..8b62ad2fea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6133,6 +6133,32 @@ (define-public rust-bit-vec-0.4
`(#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-bitcoin-hashes-0.10
+ (package
+ (name "rust-bitcoin-hashes")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitcoin-hashes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c25nzrd2kn5znhjgxb9n48hc7swapiln8dqqndq368x38gcjv00"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-core2" ,rust-core2-0.3)
+ ("rust-schemars" ,rust-schemars-0.8)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/rust-bitcoin/bitcoin_hashes/")
+ (synopsis "Hash functions used by rust-bitcoin which support rustc 1.29.0")
+ (description synopsis)
+ (license license:cc0)))
+
(define-public rust-bitfield-0.13
(package
(name "rust-bitfield")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 20/49] gnu: Add rust-bitcoin-hashes 0.9.7.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-20-attila@lendvai.name
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)

Toggle diff (26 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8b62ad2fea..ad3fdfe182 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6159,6 +6159,19 @@ (define-public rust-bitcoin-hashes-0.10
(description synopsis)
(license license:cc0)))
+(define-public rust-bitcoin-hashes-0.9
+ (package
+ (inherit rust-bitcoin-hashes-0.10)
+ (name "rust-bitcoin-hashes")
+ (version "0.9.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitcoin-hashes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1cblp0clvds0i33ms1b0lvq42kzdpr7q3ma5ac3ss913xijq5qbw"))))))
+
(define-public rust-bitfield-0.13
(package
(name "rust-bitfield")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 21/49] gnu: Add rust-ripemd 0.1.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-21-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-ripemd-0.1): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad3fdfe182..d9d592b59d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44571,6 +44571,29 @@ (define-public rust-riscv-0.7
(description "This crate provides low level access to RISC-V processors.")
(license license:isc)))
+(define-public rust-ripemd-0.1
+ (package
+ (name "rust-ripemd")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ripemd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16ap7vvnqf4l6vy7kjpb5p8brqfppanssm61jn1w8444395bcm7a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-digest" ,rust-digest-0.10))
+ #:cargo-development-inputs
+ (("rust-digest" ,rust-digest-0.10)
+ ("rust-hex-literal" ,rust-hex-literal-0.2))))
+ (home-page "https://github.com/RustCrypto/hashes")
+ (synopsis "Pure Rust implementation of the RIPEMD hash functions")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-riscv-target-0.1
(package
(name "rust-riscv-target")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 23/49] gnu: Add rust-secp256k1 0.21.2.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-23-attila@lendvai.name
---
gnu/packages/crates-io.scm | 55 ++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)

Toggle diff (68 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e110e03f45..06314f17a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48536,6 +48536,61 @@ (define-public rust-section-testing-0.0
"This package provides a library for section-style testing.")
(license license:expat)))
+(define-public rust-secp256k1-0.21
+ (package
+ (name "rust-secp256k1")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "secp256k1" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09gia5hjf1hb9jgac9nzq0s0ijbsdjfflh40xw8z08avgl0q6y5b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-secp256k1-sys" ,rust-secp256k1-sys-0.4)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-rand-core" ,rust-rand-core-0.4)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+ (home-page "https://github.com/rust-bitcoin/rust-secp256k1/")
+ (synopsis
+ "Rust wrapper library for Pieter Wuille's `libsecp256k1`. Implements ECDSA and BIP 340 signatures for the SECG elliptic curve group secp256k1 and related utilities.")
+ (description
+ "Rust wrapper library for Pieter Wuille's `libsecp256k1`. Implements ECDSA and
+BIP 340 signatures for the SECG elliptic curve group secp256k1 and related
+utilities.")
+ (license license:cc0)))
+
+(define-public rust-secp256k1-sys-0.4
+ (package
+ (name "rust-secp256k1-sys")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "secp256k1-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dk0as7qdlvg5vkcsihndzg1jgqb9amhwmz3xiip94fy7ibs4zcm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1))
+ #:cargo-development-inputs
+ (("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/rust-bitcoin/rust-secp256k1/")
+ (synopsis "FFI for Pieter Wuille's `libsecp256k1` library.")
+ (description synopsis)
+ (license license:cc0)))
+
(define-public rust-security-framework-2
(package
(name "rust-security-framework")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 24/49] gnu: Add rust-secp256k1 0.20.3.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-24-attila@lendvai.name
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 06314f17a6..db14571de4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48569,6 +48569,31 @@ (define-public rust-secp256k1-0.21
utilities.")
(license license:cc0)))
+(define-public rust-secp256k1-0.20
+ (package
+ (inherit rust-secp256k1-0.21)
+ (name "rust-secp256k1")
+ (version "0.20.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "secp256k1" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02kxhfgy85zg7w2yyvnzrr7myk1mckvg99z6pbazxl1nwvm3rl4p"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.9)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-secp256k1-sys" ,rust-secp256k1-sys-0.4)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-rand-core" ,rust-rand-core-0.4)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))))
+
(define-public rust-secp256k1-sys-0.4
(package
(name "rust-secp256k1-sys")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 25/49] gnu: Add rust-radium 0.6.2.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-25-attila@lendvai.name
---
gnu/packages/crates-io.scm | 27 ++++++++++++++++++++-------
1 file changed, 20 insertions(+), 7 deletions(-)

Toggle diff (57 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index db14571de4..62b23d9292 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42273,30 +42273,43 @@ (define-public rust-racer-interner-0.1
fashion. It is mostly used in Racer.")
(license license:expat)))
-(define-public rust-radium-0.5
+(define-public rust-radium-0.6
(package
(name "rust-radium")
- (version "0.5.3")
+ (version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "radium" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1f5vj5zy4kcsw8p87y976dm5pln6v6jfw5f0fkj7qbwfipbsj6wl"))))
+ (base32 "1ys4bpp2l701ghdniz90zhkvb5ykmfw2pj0m8pfcbi7bm10qygv4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
(("rust-static-assertions" ,rust-static-assertions-1))))
- (home-page "https://github.com/mystor/radium")
+ (home-page "https://github.com/bitvecto-rs/radium")
(synopsis "Portable interfaces for maybe-atomic types")
(description
"@code{radium} provides abstractions and graceful degradation for behavior
that must be shared-mutable, but merely may use atomic instructions to do so.")
(license license:expat)))
+(define-public rust-radium-0.5
+ (package
+ (inherit rust-radium-0.6)
+ (name "rust-radium")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "radium" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1f5vj5zy4kcsw8p87y976dm5pln6v6jfw5f0fkj7qbwfipbsj6wl"))))))
+
(define-public rust-radix-fmt-1
(package
(name "rust-radix-fmt")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 26/49] gnu: Add rust-fixed-hash 0.7.0 and 0.2.5.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-26-attila@lendvai.name
---
gnu/packages/crates-io.scm | 53 ++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)

Toggle diff (66 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 62b23d9292..2164794e0a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19552,6 +19552,59 @@ (define-public rust-fixed-1
(description "This package provides fixed-point numbers in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-fixed-hash-0.7
+ (package
+ (name "rust-fixed-hash")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fixed-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g29r0zwf09kg70nprn0s444bn6nfsglmiafhl1pm8ajzvbhxkyg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-0.4)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rustc-hex" ,rust-rustc-hex-2)
+ ("rust-static-assertions" ,rust-static-assertions-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.2))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "Macros to define custom fixed-size hash types")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-fixed-hash-0.2
+ (package
+ (inherit rust-fixed-hash-0.7)
+ (name "rust-fixed-hash")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fixed-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wvj52bf37nhg6mv5h235zgdg7nsdarag58mf4i49cdgc3l6rzks"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-heapsize" ,rust-heapsize-0.4)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-quickcheck" ,rust-quickcheck-0.6)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-rustc-hex" ,rust-rustc-hex-2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-uint" ,rust-uint-0.4))))))
+
(define-public rust-fixedbitset-0.4
(package
(name "rust-fixedbitset")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 27/49] gnu: Add rust-byte-slice-cast 1.2.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-27-attila@lendvai.name
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

Toggle diff (31 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2164794e0a..adfec93633 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7651,6 +7651,24 @@ (define-public rust-byte-pool-0.2
memory usage.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-byte-slice-cast-1
+ (package
+ (name "rust-byte-slice-cast")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "byte-slice-cast" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "162618ai9pnsim49lkjpq2yi2b3wssclvqxwwycw8xrbb58wfc0x"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/sdroege/bytes-num-slice-cast")
+ (synopsis
+ "Safely cast bytes slices from/to slices of built-in fundamental numeric types")
+ (description synopsis)
+ (license license:expat)))
+
(define-public rust-byte-tools-0.3
(package
(name "rust-byte-tools")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 22/49] gnu: rust-zeroize: Update to 1.5.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-22-attila@lendvai.name
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d9d592b59d..e110e03f45 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65684,7 +65684,7 @@ (define-public rust-zerocopy-derive-0.2
(define-public rust-zeroize-1
(package
(name "rust-zeroize")
- (version "1.1.0")
+ (version "1.5.0")
(source
(origin
(method url-fetch)
@@ -65692,7 +65692,7 @@ (define-public rust-zeroize-1
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1f5547q8l8bpi16yy6lix2gl9rf1qz45lj06bq7wjk525gnw5fiw"))))
+ (base32 "1nq8zq5h7ad6kahdk0fxw4fdm0ibycj061jngxqkqchw67n2l8nc"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;2 doc tests fail
@@ -65710,7 +65710,7 @@ (define-public rust-zeroize-1
(define-public rust-zeroize-derive-1
(package
(name "rust-zeroize-derive")
- (version "1.0.0")
+ (version "1.3.1")
(source
(origin
(method url-fetch)
@@ -65718,7 +65718,7 @@ (define-public rust-zeroize-derive-1
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "18lc9xq9dwvmv81y3bqnw20974nbrs7d20rljb1inz7wd7n1w9fy"))))
+ (base32 "1nzdqyryjnqcrqz0vhddpkd8sybhn0bd8rbd6l33rdhhxwzz3s41"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 28/49] gnu: Add rust-impl-trait-for-tuples 0.2.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-28-attila@lendvai.name
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index adfec93633..df16535f6c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66589,6 +66589,31 @@ (define-public rust-im-rc-15
variant of this library is available separately as @code{im}.")
(license license:mpl2.0)))
+(define-public rust-impl-trait-for-tuples-0.2
+ (package
+ (name "rust-impl-trait-for-tuples")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "impl-trait-for-tuples" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vii634v1zvb680h28md42xpdrj1j1d50ix3dga95fxkql8cpnnm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #false ; Some tests fail. Unstable compiler messages?
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/bkchr/impl-trait-for-tuples")
+ (synopsis "Attribute macro to implement a trait for tuples")
+ (description synopsis)
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-inflections-1
(package
(name "rust-inflections")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 29/49] gnu: rust-trybuild: Update to 1.0.54.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-29-attila@lendvai.name
---
gnu/packages/crates-io.scm | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index df16535f6c..f6856d0f36 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61358,7 +61358,7 @@ (define-public rust-try-lock-0.1
(define-public rust-trybuild-1
(package
(name "rust-trybuild")
- (version "1.0.38")
+ (version "1.0.54")
(source
(origin
(method url-fetch)
@@ -61367,21 +61367,20 @@ (define-public rust-trybuild-1
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0l5kicbqkk8b9grdg5l2f2w9l47h0s1kjnv6lywvwk292236zc0p"))))
+ "0gzxbal0zdjnwilsisgbm59c242gvym8dafwsl5s8b5nhvzl6hzh"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-dissimilar" ,rust-dissimilar-1)
("rust-glob" ,rust-glob-0.3)
- ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-once-cell" ,rust-once-cell-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-termcolor" ,rust-termcolor-1)
("rust-toml" ,rust-toml-0.5))))
(home-page "https://github.com/dtolnay/trybuild")
(synopsis "Test harness for ui tests of compiler diagnostics")
- (description
- "Test harness for ui tests of compiler diagnostics.")
+ (description synopsis)
(license (list license:expat license:asl2.0))))
(define-public rust-ttf-parser-0.12
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 30/49] gnu: Add rust-bitvec 0.20.4.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-30-attila@lendvai.name
---
gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++++-------
1 file changed, 34 insertions(+), 7 deletions(-)

Toggle diff (70 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f6856d0f36..29aee4c30e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6403,8 +6403,41 @@ (define-public rust-bitstream-io-0.8
"00a6wy54s1dmadm5xz8k2cbsd7ixvm48mlc45bk0fdy0pbra6jk1"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-bitvec-0.20
+ (package
+ (name "rust-bitvec")
+ (version "0.20.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bitvec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0j3qn0z31j06c965hs3kh41l78hxbzzsf1h46xvs3ym48i1i8x3p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-funty" ,rust-funty-1)
+ ("rust-radium" ,rust-radium-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tap" ,rust-tap-1)
+ ("rust-wyz" ,rust-wyz-0.2))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-criterion" ,rust-criterion-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-static-assertions" ,rust-static-assertions-1))))
+ (home-page "https://bitvecto-rs.github.io/bitvec")
+ (synopsis "Manipulate memory, bit by bit")
+ (description
+ "This package provides a crate for manipulating memory, bit by bit.")
+ (license license:expat)))
+
(define-public rust-bitvec-0.19
(package
+ (inherit rust-bitvec-0.20)
(name "rust-bitvec")
(version "0.19.4")
(source
@@ -6416,7 +6449,6 @@ (define-public rust-bitvec-0.19
(sha256
(base32
"10bz751jbsy8fj203ibjwil07p2fwfzvx7b326wfssaravlkbfm7"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-funty" ,rust-funty-1)
@@ -6429,12 +6461,7 @@ (define-public rust-bitvec-0.19
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-test" ,rust-serde-test-1)
- ("rust-static-assertions" ,rust-static-assertions-1))))
- (home-page "https://myrrlyn.net/crates/bitvec")
- (synopsis "Manipulate memory, bit by bit")
- (description
- "This package provides a crate for manipulating memory, bit by bit.")
- (license license:expat)))
+ ("rust-static-assertions" ,rust-static-assertions-1))))))
(define-public rust-blake2-0.8
(package
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 31/49] gnu: Add rust-parity-crypto 0.9.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-31-attila@lendvai.name
* gnu/packages/crates-io.scm (rust-parity-crypto): New variable.
---
gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)

Toggle diff (63 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29aee4c30e..f1b2b456f4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36789,6 +36789,56 @@ (define-public rust-parity-bytes
(description synopsis)
(license (list license:expat license:asl2.0))))
+(define-public rust-parity-crypto
+ (package
+ (name "rust-parity-crypto")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "parity-crypto" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dafz7pfi21plp6r6k2bh7ysjd3x75yix6a9gkdy3mn0vafym4jb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-aes" ,rust-aes-0.6)
+ ("rust-block-modes" ,rust-block-modes-0.7)
+ ("rust-digest" ,rust-digest-0.9)
+ ("rust-ethereum-types" ,rust-ethereum-types-0.12)
+ ("rust-hex" ,rust-hex-0.2)
+ ("rust-hmac" ,rust-hmac-0.10)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-pbkdf2" ,rust-pbkdf2-0.7)
+ ("rust-ripemd" ,rust-ripemd-0.1)
+ ("rust-rustc-hex" ,rust-rustc-hex-2)
+ ("rust-scrypt" ,rust-scrypt-0.5)
+ ("rust-secp256k1" ,rust-secp256k1-0.20)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-tiny-keccak" ,rust-tiny-keccak-2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-hex-literal" ,rust-hex-literal-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-version-requirements
+ (lambda _
+ ;; SUBSTITUTE* can't do multiline regex, so let's just do this:
+ (delete-file "Cargo.toml")
+ (rename-file "Cargo.toml.orig" "Cargo.toml")
+ (substitute* "Cargo.toml"
+ (("aes-ctr = \"0.6.0\"") "")
+ (("ethereum-types = \\{ version = \"0.12.0\".*")
+ "ethereum-types = { version = \"0.12.0\", optional = true }\n")
+ (("ripemd160 = \"0.9.1\"") "ripemd = \"0.1.0\"")))))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "General cryptographic utilities for Ethereum")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-parity-tokio-ipc-0.4
(package
(name "rust-parity-tokio-ipc")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 32/49] gnu: Add rust-parity-scale-codec 2.3.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-32-attila@lendvai.name
---
gnu/packages/crates-io.scm | 59 ++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)

Toggle diff (72 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f1b2b456f4..4108602f83 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36839,6 +36839,65 @@ (define-public rust-parity-crypto
(description synopsis)
(license (list license:expat license:asl2.0))))
+(define-public rust-parity-scale-codec-2
+ (package
+ (name "rust-parity-scale-codec")
+ (version "2.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "parity-scale-codec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02g95fp56sfpxixpy3x2h2yvcnmbpl8klfx53wywvn9q2d61lfrp"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; The tests fail with: error[E0432]: unresolved import
+ ;; `parity_scale_codec_derive`. They also take a relatively long time.
+ `(#:tests? #f
+ #:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-arrayvec" ,rust-arrayvec-0.7)
+ ("rust-bitvec" ,rust-bitvec-0.20)
+ ("rust-byte-slice-cast" ,rust-byte-slice-cast-1)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-impl-trait-for-tuples" ,rust-impl-trait-for-tuples-0.2)
+ ("rust-parity-scale-codec-derive" ,rust-parity-scale-codec-derive-2)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/paritytech/parity-scale-codec")
+ (synopsis "SCALE - Simple Concatenating Aggregated Little Endians")
+ (description synopsis)
+ (license license:asl2.0)))
+
+(define-public rust-parity-scale-codec-derive-2
+ (package
+ (name "rust-parity-scale-codec-derive")
+ (version "2.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "parity-scale-codec-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09zdgdqalc8d2zsjc9v1ayqxwg5rh7xxq5ldasdmqng0fq202mqm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "")
+ (synopsis
+ "Serialization and deserialization derive macro for Parity SCALE Codec")
+ (description synopsis)
+ (license license:asl2.0)))
+
(define-public rust-parity-tokio-ipc-0.4
(package
(name "rust-parity-tokio-ipc")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 33/49] gnu: Add rust-impl-codec 0.5.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-33-attila@lendvai.name
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4108602f83..19a5ee7d85 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66724,6 +66724,26 @@ (define-public rust-im-rc-15
variant of this library is available separately as @code{im}.")
(license license:mpl2.0)))
+(define-public rust-impl-codec-0.5
+ (package
+ (name "rust-impl-codec")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "impl-codec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hy4svffnw9idy9ipp0hkmbzk97fl583akqwyqmvbqy8qgzbs7hn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-parity-scale-codec" ,rust-parity-scale-codec-2))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "Parity Codec serialization support for uint and fixed hash")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-impl-trait-for-tuples-0.2
(package
(name "rust-impl-trait-for-tuples")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 34/49] gnu: Add rust-crunchy 0.1.6.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-34-attila@lendvai.name
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)

Toggle diff (26 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 19a5ee7d85..3f5622d17b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13081,6 +13081,19 @@ (define-public rust-crunchy-0.2
number ``crunching``.")
(license license:expat)))
+(define-public rust-crunchy-0.1
+ (package
+ (inherit rust-crunchy-0.2)
+ (name "rust-crunchy")
+ (version "0.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crunchy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nnbh2k3pv1diyd0i0p3a08kd4afqc17yz0b43hn5xn9qlqs9x52"))))))
+
(define-public rust-roxmltree-0.14
(package
(name "rust-roxmltree")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 35/49] gnu: Add rust-uint 0.4.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-35-attila@lendvai.name
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3f5622d17b..7f1275a327 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62096,6 +62096,34 @@ (define-public rust-ufmt-write-0.1
(description "This package provides @code{μfmt}'s @code{uWrite} trait.")
(license (list license:expat license:asl2.0))))
+(define-public rust-uint-0.4
+ (package
+ (name "rust-uint")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "uint" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0il6x59h605mmm10qxig066khxaygqcyb60pqja1n5mr68bs2jvm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; The tests fail. Due to rustc version?
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-crunchy" ,rust-crunchy-0.1)
+ ("rust-heapsize" ,rust-heapsize-0.4)
+ ("rust-quickcheck" ,rust-quickcheck-0.6)
+ ("rust-rustc-hex" ,rust-rustc-hex-2))
+ #:cargo-development-inputs
+ (("rust-quickcheck" ,rust-quickcheck-0.6)
+ ("rust-rustc-hex" ,rust-rustc-hex-2))))
+ (home-page "http://parity.io")
+ (synopsis "Large fixed-size integer arithmetic")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-umask-1
(package
(name "rust-umask")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 37/49] gnu: Add rust-tiny-keccak 1.5.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-37-attila@lendvai.name
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)

Toggle diff (26 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 006c033e81..cf0308d87a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57980,6 +57980,19 @@ (define-public rust-tiny-keccak-2
specified in FIPS-202, SP800-185 and KangarooTwelve.")
(license license:cc0)))
+(define-public rust-tiny-keccak-1
+ (package
+ (inherit rust-tiny-keccak-2)
+ (name "rust-tiny-keccak")
+ (version "1.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tiny-keccak" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1chiisrsql4pfwh5r7nz055ciqj7ch24m0nvrr6a8x5vd4f052hx"))))))
+
(define-public rust-tinytemplate-1
(package
(name "rust-tinytemplate")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 38/49] gnu: Add rust-ethereum-types 0.4.2.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-38-attila@lendvai.name
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf0308d87a..e37796c939 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18624,6 +18624,29 @@ (define-public rust-ethereum-types-0.9
(base32
"1c1l2sg6li301izl4nzkkfrpc8snafxwnr81vfwygn3bd3zyqfj7"))))))
+(define-public rust-ethereum-types-0.4
+ (package
+ (inherit rust-ethereum-types-0.9)
+ (name "rust-ethereum-types")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ethereum-types" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15icipk0ap7r6yi0i6cl6zsl0z52zbw6jwv3l271r833vj222x3f"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-crunchy" ,rust-crunchy-0.1)
+ ("rust-ethbloom" ,rust-ethbloom-0.5)
+ ("rust-ethereum-types-serialize" ,rust-ethereum-types-serialize-0.2)
+ ("rust-fixed-hash" ,rust-fixed-hash-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-uint" ,rust-uint-0.4))
+ #:cargo-development-inputs
+ (("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-ethereum-types-serialize-0.2
(package
(name "rust-ethereum-types-serialize")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 39/49] gnu: Add rust-rlp 0.3.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-39-attila@lendvai.name
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e37796c939..384c22b73f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44917,6 +44917,31 @@ (define-public rust-rle-decode-fast-1
your own implementation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rlp-0.3
+ (package
+ (name "rust-rlp")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rlp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "082pfkdzsnzvqr5yx5qb2hildjg597p2115ywy84zma5k3zfzl8n"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; The tests fail.
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-ethereum-types" ,rust-ethereum-types-0.4)
+ ("rust-rustc-hex" ,rust-rustc-hex-2))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.1))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "Recursive-length prefix encoding, decoding, and compression")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rls-span-0.5
(package
(name "rust-rls-span")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 40/49] gnu: Add rust-integer-sqrt 0.1.5.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-40-attila@lendvai.name
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 384c22b73f..224e3620fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26420,6 +26420,27 @@ (define-public rust-integer-encoding-1
("rust-futures-util" ,rust-futures-util-0.3)
("rust-tokio" ,rust-tokio-0.2))))))
+(define-public rust-integer-sqrt-0.1
+ (package
+ (name "rust-integer-sqrt")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "integer-sqrt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0w6pzmgvs1mldkhafbwg9x7wzr0af3ngkimyb1gy97jarcdw6vi7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-num-traits" ,rust-num-traits-0.2))))
+ (home-page "https://github.com/derekdreery/integer-sqrt-rs")
+ (synopsis
+ "An implementation of integer square root algorithm for primitive rust types")
+ (description synopsis)
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-interpolate-name-0.2
(package
(name "rust-interpolate-name")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 36/49] gnu: Add rust-ethereum-types-serialize 0.2.2.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-36-attila@lendvai.name
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

Toggle diff (31 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f1275a327..006c033e81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18624,6 +18624,24 @@ (define-public rust-ethereum-types-0.9
(base32
"1c1l2sg6li301izl4nzkkfrpc8snafxwnr81vfwygn3bd3zyqfj7"))))))
+(define-public rust-ethereum-types-serialize-0.2
+ (package
+ (name "rust-ethereum-types-serialize")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ethereum-types-serialize" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l53rvzvwpxwkl7i3f9q5fafw663rcm5z4mdknkr265w69xxfwqq"))))
+ (build-system cargo-build-system)
+ (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/paritytech/primitives")
+ (synopsis "Ethereum types")
+ (description synopsis)
+ (license license:expat)))
+
(define-public rust-event-listener-2
(package
(name "rust-event-listener")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 42/49] gnu: rust-az: Update to 1.2.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-42-attila@lendvai.name
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 98e82181d4..f06c7c646c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4645,7 +4645,7 @@ (define-public rust-awc-1
(define-public rust-az-1
(package
(name "rust-az")
- (version "1.0.0")
+ (version "1.2.0")
(source
(origin
(method url-fetch)
@@ -4654,7 +4654,7 @@ (define-public rust-az-1
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0sb51w9pjcqb315dg6zv9wwqj1q2fldcc3xmfv0bhkmajiyx9g79"))))
+ "1i2s9bqar8hfxjmfr2cbhi4s26s2sd1kc3x3g517ygshyp8sawgp"))))
(build-system cargo-build-system)
(home-page "https://gitlab.com/tspiteri/az")
(synopsis "Casts and checked casts")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 43/49] gnu: Add rust-rug 1.14.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-43-attila@lendvai.name
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)

Toggle diff (50 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f06c7c646c..e1325047a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45542,6 +45542,43 @@ (define-public rust-rstest-0.10
table-based tests.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rug-1
+ (package
+ (name "rust-rug")
+ (version "1.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rug" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1iw52gyw0hshymqa04g76m7qnrds5vkgc5s8svqx5nv1jz1wrdgm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-shell-for-configure-script
+ (lambda _
+ (setenv "CONFIG_SHELL" (which "sh")))))
+ #:cargo-inputs
+ (("rust-az" ,rust-az-1)
+ ("rust-gmp-mpfr-sys" ,rust-gmp-mpfr-sys-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-bincode" ,rust-bincode-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-serde-test" ,rust-serde-test-1))))
+ (native-inputs
+ (list bash-minimal m4))
+ (home-page "https://gitlab.com/tspiteri/rug")
+ (synopsis
+ "Arbitrary-precision integers, rational, floating-point and complex numbers based
+on GMP, MPFR and MPC")
+ (description synopsis)
+ (license license:lgpl3+)))
+
(define-public rust-rpassword-5
(package
(name "rust-rpassword")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 45/49] gnu: Add rust-impl-serde 0.3.2.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-45-attila@lendvai.name
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 57f5632731..ebef2050d8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66978,6 +66978,31 @@ (define-public rust-impl-codec-0.5
(description synopsis)
(license (list license:expat license:asl2.0))))
+(define-public rust-impl-serde-0.3
+ (package
+ (name "rust-impl-serde")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "impl-serde" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0p2zy8ikdxd28s3vb22nwqgnwjn8gx920sr2svdn93j3yd1g0la5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-uint" ,rust-uint-0.9))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "Serde serialization support for uint and fixed hash")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-impl-trait-for-tuples-0.2
(package
(name "rust-impl-trait-for-tuples")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 44/49] gnu: Add rust-uint 0.9.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-44-attila@lendvai.name
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++------
1 file changed, 32 insertions(+), 6 deletions(-)

Toggle diff (67 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e1325047a7..57f5632731 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62263,8 +62263,39 @@ (define-public rust-ufmt-write-0.1
(description "This package provides @code{μfmt}'s @code{uWrite} trait.")
(license (list license:expat license:asl2.0))))
+(define-public rust-uint-0.9
+ (package
+ (name "rust-uint")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "uint" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pys10znj928lijvsq2rvnzns90a91j7199pl2afigc2yi8anw34"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-crunchy" ,rust-crunchy-0.2)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-static-assertions" ,rust-static-assertions-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-num-bigint" ,rust-num-bigint-0.4)
+ ("rust-rug" ,rust-rug-1))))
+ (home-page "http://parity.io")
+ (synopsis "Large fixed-size integer arithmetic")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-uint-0.4
(package
+ (inherit rust-uint-0.9)
(name "rust-uint")
(version "0.4.1")
(source
@@ -62274,7 +62305,6 @@ (define-public rust-uint-0.4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0il6x59h605mmm10qxig066khxaygqcyb60pqja1n5mr68bs2jvm"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; The tests fail. Due to rustc version?
#:cargo-inputs
@@ -62285,11 +62315,7 @@ (define-public rust-uint-0.4
("rust-rustc-hex" ,rust-rustc-hex-2))
#:cargo-development-inputs
(("rust-quickcheck" ,rust-quickcheck-0.6)
- ("rust-rustc-hex" ,rust-rustc-hex-2))))
- (home-page "http://parity.io")
- (synopsis "Large fixed-size integer arithmetic")
- (description synopsis)
- (license (list license:expat license:asl2.0))))
+ ("rust-rustc-hex" ,rust-rustc-hex-2))))))
(define-public rust-umask-1
(package
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 46/49] gnu: Add rust-scale-info 1.0.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-46-attila@lendvai.name
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)

Toggle diff (61 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ebef2050d8..e90ba9cd97 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48280,6 +48280,54 @@ (define-public rust-sanakirja-0.10
@end itemize")
(license (list license:asl2.0 license:expat))))
+(define-public rust-scale-info-1
+ (package
+ (name "rust-scale-info")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "scale-info" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bvq3a9im6c20xmx8lipr5px9y4x22dpilm0ccnm69cw752bfmaw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitvec" ,rust-bitvec-0.20)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-derive-more" ,rust-derive-more-0.99)
+ ("rust-parity-scale-codec" ,rust-parity-scale-codec-2)
+ ("rust-scale-info-derive" ,rust-scale-info-derive-1)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://www.parity.io/")
+ (synopsis "Info about SCALE encodable Rust types")
+ (description synopsis)
+ (license license:asl2.0)))
+
+(define-public rust-scale-info-derive-1
+ (package
+ (name "rust-scale-info-derive")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "scale-info-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k8z7y6181yjdnggbhnqr8mfnpw197pa8ni0hqpmk003d602gsxs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://www.parity.io/")
+ (synopsis "Derive type info for SCALE encodable types")
+ (description synopsis)
+ (license license:asl2.0)))
+
(define-public rust-scan-fmt-0.2
(package
(name "rust-scan-fmt")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 47/49] gnu: Add rust-impl-num-traits 0.1.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-47-attila@lendvai.name
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e90ba9cd97..08546fcc1e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67026,6 +67026,28 @@ (define-public rust-impl-codec-0.5
(description synopsis)
(license (list license:expat license:asl2.0))))
+(define-public rust-impl-num-traits-0.1
+ (package
+ (name "rust-impl-num-traits")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "impl-num-traits" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rjlic3z684l37qm7zywmxhhllnf982y3ilyslyxb6jiddyhbdiq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-integer-sqrt" ,rust-integer-sqrt-0.1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-uint" ,rust-uint-0.9))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "num-traits implementation for uint")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-impl-serde-0.3
(package
(name "rust-impl-serde")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 49/49] gnu: Add rust-ethbloom 0.5.3 and 0.11.1.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-49-attila@lendvai.name
---
gnu/packages/crates-io.scm | 55 ++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)

Toggle diff (68 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a5effbdb26..2895afd20b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18590,6 +18590,61 @@ (define-public rust-escargot-0.3
(("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-ethbloom-0.11
+ (package
+ (name "rust-ethbloom")
+ (version "0.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ethbloom" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1y73c4v60jy6wc4gssrg775y6vzc4axn523qkxswbxm8iyn89dmz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-crunchy" ,rust-crunchy-0.2)
+ ("rust-fixed-hash" ,rust-fixed-hash-0.7)
+ ("rust-impl-codec" ,rust-impl-codec-0.5)
+ ("rust-impl-rlp" ,rust-impl-rlp-0.3)
+ ("rust-impl-serde" ,rust-impl-serde-0.3)
+ ("rust-scale-info" ,rust-scale-info-1)
+ ("rust-tiny-keccak" ,rust-tiny-keccak-2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-hex-literal" ,rust-hex-literal-0.3)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "Ethereum bloom filter")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-ethbloom-0.5
+ (package
+ (inherit rust-ethbloom-0.11)
+ (name "rust-ethbloom")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ethbloom" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0q2kix0p067rrfffhbfra453dw51s4cfgs0lhirslsv4callsad6"))))
+ (arguments
+ `(#:tests? #f ; The tests fail.
+ #:cargo-inputs
+ (("rust-crunchy" ,rust-crunchy-0.1)
+ ("rust-ethereum-types-serialize" ,rust-ethereum-types-serialize-0.2)
+ ("rust-fixed-hash" ,rust-fixed-hash-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tiny-keccak" ,rust-tiny-keccak-1))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.1)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-rustc-hex" ,rust-rustc-hex-1))))))
+
(define-public rust-ethereum-types-0.12
(package
(name "rust-ethereum-types")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 48/49] gnu: rust-rlp, rust-impl-rlp, rust-primitive-types
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-48-attila@lendvai.name
rust-rlp 0.5.1
rust-impl-rlp 0.3.0
rust-primitive-types 0.10.1

They have a circular dependency through #:cargo-development-inputs and
therefore they must be added in a single commit.
---
gnu/packages/crates-io.scm | 80 +++++++++++++++++++++++++++++++++++---
1 file changed, 74 insertions(+), 6 deletions(-)

Toggle diff (126 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 08546fcc1e..a5effbdb26 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40876,6 +40876,32 @@ (define-public rust-prettytable-rs-0.8
formatted tables in terminal.")
(license license:bsd-3)))
+(define-public rust-primitive-types-0.10
+ (package
+ (name "rust-primitive-types")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "primitive-types" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wr3yhpc59m5xbhqs69j8qm0hz0xh8q8r806bnfsjn3sd4n75r05"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-fixed-hash" ,rust-fixed-hash-0.7)
+ ("rust-impl-codec" ,rust-impl-codec-0.5)
+ ("rust-impl-num-traits" ,rust-impl-num-traits-0.1)
+ ("rust-impl-rlp" ,rust-impl-rlp-0.3)
+ ("rust-impl-serde" ,rust-impl-serde-0.3)
+ ("rust-scale-info" ,rust-scale-info-1)
+ ("rust-uint" ,rust-uint-0.9))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "Primitive types shared by Ethereum and Substrate")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-proc-macro-crate-1
(package
(name "rust-proc-macro-crate")
@@ -44968,31 +44994,53 @@ (define-public rust-rle-decode-fast-1
your own implementation.")
(license (list license:expat license:asl2.0))))
-(define-public rust-rlp-0.3
+(define-public rust-rlp-0.5
(package
(name "rust-rlp")
- (version "0.3.0")
+ (version "0.5.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "rlp" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "082pfkdzsnzvqr5yx5qb2hildjg597p2115ywy84zma5k3zfzl8n"))))
+ (base32 "1da7b1hc4czlmsyr7ifs9bz9fv8hi5dw8q14xnmjlydfn2mhi5cr"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; The tests fail.
#:cargo-inputs
- (("rust-byteorder" ,rust-byteorder-1)
- ("rust-ethereum-types" ,rust-ethereum-types-0.4)
+ (("rust-bytes" ,rust-bytes-1)
("rust-rustc-hex" ,rust-rustc-hex-2))
#:cargo-development-inputs
- (("rust-hex-literal" ,rust-hex-literal-0.1))))
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-hex-literal" ,rust-hex-literal-0.3)
+ ("rust-primitive-types" ,rust-primitive-types-0.10))))
(home-page "https://github.com/paritytech/parity-common")
(synopsis "Recursive-length prefix encoding, decoding, and compression")
(description synopsis)
(license (list license:expat license:asl2.0))))
+(define-public rust-rlp-0.3
+ (package
+ (inherit rust-rlp-0.5)
+ (name "rust-rlp")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rlp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "082pfkdzsnzvqr5yx5qb2hildjg597p2115ywy84zma5k3zfzl8n"))))
+ (arguments
+ `(#:tests? #f ; The tests fail.
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-ethereum-types" ,rust-ethereum-types-0.4)
+ ("rust-rustc-hex" ,rust-rustc-hex-2))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.1))))))
+
(define-public rust-rls-span-0.5
(package
(name "rust-rls-span")
@@ -67048,6 +67096,26 @@ (define-public rust-impl-num-traits-0.1
(description synopsis)
(license (list license:expat license:asl2.0))))
+(define-public rust-impl-rlp-0.3
+ (package
+ (name "rust-impl-rlp")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "impl-rlp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "021869d5s47ili9kmhm9y80qpsbf0wwdap14qzfpb84pjbw210pj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-rlp" ,rust-rlp-0.5))))
+ (home-page "https://github.com/paritytech/parity-common")
+ (synopsis "RLP serialization support for uint and fixed hash")
+ (description synopsis)
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-impl-serde-0.3
(package
(name "rust-impl-serde")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 22:50
[PATCH 41/49] gnu: Add rust-gmp-mpfr-sys 1.4.7.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120215045.24768-41-attila@lendvai.name
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (57 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 224e3620fb..98e82181d4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51,6 +51,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
@@ -66,6 +67,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
+ #:use-module (gnu packages m4)
#:use-module (gnu packages mail)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages nettle)
@@ -23141,6 +23143,34 @@ (define-public rust-gloo-timers-0.2
timers.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gmp-mpfr-sys-1
+ (package
+ (name "rust-gmp-mpfr-sys")
+ (version "1.4.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gmp-mpfr-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ysvdf352vcnb5ygmbwf5pkndqb0p6clmz0nqkf3nmz9ghssfim1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-shell-for-configure-script
+ (lambda _
+ (setenv "CONFIG_SHELL" (which "sh")))))
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (native-inputs
+ (list bash-minimal m4))
+ (home-page "https://gitlab.com/tspiteri/gmp-mpfr-sys")
+ (synopsis "Rust FFI bindings for GMP, MPFR and MPC")
+ (description synopsis)
+ (license license:lgpl3+)))
+
(define-public rust-goblin-0.2
(package
(name "rust-goblin")
--
2.34.0
A
A
Attila Lendvai wrote on 20 Jan 2022 23:37
[PATCH 42/49] gnu: rust-az: Update to 1.2.0.
(address . 53401@debbugs.gnu.org)(name . Attila Lendvai)(address . attila@lendvai.name)
20220120223727.16447-42-attila@lendvai.name
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 98e82181d4..f06c7c646c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4645,7 +4645,7 @@ (define-public rust-awc-1
(define-public rust-az-1
(package
(name "rust-az")
- (version "1.0.0")
+ (version "1.2.0")
(source
(origin
(method url-fetch)
@@ -4654,7 +4654,7 @@ (define-public rust-az-1
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0sb51w9pjcqb315dg6zv9wwqj1q2fldcc3xmfv0bhkmajiyx9g79"))))
+ "1i2s9bqar8hfxjmfr2cbhi4s26s2sd1kc3x3g517ygshyp8sawgp"))))
(build-system cargo-build-system)
(home-page "https://gitlab.com/tspiteri/az")
(synopsis "Casts and checked casts")
--
2.34.0
A
A
Attila Lendvai wrote on 24 Jan 2022 12:43
(No Subject)
(name . 53401-close@debbugs.gnu.org)(address . 53401-close@debbugs.gnu.org)
QYUjas4cTQjH26RiISPUTCvx1yFPaqXNYybGGcy6mC0Fj6Icud3AKtzfDXxCLFfF-1CKd8MbDFBuvQASP7Ao5ka_wlW0uRNRBN_B59E2KQE=@lendvai.name
sadly enough this has developed countless merge conflicts.

closing this, and i will open a new one with a single diff.
Attachment: file
?
Your comment

This issue is archived.

To comment on this conversation send an email to 53401@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 53401
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch