aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
authorRouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>2018-05-31 17:34:53 +0200
committerLudovic Courtès <ludo@gnu.org>2018-06-11 15:19:01 +0200
commite8cdf560b0fd4a544e335107e2b32fb7e63524e2 (patch)
tree71c35ea2991bac9e2cc08d418d9c1154525e4a8c /gnu/packages/golang.scm
parenta708de151c255712071e42e5c8284756b51768cd (diff)
downloadpatches-e8cdf560b0fd4a544e335107e2b32fb7e63524e2.tar
patches-e8cdf560b0fd4a544e335107e2b32fb7e63524e2.tar.gz
gnu: Add go-github-com-gorilla-mux.
* gnu/packages/golang.scm (go-github-com-gorilla-mux): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r--gnu/packages/golang.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d61747a09c..da87be1f83 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1621,3 +1621,29 @@ values for the purpose of fuzz testing.")
(synopsis "Go registry for request variables")
(description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
(license license:bsd-3))))
+
+(define-public go-github-com-gorilla-mux
+ (let ((commit "599cba5e7b6137d46ddf58fb1765f5d928e69604")
+ (revision "0"))
+ (package
+ (name "go-github-com-gorilla-mux")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/mux.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0wd6jjii1kg5s0nk3ri6gqriz6hbd6bbcn6x4jf8n7ncrb8qsxyz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/mux"))
+ (home-page "https://github.com/gorilla/mux")
+ (synopsis "URL router and dispatcher for Go")
+ (description
+ "Gorilla/Mux implements a request router and dispatcher for matching
+incoming requests with their respective handler.")
+ (license license:bsd-3))))