summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-26 12:49:52 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:24 +0100
commit6a1c669acf77af1ae247ce18fdc1feff771fd691 (patch)
tree914a62d2011630e018fe1b9acb80da0a3affda66
parent0f681074c54129fc6af1d1d13ab2e5a1171973fb (diff)
gnu: Add go-github-com-urfave-negroni.
* gnu/packages/golang-web.scm (go-github-com-urfave-negroni) (go-github-com-urfave-negroni-v3): New variables. Change-Id: I67b334df6c61c0db6f7614382c21c60e7280ec67
-rw-r--r--gnu/packages/golang-web.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index fcfc23d1cf..20d5488fa6 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -8612,6 +8612,49 @@ extract data from those paths.")
encoding library for the MessagePack, CBOR, JSON and the Binc formats.")
(license license:expat)))
+(define-public go-github-com-urfave-negroni
+ (package
+ (name "go-github-com-urfave-negroni")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/urfave/negroni")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1gp6j74adi1cn8fq5v3wzlzhwl4zg43n2746m4fzdcdimihk3ccp"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/urfave/negroni"))
+ (home-page "https://github.com/urfave/negroni")
+ (synopsis "Idiomatic HTTP Middleware for Golang")
+ (description
+ "Package negroni is an idiomatic approach to web middleware in Go. It is
+tiny,non-intrusive, and encourages use of @code{net/http} Handlers.")
+ (license license:expat)))
+
+(define-public go-github-com-urfave-negroni-v3
+ (package
+ (inherit go-github-com-urfave-negroni)
+ (name "go-github-com-urfave-negroni-v3")
+ (version "3.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/urfave/negroni")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04fbp15jq23sp10kgrpgmbif3mvzs82m1wx2bbmgknh27yy8i95y"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/urfave/negroni/v3"))))
+
(define-public go-github-com-valyala-fasthttp
(package
(name "go-github-com-valyala-fasthttp")