mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-07 03:44:06 -05:00
gnu: rust-cookie: Move versions closer together.
* gnu/packages/crates-io.scm (rust-cookie-0.15): Move above other cookies. (rust-cookie-0.12): Inherit from it.
This commit is contained in:
parent
d4869c846d
commit
11583b9cb2
1 changed files with 35 additions and 39 deletions
|
@ -12495,8 +12495,42 @@ (define-public rust-convert-case-0.4
|
||||||
(description "Convert strings into any case.")
|
(description "Convert strings into any case.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-cookie-0.15
|
||||||
|
(package
|
||||||
|
(name "rust-cookie")
|
||||||
|
(version "0.15.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "cookie" version))
|
||||||
|
(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)
|
||||||
|
("rust-base64" ,rust-base64-0.13)
|
||||||
|
("rust-hkdf" ,rust-hkdf-0.10)
|
||||||
|
("rust-hmac" ,rust-hmac-0.10)
|
||||||
|
("rust-percent-encoding" ,rust-percent-encoding-2)
|
||||||
|
("rust-rand" ,rust-rand-0.8)
|
||||||
|
("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))))
|
||||||
|
|
||||||
(define-public rust-cookie-0.12
|
(define-public rust-cookie-0.12
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-cookie-0.15)
|
||||||
(name "rust-cookie")
|
(name "rust-cookie")
|
||||||
(version "0.12.0")
|
(version "0.12.0")
|
||||||
(source
|
(source
|
||||||
|
@ -12508,20 +12542,12 @@ (define-public rust-cookie-0.12
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1mdvqixahcywvqp0y8k2skkgbpfhsp0w73l9mz93dcrx1gq091l8"))))
|
"1mdvqixahcywvqp0y8k2skkgbpfhsp0w73l9mz93dcrx1gq091l8"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-base64" ,rust-base64-0.10)
|
(("rust-base64" ,rust-base64-0.10)
|
||||||
("rust-ring" ,rust-ring-0.14)
|
("rust-ring" ,rust-ring-0.14)
|
||||||
("rust-time" ,rust-time-0.1)
|
("rust-time" ,rust-time-0.1)
|
||||||
("rust-url" ,rust-url-1))))
|
("rust-url" ,rust-url-1))))))
|
||||||
(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.")
|
|
||||||
(license (list license:asl2.0 license:expat))))
|
|
||||||
|
|
||||||
(define-public rust-cookie-0.11
|
(define-public rust-cookie-0.11
|
||||||
(package
|
(package
|
||||||
|
@ -12641,36 +12667,6 @@ (define-public rust-cordic-0.1
|
||||||
numbers using the CORDIC method.")
|
numbers using the CORDIC method.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public rust-cookie-0.15
|
|
||||||
(package
|
|
||||||
(name "rust-cookie")
|
|
||||||
(version "0.15.1")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (crate-uri "cookie" version))
|
|
||||||
(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)
|
|
||||||
("rust-base64" ,rust-base64-0.13)
|
|
||||||
("rust-hkdf" ,rust-hkdf-0.10)
|
|
||||||
("rust-hmac" ,rust-hmac-0.10)
|
|
||||||
("rust-percent-encoding" ,rust-percent-encoding-2)
|
|
||||||
("rust-rand" ,rust-rand-0.8)
|
|
||||||
("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 "HTTP cookie parsing and cookie jar management")
|
|
||||||
(description "This package provides HTTP cookie parsing and cookie jar
|
|
||||||
management. It supports signed and private (encrypted, authenticated) jars.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-core2-0.3
|
(define-public rust-core2-0.3
|
||||||
(package
|
(package
|
||||||
(name "rust-core2")
|
(name "rust-core2")
|
||||||
|
|
Loading…
Reference in a new issue