From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIZjN-00079u-Mw for guix-patches@gnu.org; Tue, 15 May 2018 09:11:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIZjK-0003Fn-FX for guix-patches@gnu.org; Tue, 15 May 2018 09:11:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIZjK-0003Fa-CS for guix-patches@gnu.org; Tue, 15 May 2018 09:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fIZjK-0001H5-3R for guix-patches@gnu.org; Tue, 15 May 2018 09:11:02 -0400 Subject: [bug#31463] [PATCH 1/6] gnu: Add go-github-com-burntsushi-toml. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIZi5-0006bf-0f for guix-patches@gnu.org; Tue, 15 May 2018 09:09:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIZi1-0002Ea-Qu for guix-patches@gnu.org; Tue, 15 May 2018 09:09:44 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:32445) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fIZi1-0002Ct-FN for guix-patches@gnu.org; Tue, 15 May 2018 09:09:41 -0400 From: Rouby Pierre-Antoine Date: Tue, 15 May 2018 15:09:20 +0200 Message-Id: <20180515130920.850-1-pierre-antoine.rouby@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 31463@debbugs.gnu.org Cc: Rouby Pierre-Antoine * gnu/packages/golang.scm (go-github-com-burntsushi-toml): New variable. --- gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c6fc68468..9360fe4b2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Christopher Baines ;;; Copyright © 2018 Tomáš Čech +;;; Copyright © 2018 Pierre-Antoine Rouby ;;; ;;; This file is part of GNU Guix. ;;; @@ -1300,3 +1301,30 @@ support functions for dealing with terminals, as commonly found on UNIX systems.") (home-page "https://go.googlesource.com/crypto/") (license license:bsd-3)))) + +(define-public go-github-com-burntsushi-toml + (let ((commit + "a368813c5e648fee92e5f6c30e3944ff9d5e8895") + (revision "0")) + (package + (name "go-github-com-burntsushi-toml") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/BurntSushi/toml.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1sjxs2lwc8jpln80s4rlzp7nprbcljhy5mz4rf9995gq93wqnym5")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/BurntSushi/toml")) + (home-page "https://github.com/BurntSushi/toml") + (synopsis "Toml parsre and encoder for Go") + (description "This package is toml parser and encoder for Go. This +package interface similar to Go's standard library @code{json} and @code{xml} +package.") + (license license:expat)))) -- 2.17.0