gnu: Add go-github-com-petermattis-goid.
* gnu/packages/syncthing.scm (go-github-com-petermattis-goid): New variable.
This commit is contained in:
		
							parent
							
								
									1a4795f9d0
								
							
						
					
					
						commit
						73a2f8418d
					
				
					 1 changed files with 25 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue