Subject: bug#31670: closed (Re: [bug#31670] [PATCH 3/3] gnu: Add go-github-com-spf13-pflag.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 11 Jun 2018 12:48:01 +0000

Your bug report

#31670: [PATCH 1/3] gnu: Add go-github-com-gorilla-mux.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
31670: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31670
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#31670] [PATCH 3/3] gnu: Add go-github-com-spf13-pflag.
From: [email-masked] (Ludovic Courtès)
To: Rouby Pierre-Antoine <[email-masked]>
Cc: [email-masked]
Date: Mon, 11 Jun 2018 14:47:04 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

I tweaked the synopses and descriptions to follow our guidelines (info
"(guix) Synopses and Descriptions") and applied all three patches.

Thank you!

Ludo’.

Subject: [PATCH 1/3] gnu: Add go-github-com-gorilla-mux.
From: Rouby Pierre-Antoine <[email-masked]>
To: [email-masked]
Cc: Rouby Pierre-Antoine <[email-masked]>
Date: Thu, 31 May 2018 17:34:53 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/golang.scm (go-github-com-gorilla-mux): New variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cad6e5a60..7ab29abe0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1626,3 +1626,29 @@ values.")
       (description "Gorilla/context is a general purpose registry for global
 request variables.")
       (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 "This package is url router and dispatcher for golang")
+      (description
+       "Gorilla/Mux implements a request router and dispatcher for matching
+incoming requests to their respective handler.")
+      (license license:bsd-3))))
-- 
2.17.0