From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOPgL-0001mp-W9 for guix-patches@gnu.org; Thu, 31 May 2018 11:40:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOPgI-0001zQ-S4 for guix-patches@gnu.org; Thu, 31 May 2018 11:40:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48268) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOPgI-0001zI-OG for guix-patches@gnu.org; Thu, 31 May 2018 11:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fOPgI-000824-Ha for guix-patches@gnu.org; Thu, 31 May 2018 11:40:02 -0400 Subject: [bug#31670] [PATCH 3/3] gnu: Add go-github-com-spf13-pflag. References: <20180531153453.21396-1-pierre-antoine.rouby@inria.fr> In-Reply-To: <20180531153453.21396-1-pierre-antoine.rouby@inria.fr> Resent-Message-ID: From: Rouby Pierre-Antoine Date: Thu, 31 May 2018 17:38:59 +0200 Message-Id: <20180531153859.21889-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-spf13-pflag): 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 5876598da..6c21181da 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1677,3 +1677,29 @@ incoming requests to their respective handler.") (synopsis "This package is fake clock library for golang") (description "Clockwork replace golang time with clock interface.") (license license:asl2.0)))) + +(define-public go-github-com-spf13-pflag + (let ((commit "4f9190456aed1c2113ca51ea9b89219747458dc1") + (revision "0")) + (package + (name "go-github-com-spf13-pflag") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spf13/pflag.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12vrlcsbwjqlfc49rwky45mbcj74c0kb6z54354pzas6fwzyi1kc")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/spf13/pflag")) + (home-page "https://github.com/spf13/pflag") + (synopsis "This package is library to replace Go's flag package") + (description + "Pflag is library to replace Go's flag package, implementing +POSIX/GNU-style --flags.") + (license license:bsd-3)))) -- 2.17.0