me
/
guix
Archived
1
0
Fork 0

gnu: rust-curve25519-dalek: Move to (gnu packages crates-crypto).

* gnu/packages/crates-io.scm (rust-curve25519-dalek-3,
rust-curve25519-dalek-ng-4): Move from here ...
* gnu/packages/crates-crypto.scm: ... to here.

Change-Id: I1c762d754e54a7736278e850fbc81488bdcebc92
master
Efraim Flashner 2024-01-21 15:07:23 +02:00
parent 55d48b8bb8
commit 79b6fa0e01
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
2 changed files with 68 additions and 68 deletions

View File

@ -1116,3 +1116,71 @@ algorithms.")
(description "This package provides a wrapper for OS-level cryptographic
hash functions.")
(license license:expat)))
(define-public rust-curve25519-dalek-3
(package
(name "rust-curve25519-dalek")
(version "3.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "curve25519-dalek" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0q8v97275cy6v4ly6y2qwv9a8phnpjg9sy8kv7r6mgdjfacxz7qb"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-digest" ,rust-digest-0.9)
("rust-fiat-crypto" ,rust-fiat-crypto-0.1)
("rust-packed-simd-2" ,rust-packed-simd-2-0.3)
("rust-rand-core" ,rust-rand-core-0.5)
("rust-serde" ,rust-serde-1)
("rust-subtle" ,rust-subtle-2)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-criterion" ,rust-criterion-0.3)
("rust-hex" ,rust-hex-0.4)
("rust-rand" ,rust-rand-0.7)
("rust-sha2" ,rust-sha2-0.9))))
(home-page "https://dalek.rs/curve25519-dalek")
(synopsis "Group operations on ristretto255 and Curve25519")
(description
"This package provides a pure-Rust implementation of group operations on
ristretto255 and Curve25519.")
(license license:bsd-3)))
(define-public rust-curve25519-dalek-ng-4
(package
(name "rust-curve25519-dalek-ng")
(version "4.1.1")
(source (origin
(method url-fetch)
(uri (crate-uri "curve25519-dalek-ng" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1j6y6dsqdfp26ifyygibsrm1a8f9f7870i4053xlczil95r9nd8w"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-digest" ,rust-digest-0.9)
("rust-packed-simd-2" ,rust-packed-simd-2-0.3)
("rust-rand-core" ,rust-rand-core-0.6)
("rust-serde" ,rust-serde-1)
("rust-subtle-ng" ,rust-subtle-ng-2)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-criterion" ,rust-criterion-0.3)
("rust-rand" ,rust-rand-0.8)
("rust-sha2" ,rust-sha2-0.9))))
(home-page "https://github.com/zkcrypto/curve25519-dalek-ng")
(synopsis "Implementation of group operations on ristretto255 and Curve25519")
(description
"This package provides a pure-Rust implementation of group operations on
ristretto255 and Curve25519.")
(license license:bsd-3)))

View File

@ -17022,74 +17022,6 @@ requests.")
"This package provides native bindings to the @code{libcurl} library.")
(license license:expat)))
(define-public rust-curve25519-dalek-3
(package
(name "rust-curve25519-dalek")
(version "3.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "curve25519-dalek" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0q8v97275cy6v4ly6y2qwv9a8phnpjg9sy8kv7r6mgdjfacxz7qb"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-digest" ,rust-digest-0.9)
("rust-fiat-crypto" ,rust-fiat-crypto-0.1)
("rust-packed-simd-2" ,rust-packed-simd-2-0.3)
("rust-rand-core" ,rust-rand-core-0.5)
("rust-serde" ,rust-serde-1)
("rust-subtle" ,rust-subtle-2)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-criterion" ,rust-criterion-0.3)
("rust-hex" ,rust-hex-0.4)
("rust-rand" ,rust-rand-0.7)
("rust-sha2" ,rust-sha2-0.9))))
(home-page "https://dalek.rs/curve25519-dalek")
(synopsis "Group operations on ristretto255 and Curve25519")
(description
"This package provides a pure-Rust implementation of group operations on
ristretto255 and Curve25519.")
(license license:bsd-3)))
(define-public rust-curve25519-dalek-ng-4
(package
(name "rust-curve25519-dalek-ng")
(version "4.1.1")
(source (origin
(method url-fetch)
(uri (crate-uri "curve25519-dalek-ng" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1j6y6dsqdfp26ifyygibsrm1a8f9f7870i4053xlczil95r9nd8w"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-digest" ,rust-digest-0.9)
("rust-packed-simd-2" ,rust-packed-simd-2-0.3)
("rust-rand-core" ,rust-rand-core-0.6)
("rust-serde" ,rust-serde-1)
("rust-subtle-ng" ,rust-subtle-ng-2)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-bincode" ,rust-bincode-1)
("rust-criterion" ,rust-criterion-0.3)
("rust-rand" ,rust-rand-0.8)
("rust-sha2" ,rust-sha2-0.9))))
(home-page "https://github.com/zkcrypto/curve25519-dalek-ng")
(synopsis "Implementation of group operations on ristretto255 and Curve25519")
(description
"This package provides a pure-Rust implementation of group operations on
ristretto255 and Curve25519.")
(license license:bsd-3)))
(define-public rust-cust-0.2
(package
(name "rust-cust")