From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efRyc-0003Om-Cs for guix-patches@gnu.org; Sat, 27 Jan 2018 10:01:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efRyb-0000X7-28 for guix-patches@gnu.org; Sat, 27 Jan 2018 10:01:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37457) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efRya-0000Wi-V4 for guix-patches@gnu.org; Sat, 27 Jan 2018 10:01:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1efRya-0004pc-Nm for guix-patches@gnu.org; Sat, 27 Jan 2018 10:01:04 -0500 Subject: [bug#30214] [PATCH 07/10] gnu: Add go-gopkg.in-tomb.v2. Resent-Message-ID: From: Christopher Baines Date: Sat, 27 Jan 2018 15:00:24 +0000 Message-Id: <20180127150027.27150-7-mail@cbaines.net> In-Reply-To: <20180127150027.27150-1-mail@cbaines.net> References: <20180127150027.27150-1-mail@cbaines.net> 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: 30214@debbugs.gnu.org * gnu/packages/golang.scm (go-gopkg.in-tomb.v2): New variable. --- gnu/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 323786c6d..b8eb90ed9 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -471,3 +471,28 @@ functionality is similar to the go builtin @code{flag} package, but way of specifying command line options.") (home-page "https://github.com/jessevdk/go-flags") (license license:bsd-3))) + +(define-public go-gopkg.in-tomb.v2 + (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c") + (revision "0")) + (package + (name "go-gopkg.in-tomb.v2") + (version (string-append "0.0.0-" revision "." (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-tomb/tomb.git") + (commit commit))) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10")))) + (build-system go-build-system) + (arguments + '(#:import-path "gopkg.in/tomb.v2")) + (synopsis "@code{tomb} handles clean goroutine tracking and termination") + (description + "The @code{tomb} package handles clean goroutine tracking and +termination.") + (home-page "https://gopkg.in/tomb.v2") + (license license:bsd-3)))) -- 2.15.1