gnu: Add rust-subtle-2.

* gnu/packages/crates-io.scm (rust-subtle-2): New variable.
(rust-subtle-1.0): Inherit from rust-subtle-2.
This commit is contained in:
Efraim Flashner 2020-06-28 14:16:19 +03:00
parent 16f9571234
commit 61521e1a7a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -22749,8 +22749,31 @@ (define-public rust-structopt-derive-0.2
"Parse command line argument by defining a struct, derive crate.")
(license (list license:asl2.0 license:expat))))
(define-public rust-subtle-2
(package
(name "rust-subtle")
(version "2.2.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "subtle" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1h9jd7v0imksyl5mvnjk2rw54sa3xrril76z0md61mq2gh056bah"))))
(build-system cargo-build-system)
(home-page "https://dalek.rs/")
(synopsis
"Pure-Rust traits and utilities for cryptographic implementations")
(description
"This package provides Pure-Rust traits and utilities for constant-time
cryptographic implementations.")
(license license:bsd-3)))
(define-public rust-subtle-1.0
(package
(inherit rust-subtle-2)
(name "rust-subtle")
(version "1.0.0")
(source
@ -22761,15 +22784,7 @@ (define-public rust-subtle-1.0
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1vm80mxbwfj334izwm8x8l65v1xl9hr0kwrg36r1rq565fkaarrd"))))
(build-system cargo-build-system)
(home-page "https://dalek.rs/")
(synopsis
"Pure-Rust traits and utilities for cryptographic implementations")
(description
"This package provides Pure-Rust traits and utilities for constant-time
cryptographic implementations.")
(license license:bsd-3)))
"1vm80mxbwfj334izwm8x8l65v1xl9hr0kwrg36r1rq565fkaarrd"))))))
(define-public rust-sval-0.4
(package