me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-cipher-0.4.

* gnu/packages/crates-io.scm (rust-cipher-0.4): New variable.
(rust-cipher-0.3): Inherit from rust-cipher-0.4.
master
Efraim Flashner 2023-02-22 10:33:47 +02:00
parent 08985e4f75
commit a4e6a18e1e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 30 additions and 10 deletions

View File

@ -10828,8 +10828,36 @@ usage.")
(description "This package provides Rust bindings for libclang.")
(license license:asl2.0)))
(define-public rust-cipher-0.4
(package
(name "rust-cipher")
(version "0.4.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "cipher" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "17mmmqaalirdx7bpdhrgzp1sd392zm08mjrr24cjr57pz1q351yi"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-blobby" ,rust-blobby-0.3)
("rust-crypto-common" ,rust-crypto-common-0.1)
("rust-inout" ,rust-inout-0.1)
("rust-zeroize" ,rust-zeroize-1))))
(home-page "https://docs.rs/cipher/")
(synopsis "Traits for describing block ciphers and stream ciphers")
(description "This package provides traits which define the functionality
of block ciphers and stream ciphers. See RustCrypto/block-ciphers and
RustCrypto/stream-ciphers for algorithm implementations which use these
traits.")
(license (list license:expat license:asl2.0))))
(define-public rust-cipher-0.3
(package
(inherit rust-cipher-0.4)
(name "rust-cipher")
(version "0.3.0")
(source
@ -10840,18 +10868,10 @@ usage.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-blobby" ,rust-blobby-0.3)
("rust-generic-array" ,rust-generic-array-0.14))))
(home-page "https://docs.rs/cipher/")
(synopsis "Traits for describing block ciphers and stream ciphers")
(description "This package provides traits which define the functionality
of block ciphers and stream ciphers. See RustCrypto/block-ciphers and
RustCrypto/stream-ciphers for algorithm implementations which use these
traits.")
(license (list license:expat license:asl2.0))))
(("rust-blobby" ,rust-blobby-0.3)
("rust-generic-array" ,rust-generic-array-0.14))))))
(define-public rust-cipher-0.2
(package