me
/
guix
Archived
1
0
Fork 0

gnu: Add go-github-com-gorilla-sessions.

* gnu/packages/golang.scm (go-github-com-gorilla-sessions): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
master
Nicolas Graves 2023-04-23 14:27:27 +02:00 committed by Leo Famulari
parent 2c2c43f877
commit 25ecc8342d
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 25 additions and 0 deletions

View File

@ -4273,6 +4273,31 @@ cookie values")
encrypted cookie values for Go web applications.") encrypted cookie values for Go web applications.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public go-github-com-gorilla-sessions
(package
(name "go-github-com-gorilla-sessions")
(version "1.2.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gorilla/sessions")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1zjw2s37yggk9231db0vmgs67z8m3am8i8l4gpgz6fvlbv52baxp"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/gorilla/sessions"))
(propagated-inputs (list go-github-com-gorilla-securecookie))
(home-page "https://github.com/gorilla/sessions")
(synopsis "Manage user sessions in web applications")
(description
"This package that provides infrastructure for creating and
managing user sessions in web applications. It supports cookie and
filesystem-based sessions, flash messages, custom backends, and more.")
(license license:bsd-3)))
(define-public go-github-com-gorilla-csrf (define-public go-github-com-gorilla-csrf
(package (package
(name "go-github-com-gorilla-csrf") (name "go-github-com-gorilla-csrf")