aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:52:07 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:50 +0200
commit18d88e4ae57137408fbef0f53e4e4a4313a57781 (patch)
treebe6d3bbad9dc2ab3f6a83d5368c64afa2a526449 /gnu/packages
parent0a2a7e59fb31b7792dda14af765484ee4ea6e0a2 (diff)
downloadguix-18d88e4ae57137408fbef0f53e4e4a4313a57781.tar
guix-18d88e4ae57137408fbef0f53e4e4a4313a57781.tar.gz
gnu: Add rust-cookie-0.18.
* gnu/packages/crates-io.scm (rust-cookie-0.18): New variable. (rust-cookie-0.17): Inherit from rust-cookie-0.18. Change-Id: I1cb9f9adf7998af7c2b3848018ea427076fd050b Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm44
1 files changed, 34 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8e7e9eda4f..973e625b3d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14497,8 +14497,41 @@ semantics than those provided by @code{as} or @code{From}/@code{Into}.")
#:cargo-inputs
(("rust-rand" ,rust-rand-0.7))))))
+(define-public rust-cookie-0.18
+ (package
+ (name "rust-cookie")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cookie" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1y2ywf9isq0dwpj7m7jq7r1g9cs3xr2i6qipw5v030hj2kv1rn9w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-aes-gcm" ,rust-aes-gcm-0.10)
+ ("rust-base64" ,rust-base64-0.21)
+ ("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.17
(package
+ (inherit rust-cookie-0.18)
(name "rust-cookie")
(version "0.17.0")
(source (origin
@@ -14508,7 +14541,6 @@ semantics than those provided by @code{as} or @code{From}/@code{Into}.")
(sha256
(base32
"096c52jg9iq4lfcps2psncswv33fc30mmnaa2sbzzcfcw71kgyvy"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-aes-gcm" ,rust-aes-gcm-0.10)
@@ -14520,15 +14552,7 @@ semantics than those provided by @code{as} or @code{From}/@code{Into}.")
("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))))
+ ("rust-version-check" ,rust-version-check-0.9))))))
(define-public rust-cookie-0.16
(package