From 73a2f8418d85254a2648e760cf4e48ebf7ac749e Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 11 Oct 2017 01:11:37 -0400 Subject: gnu: Add go-github-com-petermattis-goid. * gnu/packages/syncthing.scm (go-github-com-petermattis-goid): New variable. --- gnu/packages/syncthing.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 5b597f1c41..1fb25d7b84 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -539,3 +539,28 @@ Metrics library.") for low-level interaction with the operating system.") (home-page "https://go.googlesource.com/sys") (license bsd-3)))) + +(define-public go-github-com-petermattis-goid + (let ((commit "3db12ebb2a599ba4a96bea1c17b61c2f78a40e02") + (revision "0")) + (package + (name "go-github-com-petermattis-goid") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/petermattis/goid.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + + (base32 + "0z18a3mr72c52g7g94n08gxw0ksnaafbfwdl5p5jav2sffirb0kd")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/petermattis/goid")) + (synopsis "Identify the running goroutine") + (description "This package offers a method of programatically retrieving +the current goroutine's ID.") + (home-page "https://github.com/petermattis/goid") + (license asl2.0)))) -- cgit v1.2.3