gnu: rust-crypto-mac-0.4: Inherit from rust-crypto-mac-0.11.

* gnu/packages/crates-crypto.scm (rust-crypto-mac-0.4): Inherit from
rust-crypto-mac-0.11.

Change-Id: I31f99172a8010487b265074b6c8dd94fb59b26d1
This commit is contained in:
Efraim Flashner 2024-01-22 21:22:15 +02:00
parent 41a327c179
commit cc4d653801
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 11 deletions

View File

@ -1554,27 +1554,20 @@ Code} (MAC) algorithms.")
(define-public rust-crypto-mac-0.4
(package
(inherit rust-crypto-mac-0.11)
(name "rust-crypto-mac")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "crypto-mac" version))
(file-name
(string-append name "-" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"160ixpghhz5kz16f38kzcyv6lx8wmi4cgbhlhq4nazf678iib43p"))))
(build-system cargo-build-system)
(base32 "160ixpghhz5kz16f38kzcyv6lx8wmi4cgbhlhq4nazf678iib43p"))))
(arguments
`(#:cargo-inputs
(("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
("rust-generic-array" ,rust-generic-array-0.8))))
(home-page "https://github.com/RustCrypto/traits")
(synopsis "Trait for Message Authentication Code (MAC) algorithms")
(description "This package provides traits for Message Authentication
Code (MAC) algorithms.")
(license (list license:expat license:asl2.0))))
("rust-generic-array" ,rust-generic-array-0.8))))))
(define-public rust-crypto-tests-0.5
(package