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

* gnu/packages/crates-io.scm (rust-salsa20-0.10, rust-salsa20-0.9,
rust-salsa20-0.7): Move from here ...
* gnu/packages/crates-crypto.scm: ... to here.

Change-Id: I219444064c8a4acbcc6b51d37c2b3c6aabf5134d
This commit is contained in:
Efraim Flashner 2024-01-21 16:02:22 +02:00
parent f78a25fb78
commit dcd1b5b031
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 61 additions and 66 deletions

View file

@ -3634,6 +3634,67 @@ (define-public rust-rsa-0.5
("rust-sha2" ,rust-sha2-0.9)
("rust-sha3" ,rust-sha3-0.9))))))
(define-public rust-salsa20-0.10
(package
(name "rust-salsa20")
(version "0.10.2")
(source (origin
(method url-fetch)
(uri (crate-uri "salsa20" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"04w211x17xzny53f83p8f7cj7k2hi8zck282q5aajwqzydd2z8lp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cipher" ,rust-cipher-0.4))
#:cargo-development-inputs
(("rust-cipher" ,rust-cipher-0.4)
("rust-hex-literal" ,rust-hex-literal-0.3))))
(home-page "https://github.com/RustCrypto/stream-ciphers")
(synopsis "Salsa20 Stream Cipher")
(description "Salsa20 is a collection of stream cipher algorithms written
in pure Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-salsa20-0.9
(package
(inherit rust-salsa20-0.10)
(name "rust-salsa20")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "salsa20" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "11i646kpgimimqiq8hyi0b7ngp588f7nl9xsc317d9kdcxgvn3qc"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-cipher" ,rust-cipher-0.3)
("rust-zeroize" ,rust-zeroize-1))))))
(define-public rust-salsa20-0.7
(package
(inherit rust-salsa20-0.10)
(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"))))
(arguments
`(#:cargo-inputs
(("rust-cipher" ,rust-cipher-0.2)
("rust-zeroize" ,rust-zeroize-1))
#:cargo-development-inputs
(("rust-cipher" ,rust-cipher-0.2))))))
(define-public rust-sha-1-0.10
(package
(name "rust-sha-1")

View file

@ -59708,48 +59708,6 @@ (define-public rust-salsa-macros-0.17
"This package provides a procedural macros for the salsa crate.")
(license (list license:asl2.0 license:expat))))
(define-public rust-salsa20-0.10
(package
(name "rust-salsa20")
(version "0.10.2")
(source (origin
(method url-fetch)
(uri (crate-uri "salsa20" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"04w211x17xzny53f83p8f7cj7k2hi8zck282q5aajwqzydd2z8lp"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cipher" ,rust-cipher-0.4))
#:cargo-development-inputs
(("rust-cipher" ,rust-cipher-0.4)
("rust-hex-literal" ,rust-hex-literal-0.3))))
(home-page "https://github.com/RustCrypto/stream-ciphers")
(synopsis "Salsa20 Stream Cipher")
(description "Salsa20 is a collection of stream cipher algorithms written
in pure Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-salsa20-0.9
(package
(inherit rust-salsa20-0.10)
(name "rust-salsa20")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "salsa20" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "11i646kpgimimqiq8hyi0b7ngp588f7nl9xsc317d9kdcxgvn3qc"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-cipher" ,rust-cipher-0.3)
("rust-zeroize" ,rust-zeroize-1))))))
(define-public rust-salsa-0.17
(package
(name "rust-salsa")
@ -59794,30 +59752,6 @@ (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 "This is a Rust library implementing the Salsa20 stream
cipher.")
(license (list license:expat license:asl2.0))))
(define-public rust-safe-arch-0.6
(package
(name "rust-safe-arch")