summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>2018-06-20 12:50:57 -0400
committerLeo Famulari <leo@famulari.name>2018-06-20 12:55:01 -0400
commitaed4944d51669089620d8fe13b2e63c59e722b79 (patch)
tree541dc82598a93c16f25c97d95038dd40770bb898 /gnu/packages
parent5cc2b8456fab4f1057526d73cc2250436d7bd424 (diff)
downloadguix-aed4944d51669089620d8fe13b2e63c59e722b79.tar.gz
gnu: Add go-github-com-ayufan-golang-kardianos-service.
* gnu/packages/golang.scm (go-github-com-ayufan-golang-kardianos-service): New
variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/golang.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 22da7ccef1..ea6ca2286c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1760,3 +1760,34 @@ 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))))
+
+(define-public go-github-com-ayufan-golang-kardianos-service
+  (let ((commit "0c8eb6d8fff2e2fb884a7bfd23e183fb63c0eff3")
+        (revision "0"))
+    (package
+      (name "go-github-com-ayufan-golang-kardianos-service")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url
+                "https://github.com/ayufan/golang-kardianos-service.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0x0cn7l5gda2khsfypix7adxd5yqighzn04mxjw6hc4ayrh7his5"))))
+      (build-system go-build-system)
+      (native-inputs
+       `(("go-github-com-kardianos-osext"
+          ,go-github-com-kardianos-osext)))
+      (arguments
+       '(#:tests? #f                ;FIXME tests fail: Service is not running.
+         #:import-path "github.com/ayufan/golang-kardianos-service"))
+      (home-page "https://github.com/ayufan/golang-kardianos-service")
+      (synopsis "Go interface to a variety of service supervisors")
+      (description "This package provides @code{service}, a Go module that can
+run programs as a service using a variety of supervisors, including systemd,
+SysVinit, and more.")
+      (license license:zlib))))