gnu: Add go-golang.org-x-sync-semaphore.
* gnu/packages/golang.scm (go-golang.org-x-sync-semaphore): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
		
							parent
							
								
									226103fdd1
								
							
						
					
					
						commit
						1a550c93e5
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		| 
						 | 
					@ -39,6 +39,7 @@
 | 
				
			||||||
;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr>
 | 
					;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr>
 | 
				
			||||||
;;; Copyright © 2022 ( <paren@disroot.org>
 | 
					;;; Copyright © 2022 ( <paren@disroot.org>
 | 
				
			||||||
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
 | 
					;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
 | 
				
			||||||
 | 
					;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -7409,6 +7410,17 @@ common task.")
 | 
				
			||||||
      (home-page "https://godoc.org/golang.org/x/sync/errgroup")
 | 
					      (home-page "https://godoc.org/golang.org/x/sync/errgroup")
 | 
				
			||||||
      (license license:bsd-3))))
 | 
					      (license license:bsd-3))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public go-golang.org-x-sync-semaphore
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (inherit go-golang.org-x-sync-errgroup)
 | 
				
			||||||
 | 
					    (name "go-golang.org-x-sync-semaphore")
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     '(#:import-path "golang.org/x/sync/semaphore"
 | 
				
			||||||
 | 
					       #:unpack-path "golang.org/x/sync"))
 | 
				
			||||||
 | 
					    (synopsis "Weighted semaphore implementation in Go")
 | 
				
			||||||
 | 
					    (description "Weighted semaphore implementation in Go.")
 | 
				
			||||||
 | 
					    (home-page "https://godoc.org/golang.org/x/sync/semaphore")))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define (go-gotest-tools-source version sha256-base32-hash)
 | 
					(define (go-gotest-tools-source version sha256-base32-hash)
 | 
				
			||||||
  (origin
 | 
					  (origin
 | 
				
			||||||
    (method git-fetch)
 | 
					    (method git-fetch)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue