[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: Add go-github-com-gorilla-csrf.
From: |
guix-commits |
Subject: |
05/07: gnu: Add go-github-com-gorilla-csrf. |
Date: |
Tue, 8 Dec 2020 03:53:17 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 2d0716e08127eef0732d272125d4c875f5009109
Author: Martin Becze <mjbecze@riseup.net>
AuthorDate: Mon Nov 30 14:24:06 2020 -0600
gnu: Add go-github-com-gorilla-csrf.
* gnu/packages/golang.scm (go-github-com-gorilla-csrf): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c3f5ee5..876b331 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1382,6 +1382,33 @@ cookie values")
encrypted cookie values for Go web applications.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-csrf
+ (package
+ (name "go-github-com-gorilla-csrf")
+ (version "1.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/csrf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
+ ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
+ (arguments
+ '(#:import-path "github.com/gorilla/csrf"))
+ (home-page "https://github.com/gorilla/csrf")
+ (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
+ (description
+ "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
+middleware for Go web applications and services.")
+ (license license:bsd-3)))
+
(define-public go-github-com-jonboulle-clockwork
(let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
(revision "0"))
- branch master updated (53cd301 -> 2d8deaa), guix-commits, 2020/12/08
- 05/07: gnu: Add go-github-com-gorilla-csrf.,
guix-commits <=
- 06/07: gnu: Add go-gopkg-in-natefinch-lumberjack.v2., guix-commits, 2020/12/08
- 04/07: gnu: Add go-github-com-gorilla-securecookie., guix-commits, 2020/12/08
- 07/07: gnu: trezord: Update to 2.0.30., guix-commits, 2020/12/08
- 02/07: gnu: Add go-github-com-felixge-httpsnoop., guix-commits, 2020/12/08
- 01/07: gnu: go-github-com-gorilla-mux: Update to 1.8.0., guix-commits, 2020/12/08
- 03/07: gnu: Add go-github-com-gorilla-handlers., guix-commits, 2020/12/08