diff options
author | Leo Famulari <leo@famulari.name> | 2017-10-11 19:58:37 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2017-10-12 21:22:48 -0400 |
commit | f7612f0fcfaf675ef466691efbba77317143171f (patch) | |
tree | 053f8f51d114bff5832ea92874b2e697b20687be | |
parent | c864a4a700e19f4c27e5b3b4af76eae928fa34b7 (diff) | |
download | guix-f7612f0fcfaf675ef466691efbba77317143171f.tar guix-f7612f0fcfaf675ef466691efbba77317143171f.tar.gz |
gnu: Add go-github-com-thejerf-suture.
* gnu/packages/syncthing.scm (go-github-com-thejerf-suture): New
variable.
-rw-r--r-- | gnu/packages/syncthing.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index c1e8151071..1b48ca96ea 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -569,6 +569,37 @@ database in Go.") (home-page "https://github.com/syndtr/goleveldb") (license bsd-2)))) +(define-public go-github-com-thejerf-suture + (let ((commit "0ac47afae95ad5bc5184ed346bc945168e883f5d") + (revision "0")) + (package + (name "go-github-com-thejerf-suture") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thejerf/suture") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0f860fkaibnnkmh4q6q9yn3r26sraaj8wx9irwm76cmsp48zcxfy")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/thejerf/suture")) + (synopsis "Supervisor trees for Go") + (description "Suture provides Erlang-ish supervisor trees for Go. +\"Supervisor trees\" -> \"sutree\" -> \"suture\" -> holds your code together +when it's trying to die. + +It is intended to deal gracefully with the real failure cases that can occur +with supervision trees (such as burning all your CPU time endlessly restarting +dead services), while also making no unnecessary demands on the \"service\" +code, and providing hooks to perform adequate logging with in a production +environment") + (home-page "https://github.com/thejerf/suture") + (license expat)))) + (define-public go-golang-org-x-sys-unix (let ((commit "f3918c30c5c2cb527c0b071a27c35120a6c0719a") (revision "0")) |