diff options
author | Leo Famulari <leo@famulari.name> | 2018-06-20 12:40:29 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2018-06-20 12:55:01 -0400 |
commit | 5cc2b8456fab4f1057526d73cc2250436d7bd424 (patch) | |
tree | ce4394932c8f91dde04dc2b06d77ad9f864bcb6f /gnu/packages/golang.scm | |
parent | 7427b2c6c1e5495d551375edf0c4177ab56179d7 (diff) | |
download | guix-5cc2b8456fab4f1057526d73cc2250436d7bd424.tar guix-5cc2b8456fab4f1057526d73cc2250436d7bd424.tar.gz |
gnu: Move go-github-com-kardianos-osext to (gnu packages golang).
This package will not be used in later versions of Syncthing but may be needed
by other Go programs.
* gnu/packages/syncthing.scm (go-github-com-kardianos-osext): Move to ...
* gnu/packages/golang.scm: ... here.
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r-- | gnu/packages/golang.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index f7653a8c8b..22da7ccef1 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1732,3 +1732,31 @@ GNU extensions} to the POSIX recommendations for command-line options.") (description "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 "ae77be60afb1dcacde03767a8c37337fad28ac14") + (revision "1")) + (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") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/kardianos/osext" + ;; The tests are flaky: + ;; <https://github.com/kardianos/osext/issues/21> + #:tests? #f)) + (synopsis "Find the running executable") + (description "Osext provides a method for finding the current executable +file that is running. This can be used for upgrading the current executable or +finding resources located relative to the executable file.") + (home-page "https://github.com/kardianos/osext") + (license license:bsd-3)))) |