me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-salsa20-0.10.

* gnu/packages/crates-io.scm (rust-salsa20-0.10): New variable.
(rust-salsa20-0.9): Inherit from rust-salsa20-0.10.
Efraim Flashner 2023-05-11 17:12:46 +03:00
parent ed55ad8f63
commit 027d5f665e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 26 additions and 7 deletions

View File

@ -53977,8 +53977,33 @@ quickly convert floating point numbers to decimal strings.")
"This package provides a procedural macros for the salsa crate.") "This package provides a procedural macros for the salsa crate.")
(license (list license:asl2.0 license:expat)))) (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 (define-public rust-salsa20-0.9
(package (package
(inherit rust-salsa20-0.10)
(name "rust-salsa20") (name "rust-salsa20")
(version "0.9.0") (version "0.9.0")
(source (source
@ -53988,17 +54013,11 @@ quickly convert floating point numbers to decimal strings.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "11i646kpgimimqiq8hyi0b7ngp588f7nl9xsc317d9kdcxgvn3qc")))) (base32 "11i646kpgimimqiq8hyi0b7ngp588f7nl9xsc317d9kdcxgvn3qc"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-cipher" ,rust-cipher-0.3) (("rust-cipher" ,rust-cipher-0.3)
("rust-zeroize" ,rust-zeroize-1)))) ("rust-zeroize" ,rust-zeroize-1))))))
(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-salsa-0.17 (define-public rust-salsa-0.17
(package (package