[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31881] [PATCH 2/4] gnu: Add go-github-com-kardianos-osext.
From: |
Rouby Pierre-Antoine |
Subject: |
[bug#31881] [PATCH 2/4] gnu: Add go-github-com-kardianos-osext. |
Date: |
Mon, 18 Jun 2018 17:18:19 +0200 |
* 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 3d1fc5b6d..5bda79dc9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1737,3 +1737,29 @@ POSIX/GNU-style --flags.")
"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