[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53401] [PATCH 31/49] gnu: Add rust-parity-crypto 0.9.0.
From: |
Attila Lendvai |
Subject: |
[bug#53401] [PATCH 31/49] gnu: Add rust-parity-crypto 0.9.0. |
Date: |
Thu, 20 Jan 2022 22:50:27 +0100 |
* gnu/packages/crates-io.scm (rust-parity-crypto): New variable.
---
gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
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
- [bug#53401] [PATCH 36/49] gnu: Add rust-ethereum-types-serialize 0.2.2., (continued)
- [bug#53401] [PATCH 36/49] gnu: Add rust-ethereum-types-serialize 0.2.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 04/49] gnu: Add rust-block-buffer-0.10., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 15/49] gnu: Add rust-core 0.3.3., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 35/49] gnu: Add rust-uint 0.4.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 20/49] gnu: Add rust-bitcoin-hashes 0.9.7., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 10/49] gnu: Add rust-pbkdf2 0.7.5 and 0.6.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 05/49] gnu: Add rust-crypto-common-0.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 22/49] gnu: rust-zeroize: Update to 1.5.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 26/49] gnu: Add rust-fixed-hash 0.7.0 and 0.2.5., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 29/49] gnu: rust-trybuild: Update to 1.0.54., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 31/49] gnu: Add rust-parity-crypto 0.9.0.,
Attila Lendvai <=
- [bug#53401] [PATCH 38/49] gnu: Add rust-ethereum-types 0.4.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 09/49] gnu: Add rust-password-hash 0.3 and 0.1.4., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 33/49] gnu: Add rust-impl-codec 0.5.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 41/49] gnu: Add rust-gmp-mpfr-sys 1.4.7., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 25/49] gnu: Add rust-radium 0.6.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 08/49] gnu: Add rust-base64ct-1 1.3.3., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 46/49] gnu: Add rust-scale-info 1.0.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 16/49] gnu: Add rust-darling 0.13.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 43/49] gnu: Add rust-rug 1.14.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 32/49] gnu: Add rust-parity-scale-codec 2.3.1., Attila Lendvai, 2022/01/20