From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edjKz-0005IX-WE for guix-patches@gnu.org; Mon, 22 Jan 2018 16:09:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edjKy-0002rI-NY for guix-patches@gnu.org; Mon, 22 Jan 2018 16:09:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:58948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1edjKy-0002r7-KA for guix-patches@gnu.org; Mon, 22 Jan 2018 16:09:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1edjKy-0007n6-EC for guix-patches@gnu.org; Mon, 22 Jan 2018 16:09:04 -0500 Subject: [bug#30214] [PATCH 07/10] gnu: Add go-gopkg.in-tomb.v2. Resent-Message-ID: From: Christopher Baines Date: Mon, 22 Jan 2018 21:08:27 +0000 Message-Id: <20180122210830.28924-7-mail@cbaines.net> In-Reply-To: <20180122210830.28924-1-mail@cbaines.net> References: <87h8rd4nxg.fsf@cbaines.net> <20180122210830.28924-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 514b347a5..5565a0965 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -480,3 +480,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 "-checkout")) + (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