From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVCFD-0002H5-Md for guix-patches@gnu.org; Tue, 19 Jun 2018 04:44:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVCF9-00076M-2W for guix-patches@gnu.org; Tue, 19 Jun 2018 04:44:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47812) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVCF8-00076E-Tz for guix-patches@gnu.org; Tue, 19 Jun 2018 04:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fVCF8-0008RB-Mw for guix-patches@gnu.org; Tue, 19 Jun 2018 04:44:02 -0400 Subject: [bug#31881] [PATCH 2/4] gnu: Add go-github-com-kardianos-osext. Resent-Message-ID: From: Rouby Pierre-Antoine Date: Tue, 19 Jun 2018 10:43:31 +0200 Message-Id: <20180619084333.8993-2-pierre-antoine.rouby@inria.fr> In-Reply-To: <20180619084333.8993-1-pierre-antoine.rouby@inria.fr> References: <20180619084333.8993-1-pierre-antoine.rouby@inria.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: 20180618161248.GB30565@jasmine.lan Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: leo@famulari.name Cc: 31881@debbugs.gnu.org, Rouby Pierre-Antoine * gnu/packages/golang.scm (go-github-com-kardianos-osext): 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 1dcf12d90..bef450eb6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1736,3 +1736,29 @@ GNU extensions} to the POSIX recommendations for command-line options.") "Logrus is a structured logger for Go, completely API compatible with the standard library logger.") (license license:expat)))) + +(define-public go-github-com-kardianos-osext + (let ((commit "c2c54e542fb797ad986b31721e1baedf214ca413") + (revision "0")) + (package + (name "go-github-com-kardianos-osext") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kardianos/osext.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02vmjhkx90601l5fym7c3r4d44b88h3cign86nz4yy6j8qqxvz3h")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/kardianos/osext")) + (home-page + "https://github.com/kardianos/osext") + (synopsis "This package is an extensions to the standard os package") + (description + "Osext is an extensions to the standard os package for Golang.") + (license license:bsd-3)))) -- 2.17.0