mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-06 11:00:19 +01:00
gnu: Add rust-poly1305-0.8.
* gnu/packages/crates-io.scm (rust-poly1305-0.8): New variable. (rust-poly1305-0.7): Inherit from rust-poly1305-0.8. Change-Id: I853879812db8636e3a5ef8743ac5215f97156685 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
3902a1413e
commit
a47649dd5c
1 changed files with 27 additions and 8 deletions
|
@ -51691,8 +51691,34 @@ library.")
|
||||||
(description "Proc-macro crate for pollster.")
|
(description "Proc-macro crate for pollster.")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-poly1305-0.8
|
||||||
|
(package
|
||||||
|
(name "rust-poly1305")
|
||||||
|
(version "0.8.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "poly1305" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1grs77skh7d8vi61ji44i8gpzs3r9x7vay50i6cg8baxfa8bsnc1"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs (("rust-cpufeatures" ,rust-cpufeatures-0.2)
|
||||||
|
("rust-opaque-debug" ,rust-opaque-debug-0.3)
|
||||||
|
("rust-universal-hash" ,rust-universal-hash-0.5)
|
||||||
|
("rust-zeroize" ,rust-zeroize-1))
|
||||||
|
#:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3))))
|
||||||
|
(home-page "https://github.com/RustCrypto/universal-hashes")
|
||||||
|
(synopsis "Poly1305 universal hash")
|
||||||
|
(description
|
||||||
|
"Poly1305 is a universal hash function which, when combined with
|
||||||
|
a cipher, can be used as a Message Authentication Code (MAC).")
|
||||||
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
(define-public rust-poly1305-0.7
|
(define-public rust-poly1305-0.7
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-poly1305-0.8)
|
||||||
(name "rust-poly1305")
|
(name "rust-poly1305")
|
||||||
(version "0.7.2")
|
(version "0.7.2")
|
||||||
(source
|
(source
|
||||||
|
@ -51706,7 +51732,6 @@ library.")
|
||||||
(snippet
|
(snippet
|
||||||
'(begin (substitute* "Cargo.toml"
|
'(begin (substitute* "Cargo.toml"
|
||||||
(("version = \">=1, <1\\.4\"") "version = \"^1\""))))))
|
(("version = \">=1, <1\\.4\"") "version = \"^1\""))))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-cpufeatures" ,rust-cpufeatures-0.2)
|
(("rust-cpufeatures" ,rust-cpufeatures-0.2)
|
||||||
|
@ -51714,13 +51739,7 @@ library.")
|
||||||
("rust-universal-hash" ,rust-universal-hash-0.4)
|
("rust-universal-hash" ,rust-universal-hash-0.4)
|
||||||
("rust-zeroize" ,rust-zeroize-1))
|
("rust-zeroize" ,rust-zeroize-1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-hex-literal" ,rust-hex-literal-0.3))))
|
(("rust-hex-literal" ,rust-hex-literal-0.3))))))
|
||||||
(home-page "https://github.com/RustCrypto/universal-hashes")
|
|
||||||
(synopsis "Poly1305 universal hash")
|
|
||||||
(description
|
|
||||||
"Poly1305 is a universal hash function which, when combined with
|
|
||||||
a cipher, can be used as a Message Authentication Code (MAC).")
|
|
||||||
(license (list license:asl2.0 license:expat))))
|
|
||||||
|
|
||||||
(define-public rust-polyval-0.6
|
(define-public rust-polyval-0.6
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Reference in a new issue