From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOPdR-0000aK-Sj for guix-patches@gnu.org; Thu, 31 May 2018 11:37:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOPdO-0000eo-OJ for guix-patches@gnu.org; Thu, 31 May 2018 11:37:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOPdO-0000ee-Kv for guix-patches@gnu.org; Thu, 31 May 2018 11:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fOPdO-0007vt-Eb for guix-patches@gnu.org; Thu, 31 May 2018 11:37:02 -0400 Subject: [bug#31670] [PATCH 1/3] gnu: Add go-github-com-gorilla-mux. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOPci-0000U7-Ed for guix-patches@gnu.org; Thu, 31 May 2018 11:36:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOPcf-0000Eh-4F for guix-patches@gnu.org; Thu, 31 May 2018 11:36:20 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:52926) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fOPce-0000C5-Q9 for guix-patches@gnu.org; Thu, 31 May 2018 11:36:17 -0400 From: Rouby Pierre-Antoine Date: Thu, 31 May 2018 17:34:53 +0200 Message-Id: <20180531153453.21396-1-pierre-antoine.rouby@inria.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31670@debbugs.gnu.org Cc: Rouby Pierre-Antoine * 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