From c99318761c1ca2afcb19c644c830b7952e2688e9 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sun, 9 Aug 2020 11:05:17 +0300 Subject: gnu: Add go-github-com-go-git-go-billy. * gnu/packages/golang.scm (go-github-com-go-git-go-billy): 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 9d99aea339..9bd4f8fc50 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5136,3 +5136,29 @@ (define-public go-github-com-go-git-gcfg (synopsis "Gcfg reads INI-style configuration files into Go structs") (description "Gcfg reads INI-style configuration files into Go structs.") (license license:bsd-3))) + +(define-public go-github-com-go-git-go-billy + (package + (name "go-github-com-go-git-go-billy") + (version "5.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-git/go-billy") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1wdzczfk1n50dl2zpgf46m69b0sm8qkan5xyv82pk9x53zm1dmdx")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/go-git/go-billy/v5")) + (native-inputs + `(("go-gopkg-in-check-v1" ,go-gopkg-in-check-v1))) + (home-page "https://github.com/go-git/go-billy/") + (synopsis "Filesystem abstraction for Go") + (description "Billy implements an interface based on the os standard +library, allowing to develop applications without dependency on the underlying +storage. Makes it virtually free to implement mocks and testing over +filesystem operations.") + (license license:asl2.0))) -- cgit v1.2.3