aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-crypto.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-18 12:01:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:20 +0300
commit4c7d7351e88744f8bad4bd2704bbc3486206c477 (patch)
tree3bbe84209419b79614b67d6518c268ad74c8229f /gnu/packages/crates-crypto.scm
parent506bd05fbf34523c29394b00b9898f39140daa01 (diff)
downloadguix-4c7d7351e88744f8bad4bd2704bbc3486206c477.tar.gz
guix-4c7d7351e88744f8bad4bd2704bbc3486206c477.zip
gnu: Add rust-csrf-0.4.
* gnu/packages/crates-crypto.scm (rust-csrf-0.4): New variable. Change-Id: I8fe9c82b65e24d5bc1a08efa2518baf6052722bc
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r--gnu/packages/crates-crypto.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 7bef14b16d..3c6383b66e 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -1642,6 +1642,36 @@ algorithms.")
hash functions.")
(license license:expat)))
+(define-public rust-csrf-0.4
+ (package
+ (name "rust-csrf")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "csrf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1q7ixhshj6a7x2vgsr4d4iqa5mgp4fwkr4lx2hgvnj9xcy1py9dh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-aead" ,rust-aead-0.4)
+ ("rust-aes-gcm" ,rust-aes-gcm-0.9)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-chacha20poly1305" ,rust-chacha20poly1305-0.8)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-data-encoding" ,rust-data-encoding-2)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-hmac" ,rust-hmac-0.11)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-typemap" ,rust-typemap-0.3))))
+ (home-page "https://github.com/heartsucker/rust-csrf")
+ (synopsis "CSRF protection primitives")
+ (description "This package provides CSRF protection primitives.")
+ (license license:expat)))
+
(define-public rust-ctr-0.9
(package
(name "rust-ctr")