guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/62: gnu: Add go-github-com-kardianos-osext.


From: Leo Famulari
Subject: 14/62: gnu: Add go-github-com-kardianos-osext.
Date: Thu, 12 Oct 2017 21:43:37 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 7577a1d520b8539e6c9e643de4d7dc51ef2c092f
Author: Leo Famulari <address@hidden>
Date:   Wed Oct 11 00:57:47 2017 -0400

    gnu: Add go-github-com-kardianos-osext.
    
    * gnu/packages/syncthing.scm (go-github-com-kardianos-osext): New variable.
---
 gnu/packages/syncthing.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index c3f354e..878a51c 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -331,3 +331,28 @@ compression format.")
 address of the default LAN gateway.")
       (home-page "https://github.com/jackpal/gateway";)
       (license bsd-3))))
+
+(define-public go-github-com-kardianos-osext
+  (let ((commit "9d302b58e975387d0b4d9be876622c86cefe64be")
+        (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";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0r6f727s16g4f66k8c2z1xh8ga1p53hg9g2v95pmhd1i60fhy47a"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/kardianos/osext"))
+      (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 bsd-3))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]