me
/
guix
Archived
1
0
Fork 0

gnu: go-golang.org-x-sync-errgroup: Move to golang-build.

* gnu/packages/golang.scm (go-golang.org-x-sync-errgroup,
go-golang.org-x-sync-semaphore): Move from here ...
* gnu/packages/golang-build.scm: ... to here.

* gnu/packages/check.scm: Add (gnu packages golang-build) module.

Change-Id: Ie886c0f44e0a70629e23371b447f5a35006ade21
master
Sharlatan Hellseher 2024-02-10 17:00:55 +00:00
parent b900304377
commit 2175660d92
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
4 changed files with 43 additions and 38 deletions

View File

@ -77,6 +77,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz)

View File

@ -1,11 +1,14 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2021 hackeryarn <artemchernyak@gmail.com>
;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -165,6 +168,44 @@ loading algorithms.")
(description
"This package provides an HTML5-compliant tokenizer and parser.")))
(define-public go-golang.org-x-sync-errgroup
(let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
(revision "0"))
(package
(name "go-golang.org-x-sync-errgroup")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/sync")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.org/x/sync/errgroup"
#:unpack-path "golang.org/x/sync"))
(home-page "https://godoc.org/golang.org/x/sync/errgroup")
(synopsis "Synchronization, error propagation, and Context cancellation
for groups of goroutines working on subtasks of a common task")
(description "This package provides synchronization, error
propagation, and Context cancellation for groups of goroutines working on
subtasks of a common task.")
(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"))
(home-page "https://godoc.org/golang.org/x/sync/semaphore")
(synopsis "Weighted semaphore implementation in Go")
(description "Weighted semaphore implementation in Go.")))
(define-public go-golang-org-x-sys
(let ((commit "ca59edaa5a761e1d0ea91d6c07b063f85ef24f78")
(revision "0"))

View File

@ -7023,44 +7023,6 @@ into URL query parameters.")
create or replace a file or symbolic link.")
(license license:asl2.0)))
(define-public go-golang.org-x-sync-errgroup
(let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
(revision "0"))
(package
(name "go-golang.org-x-sync-errgroup")
(version (git-version "0.0.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/sync")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.org/x/sync/errgroup"
#:unpack-path "golang.org/x/sync"))
(synopsis "Synchronization, error propagation, and Context cancellation
for groups of goroutines working on subtasks of a common task")
(description "This package provides synchronization, error propagation,
and Context cancellation for groups of goroutines working on subtasks of a
common task.")
(home-page "https://godoc.org/golang.org/x/sync/errgroup")
(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)
(origin
(method git-fetch)

View File

@ -90,6 +90,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages libcanberra)