mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: Add rust-cookie-0.16.
* gnu/packages/crates-io.scm (rust-cookie-0.16): New variable. (rust-cookie-0.15): Inherit from rust-cookie-0.16.
This commit is contained in:
parent
b15fb0270b
commit
a69d530cc5
1 changed files with 35 additions and 10 deletions
|
@ -12987,8 +12987,42 @@ (define-public rust-convert-case-0.4
|
|||
(description "Convert strings into any case.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-cookie-0.16
|
||||
(package
|
||||
(name "rust-cookie")
|
||||
(version "0.16.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "cookie" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1yriqbf77iigrnp2gmf6m1r296bndv051dc1qc39w3bis1bwsng8"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-aes-gcm" ,rust-aes-gcm-0.10)
|
||||
("rust-base64" ,rust-base64-0.20)
|
||||
("rust-hkdf" ,rust-hkdf-0.12)
|
||||
("rust-hmac" ,rust-hmac-0.12)
|
||||
("rust-percent-encoding" ,rust-percent-encoding-2)
|
||||
("rust-rand" ,rust-rand-0.8)
|
||||
("rust-sha2" ,rust-sha2-0.10)
|
||||
("rust-subtle" ,rust-subtle-2)
|
||||
("rust-time" ,rust-time-0.3)
|
||||
("rust-version-check" ,rust-version-check-0.9))))
|
||||
(home-page "https://github.com/SergioBenitez/cookie-rs")
|
||||
(synopsis
|
||||
"Crate for parsing HTTP cookie headers and managing a cookie jar")
|
||||
(description
|
||||
"Parse HTTP cookie headers and manage a cookie jar with this crate.
|
||||
It supports signed and private (encrypted + signed) jars.")
|
||||
;; The user can choose either license.
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-cookie-0.15
|
||||
(package
|
||||
(inherit rust-cookie-0.16)
|
||||
(name "rust-cookie")
|
||||
(version "0.15.1")
|
||||
(source
|
||||
|
@ -12998,7 +13032,6 @@ (define-public rust-cookie-0.15
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "03gql9c2l0wg3hpfp67wg2ns21wysk0xsjxwdbjrf0s6grrcgwfm"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-aes-gcm" ,rust-aes-gcm-0.8)
|
||||
|
@ -13010,15 +13043,7 @@ (define-public rust-cookie-0.15
|
|||
("rust-sha2" ,rust-sha2-0.9)
|
||||
("rust-subtle" ,rust-subtle-2)
|
||||
("rust-time" ,rust-time-0.2)
|
||||
("rust-version-check" ,rust-version-check-0.9))))
|
||||
(home-page "https://github.com/SergioBenitez/cookie-rs")
|
||||
(synopsis
|
||||
"Crate for parsing HTTP cookie headers and managing a cookie jar")
|
||||
(description
|
||||
"Parse HTTP cookie headers and manage a cookie jar with this crate.
|
||||
It supports signed and private (encrypted + signed) jars.")
|
||||
;; The user can choose either license.
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-version-check" ,rust-version-check-0.9))))))
|
||||
|
||||
(define-public rust-cookie-0.12
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue