From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWQpv-0007sW-0D for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWQpr-0008Q1-R2 for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52655) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWQpr-0008Po-OO for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWQpr-0008SZ-JR for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:03 -0400 Subject: [bug#31939] [PATCH 06/13] gnu: Add go-github-com-yookoala-realpath. Resent-Message-ID: From: Pierre Neidhardt Date: Fri, 22 Jun 2018 20:30:24 +0200 Message-Id: <20180622183031.3044-5-ambrevar@gmail.com> In-Reply-To: <20180622183031.3044-1-ambrevar@gmail.com> References: <20180622183031.3044-1-ambrevar@gmail.com> 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: 31939@debbugs.gnu.org * gnu/packages/golang.scm (go-github-com-yookoala-realpath): New variable. --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 80faf9675..f5c9214e5 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1960,3 +1960,30 @@ all functions from the Lua string library. Lua patterns are replaced by Go regexps. This breaks compatibility with Lua, but Unicode support breaks it anyways and Go regexps are more powerful.") (license license:bsd-style)))) + +(define-public go-github-com-yookoala-realpath + (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8") + (revision "0")) + (package + (name "go-github-com-yookoala-realpath") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/yookoala/realpath") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/yookoala/realpath")) + (home-page "https://github.com/yookoala/realpath") + (synopsis "@code{realpath} for Golang") + (description "This package provides @code{realpath}, a Go module that +when provided with a valid relative path / alias path, it will return you with +a string of its real absolute path in the system.") + (license license:bsd-style)))) -- 2.17.1