From 1cc0f0efd4d5bbe2e7ec429acaab892a618e8a66 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Thu, 2 Feb 2023 11:49:37 +0800 Subject: gnu: Add Go 1.20. * gnu/packages/golang.scm (go-1.20): New variable. Signed-off-by: Leo Famulari --- gnu/packages/golang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index cf15b81fe7..d4f79eb50b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -38,6 +38,7 @@ ;;; Copyright © 2022 Dhruvin Gandhi ;;; Copyright © 2022 Nicolas Graves ;;; Copyright © 2022 ( +;;; Copyright © 2023 Hilton Chain ;;; ;;; This file is part of GNU Guix. ;;; @@ -887,6 +888,27 @@ (define-public go-1.19 '("CONTRIBUTING.md" "PATENTS" "README.md" "SECURITY.md")))))))))) +(define-public go-1.20 + (package + (inherit go-1.19) + (name "go") + (version "1.20") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/golang/go") + (commit (string-append "go" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0a7wjzv14kaqg5l7ambv5zj4rj7sgah9yhcg6k6da6ygm6bs4dv3")))) + (native-inputs + ;; Go 1.20 and later requires Go 1.17 as the bootstrap toolchain. + ;; See 'src/cmd/dist/notgo117.go' in the source code distribution, + ;; as well as the upstream discussion of this topic: + ;; https://go.dev/issue/44505 + (alist-replace "go" (list go-1.17) (package-native-inputs go-1.17))))) + (define-public go go-1.17) (define make-go-std -- cgit v1.2.3 From 1a5f5694a7cd4bb19e9de27266e06b80d33d95cd Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Thu, 2 Feb 2023 11:50:09 +0800 Subject: gnu: Add the Go standard library 1.20. * gnu/packages/golang.scm (go-std-1.20): New variable. Signed-off-by: Leo Famulari --- gnu/packages/golang.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d4f79eb50b..1f89ce0609 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -950,6 +950,7 @@ (define-public go-std-1.16 (make-go-std go-1.16)) (define-public go-std-1.17 (make-go-std go-1.17)) (define-public go-std-1.18 (make-go-std go-1.18)) (define-public go-std-1.19 (make-go-std go-1.19)) +(define-public go-std-1.20 (make-go-std go-1.20)) (define-public go-0xacab-org-leap-shapeshifter (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474") -- cgit v1.2.3 From 3584cff93d5fd78faf9e41db629351bf570a63f5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 9 Feb 2023 21:43:14 +0200 Subject: gnu: go-github-com-spf13-pflag: Fix building with newer go. * gnu/packages/golang.scm (go-github-com-spf13-pflag)[source]: Add snippet to fix test suite with newer versions of go. --- gnu/packages/golang.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1f89ce0609..22f6ec5e8c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner +;;; Copyright © 2016-2023 Efraim Flashner ;;; Copyright © 2016 Matthew Jordan ;;; Copyright © 2016 Andy Wingo ;;; Copyright © 2016, 2019, 2021 Ludovic Courtès @@ -4134,7 +4134,16 @@ (define-public go-github-com-spf13-pflag (file-name (git-file-name name version)) (sha256 (base32 - "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31")))) + "0gpmacngd0gpslnbkzi263f5ishigzgh6pbdv9hp092rnjl4nd31")) + (snippet + #~(begin + (use-modules (guix build utils)) + ;; Fix compatibility with go-1.19+ + ;; https://github.com/spf13/pflag/issues/368 + (substitute* "flag_test.go" + (("fmt\\.Println") "fmt.Print") + (("\\+ got\\)") "+ got + \"\\n\")") + (("\\+ defaultOutput\\)") "+ defaultOutput + \"\\n\")")))))) (build-system go-build-system) (arguments '(#:import-path "github.com/spf13/pflag")) -- cgit v1.2.3 From 8490327e53efc0317cea5f68be2c8d91ebb82330 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 11 Feb 2023 18:42:07 +0200 Subject: gnu: go-github-com-rakyll-statik: Fix building with go-1.18+. * gnu/packages/golang.scm (go-github-com-rakyll-statik)[source]: Add snippet to allow building with a newer go. --- gnu/packages/golang.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 22f6ec5e8c..10b8eea84b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2070,7 +2070,14 @@ (define-public go-github-com-rakyll-statik (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va")))) + (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va")) + (snippet + #~(begin + (use-modules (guix build utils)) + ;; Fix compatibility with go-1.18+ + (substitute* "statik.go" + (("fmt\\.Println\\(helpText\\)") + "fmt.Print(helpText + \"\\n\")")))))) (build-system go-build-system) (arguments `(#:import-path "github.com/rakyll/statik")) -- cgit v1.2.3 From c8423a5457a846e42634a9a644916abfeceab5f2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 11 Feb 2023 19:11:38 +0200 Subject: gnu: go-github-com-gatherstars-com-jwz: Update to 1.3.1. * gnu/packages/golang.scm (go-github-com-gatherstars-com-jwz): Update to 1.3.1. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 10b8eea84b..829b216cf3 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -11676,7 +11676,7 @@ (define-public go-github-com-emersion-go-pgpmail (define-public go-github-com-gatherstars-com-jwz (package (name "go-github-com-gatherstars-com-jwz") - (version "1.3.0") + (version "1.3.1") (source (origin (method git-fetch) (uri (git-reference @@ -11685,7 +11685,7 @@ (define-public go-github-com-gatherstars-com-jwz (file-name (git-file-name name version)) (sha256 (base32 - "1h37h5w139d3rhvp1n7kz2jm5zhk4pjzf3sip04v48nphkika60c")))) + "1zxg2vmka80m1vnlb1v1gdlrwnkpakcmwi1hxpl8jjjiyd4z2j2i")))) (build-system go-build-system) (arguments (list #:import-path "github.com/gatherstars-com/jwz")) -- cgit v1.2.3 From 455ecb5cbe3201e4c1591ed12650cad6ba34893a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 13 Feb 2023 16:27:48 +0200 Subject: gnu: go-1.14: On systems not supported by go-1.4 use gccgo-12. * gnu/packages/golang.scm (go-1.14)[native-inputs]: On systems not supported by go-1.4 replace gccgo-10 with gccgo-12. (go-1.17)[native-inputs]: Remove workaround and inherit from go-1.14. --- gnu/packages/golang.scm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 829b216cf3..55c489a5d7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -463,7 +463,7 @@ (define-public go-1.14 (native-inputs `(,@(if (member (%current-system) (package-supported-systems go-1.4)) `(("go" ,go-1.4)) - `(("go" ,gccgo-10))) + `(("go" ,gccgo-12))) ("go-skip-gc-test.patch" ,(search-patch "go-skip-gc-test.patch")) ,@(match (%current-system) ((or "armhf-linux" "aarch64-linux") @@ -837,13 +837,7 @@ (define-public go-1.17 "README.md" "SECURITY.md")))))))) (inputs (if (not (target-arm?)) (alist-delete "gcc:lib" (package-inputs go-1.16)) - (package-inputs go-1.16))) - (native-inputs - (if (not (member (%current-system) (package-supported-systems go-1.4))) - ;; gccgo-10.4, 11.3 and lower has a bug which causes bootstrapping - ;; to fail. Use go-1.16 until we have a newer version available. - (alist-replace "go" (list go-1.16) (package-native-inputs go-1.16)) - (package-native-inputs go-1.16))))) + (package-inputs go-1.16))))) (define-public go-1.18 (package -- cgit v1.2.3 From 024a8b39957203f3a3cb93c87746c35635b81e57 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 13 Feb 2023 16:31:34 +0200 Subject: gnu: go-1.17: Skip tests on riscv64-linux. * gnu/packages/golang.scm (go-1.17)[arguments]: When building for riscv64-linux skip the test suite. --- gnu/packages/golang.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 55c489a5d7..07e4c9ed22 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -651,7 +651,7 @@ (define-public go-1.17 (guix build utils)) ;; TODO: Disable the test(s) in misc/cgo/test/cgo_test.go ;; that cause segfaults in the test suite. - #:tests? ,(not (target-aarch64?)) + #:tests? ,(not (or (target-aarch64?) (target-riscv64?))) #:phases (modify-phases %standard-phases (replace 'configure -- cgit v1.2.3 From 542fcc3dfef4e3f1dc7a61cedf6f1fde6ad7ba4d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 13 Feb 2023 16:32:17 +0200 Subject: gnu: golang.scm: Update comment about bootstrapping go. * gnu/packages/golang.scm: Update the comment at the top of the file about bootstrapping go on different architectures and about which versions of gccgo are currently provided. --- gnu/packages/golang.scm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 07e4c9ed22..8dfcca5ccf 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -93,13 +93,11 @@ (define-module (gnu packages golang) #:use-module (ice-9 match) #:use-module (srfi srfi-1)) -;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a -;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2 -;; implementation, and gccgo-5 a complete implementation of go-1.4. Ultimately -;; we hope to build go-1.5+ with a bootstrap process using gccgo-5. As of -;; go-1.5, go cannot be bootstrapped without go-1.4, so we need to use go-1.4 or -;; gccgo-5. Mips is not officially supported, but it should work if it is -;; bootstrapped. +;; According to https://go.dev/doc/install/gccgo, gccgo-11 includes a complete +;; implementation of go-1.16 and gccgo-12 includes a complete implementation of +;; go-1.18. Starting with go-1.5 go cannot be built without an existing +;; installation of go, so we need to use go-1.4 or gccgo. For architectures which +;; are not supported with go-1.4 we use a version of gccgo to bootstrap them. (define-public go-1.4 (package -- cgit v1.2.3 From 630b6e62d2c59ab6b869c36d47b53bf02a38a426 Mon Sep 17 00:00:00 2001 From: Gleb Zakharov Date: Fri, 9 Dec 2022 16:04:37 +0100 Subject: gnu: go-gopkg-in-yaml-v3: Update to 3.0.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This addresses an apparent upstream hash change, which was actually our own fault: the Guix package underspecified the version as ‘3’ instead of ‘3.0.0’, hence treating the ‘v3’ *branch* as a tag. Guix's hash for ‘3’ never matched upstream's ‘3.0.0’ release, so upgrade straight to ‘3.0.1’. * gnu/packages/golang.scm (go-gopkg-in-yaml-v3): Update to 3.0.1. Signed-off-by: Tobias Geerinckx-Rice --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 8dfcca5ccf..18b785f61b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4695,7 +4695,7 @@ (define-public go-gopkg-in-yaml-v2 (define-public go-gopkg-in-yaml-v3 (package (name "go-gopkg-in-yaml-v3") - (version "3") + (version "3.0.1") (source (origin (method git-fetch) @@ -4704,7 +4704,7 @@ (define-public go-gopkg-in-yaml-v3 (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "06f4lnrp494wqaygv09dggr2dwf3z2bawqhnlnnwiamg5y787k4g")))) + (base32 "01b0wjb7yzv8wzzz2iim8mjpkwjnykcanrwiq06pkl89lr6gv8hn")))) (build-system go-build-system) (arguments '(#:import-path "gopkg.in/yaml.v3")) -- cgit v1.2.3 From 672036c6dfe508810b565f4cf38e4f2aad2f7151 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Feb 2023 22:36:43 +0200 Subject: gnu: Remove unneeded module imports. * gnu/packages/abiword.scm, * gnu/packages/ada.scm, * gnu/packages/agda.scm, * gnu/packages/backup.scm, * gnu/packages/barrier.scm, * gnu/packages/bioinformatics.scm, * gnu/packages/bootstrap.scm, * gnu/packages/bqn.scm, * gnu/packages/c.scm, * gnu/packages/chemistry.scm, * gnu/packages/coq.scm, * gnu/packages/cross-base.scm, * gnu/packages/databases.scm, * gnu/packages/emacs-xyz.scm, * gnu/packages/enlightenment.scm, * gnu/packages/games.scm, * gnu/packages/geo.scm, * gnu/packages/ghostscript.scm, * gnu/packages/gl.scm, * gnu/packages/golang.scm, * gnu/packages/jami.scm, * gnu/packages/java-maths.scm, * gnu/packages/kde-frameworks.scm, * gnu/packages/kde-plasma.scm, * gnu/packages/language.scm, * gnu/packages/libreoffice.scm, * gnu/packages/linphone.scm, * gnu/packages/lisp.scm, * gnu/packages/llvm.scm, * gnu/packages/machine-learning.scm, * gnu/packages/minetest.scm, * gnu/packages/monitoring.scm, * gnu/packages/nfs.scm, * gnu/packages/ocr.scm, * gnu/packages/opencl.scm, * gnu/packages/pdf.scm, * gnu/packages/python-xyz.scm, * gnu/packages/racket.scm, * gnu/packages/rust.scm, * gnu/packages/syncthing.scm, * gnu/packages/syndication.scm, * gnu/packages/telegram.scm, * gnu/packages/vulkan.scm, * gnu/packages/web-browsers.scm, * gnu/packages/web.scm, * gnu/packages/webkit.scm: Remove some unecessary module imports. --- gnu/packages/abiword.scm | 1 - gnu/packages/ada.scm | 6 ------ gnu/packages/agda.scm | 1 - gnu/packages/backup.scm | 1 - gnu/packages/barrier.scm | 1 - gnu/packages/bioinformatics.scm | 1 - gnu/packages/bootstrap.scm | 1 - gnu/packages/bqn.scm | 1 - gnu/packages/c.scm | 1 - gnu/packages/chemistry.scm | 1 - gnu/packages/coq.scm | 1 - gnu/packages/cross-base.scm | 1 - gnu/packages/databases.scm | 2 -- gnu/packages/emacs-xyz.scm | 2 -- gnu/packages/enlightenment.scm | 1 - gnu/packages/games.scm | 1 - gnu/packages/geo.scm | 2 -- gnu/packages/ghostscript.scm | 1 - gnu/packages/gl.scm | 1 - gnu/packages/golang.scm | 1 - gnu/packages/jami.scm | 1 - gnu/packages/java-maths.scm | 1 - gnu/packages/kde-frameworks.scm | 1 - gnu/packages/kde-plasma.scm | 1 - gnu/packages/language.scm | 1 - gnu/packages/libreoffice.scm | 1 - gnu/packages/linphone.scm | 4 +--- gnu/packages/lisp.scm | 2 -- gnu/packages/llvm.scm | 1 - gnu/packages/machine-learning.scm | 1 - gnu/packages/minetest.scm | 1 - gnu/packages/monitoring.scm | 1 - gnu/packages/nfs.scm | 3 --- gnu/packages/ocr.scm | 1 - gnu/packages/opencl.scm | 1 - gnu/packages/pdf.scm | 1 - gnu/packages/python-xyz.scm | 2 -- gnu/packages/racket.scm | 1 - gnu/packages/rust.scm | 1 - gnu/packages/syncthing.scm | 1 - gnu/packages/syndication.scm | 1 - gnu/packages/telegram.scm | 1 - gnu/packages/vulkan.scm | 1 - gnu/packages/web-browsers.scm | 1 - gnu/packages/web.scm | 1 - gnu/packages/webkit.scm | 1 - 46 files changed, 1 insertion(+), 60 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/abiword.scm b/gnu/packages/abiword.scm index 5a0a4cd7be..2817ca0e89 100644 --- a/gnu/packages/abiword.scm +++ b/gnu/packages/abiword.scm @@ -25,7 +25,6 @@ (define-module (gnu packages abiword) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) - #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) #:use-module (gnu packages) #:use-module (gnu packages autotools) diff --git a/gnu/packages/ada.scm b/gnu/packages/ada.scm index ea3e9c365b..6fcd689be0 100644 --- a/gnu/packages/ada.scm +++ b/gnu/packages/ada.scm @@ -21,16 +21,10 @@ (define-module (gnu packages ada) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) - #:use-module (guix build-system python) #:use-module (guix packages) - #:use-module (guix download) #:use-module (guix git-download) #:use-module (gnu packages) #:use-module (gnu packages base) - #:use-module (gnu packages check) - #:use-module (gnu packages compression) - #:use-module (gnu packages python) - #:use-module (gnu packages python-xyz) #:use-module (ice-9 match)) (define-public ada/ed diff --git a/gnu/packages/agda.scm b/gnu/packages/agda.scm index 038b38195f..0cc3151e3f 100644 --- a/gnu/packages/agda.scm +++ b/gnu/packages/agda.scm @@ -28,7 +28,6 @@ (define-module (gnu packages agda) #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system haskell) - #:use-module (guix build-system trivial) #:use-module (guix gexp) #:use-module (guix download) #:use-module (guix git-download) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 6815b0e337..5841c894d1 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -50,7 +50,6 @@ (define-module (gnu packages backup) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system go) - #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (guix build-system qt) #:use-module (gnu packages) diff --git a/gnu/packages/barrier.scm b/gnu/packages/barrier.scm index 721fdcf314..5c2ecb0f2f 100644 --- a/gnu/packages/barrier.scm +++ b/gnu/packages/barrier.scm @@ -18,7 +18,6 @@ (define-module (gnu packages barrier) #:use-module (guix build-system cmake) - #:use-module (guix build-system gnu) #:use-module (guix utils) #:use-module (guix git-download) #:use-module (guix download) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 5b9d754060..9470e6eb1a 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -56,7 +56,6 @@ (define-module (gnu packages bioinformatics) #:use-module (guix build-system go) #:use-module (guix build-system haskell) #:use-module (guix build-system meson) - #:use-module (guix build-system ocaml) #:use-module (guix build-system perl) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index 9ea1a3e4d1..75980f2148 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -30,7 +30,6 @@ (define-module (gnu packages bootstrap) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system) - #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module ((guix store) #:select (%store-monad interned-file text-file store-lift)) diff --git a/gnu/packages/bqn.scm b/gnu/packages/bqn.scm index 8cce9564a2..9b44ea7992 100644 --- a/gnu/packages/bqn.scm +++ b/gnu/packages/bqn.scm @@ -23,7 +23,6 @@ (define-module (gnu packages bqn) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) - #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix utils) #:use-module (gnu packages) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index d6bd8c194a..b2f16613dd 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -44,7 +44,6 @@ (define-module (gnu packages c) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system python) - #:use-module (guix build-system trivial) #:use-module (guix store) #:use-module (gnu packages) #:use-module (gnu packages bash) diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm index fb6d6fc27f..529d013f3d 100644 --- a/gnu/packages/chemistry.scm +++ b/gnu/packages/chemistry.scm @@ -67,7 +67,6 @@ (define-module (gnu packages chemistry) #:use-module (gnu packages web) #:use-module (gnu packages xml) #:use-module (guix build-system cmake) - #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system python)) diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm index 0d8cb26358..09ca4030ea 100644 --- a/gnu/packages/coq.scm +++ b/gnu/packages/coq.scm @@ -42,7 +42,6 @@ (define-module (gnu packages coq) #:use-module (gnu packages texinfo) #:use-module (guix build-system dune) #:use-module (guix build-system gnu) - #:use-module (guix build-system ocaml) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index add9a2f901..59548bac3e 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -38,7 +38,6 @@ (define-module (gnu packages cross-base) #:use-module (guix i18n) #:use-module (guix utils) #:use-module (guix build-system gnu) - #:use-module (guix build-system trivial) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (ice-9 match) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 8e0db3090a..f32c1f2d07 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -178,8 +178,6 @@ (define-module (gnu packages databases) #:use-module (guix build-system qt) #:use-module (guix build-system ruby) #:use-module (guix build-system cmake) - #:use-module (guix build-system scons) - #:use-module (guix build-system trivial) #:use-module (guix utils) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 729c190969..6047bbe393 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -152,8 +152,6 @@ (define-module (gnu packages emacs-xyz) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system emacs) - #:use-module (guix build-system glib-or-gtk) - #:use-module (guix build-system perl) #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages admin) diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm index a08ad05143..64d8945f8e 100644 --- a/gnu/packages/enlightenment.scm +++ b/gnu/packages/enlightenment.scm @@ -27,7 +27,6 @@ (define-module (gnu packages enlightenment) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) - #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (gnu packages) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index be2b158f40..f9b4505ffe 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -216,7 +216,6 @@ (define-module (gnu packages games) #:use-module (gnu packages xml) #:use-module (guix build-system copy) #:use-module (guix build-system cmake) - #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system meson) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index b9a617c009..ff0dc0b6b0 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -46,8 +46,6 @@ (define-module (gnu packages geo) #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system qt) - #:use-module (guix build-system scons) - #:use-module (guix build-system r) #:use-module (guix gexp) #:use-module (guix download) #:use-module (guix git-download) diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index ca522e52ab..55f3ab9364 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm @@ -43,7 +43,6 @@ (define-module (gnu packages ghostscript) #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system gnu) - #:use-module (guix build-system trivial) #:use-module (srfi srfi-1)) (define-public lcms diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 09aafcc1c3..6956b989d6 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -64,7 +64,6 @@ (define-module (gnu packages gl) #:use-module (guix build-system cmake) #:use-module (guix build-system meson) #:use-module (guix build-system python) - #:use-module (guix build-system waf) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix gexp) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 18b785f61b..c4b6bcd874 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -66,7 +66,6 @@ (define-module (gnu packages golang) #:use-module (guix packages) #:use-module (guix gexp) #:use-module (guix build-system gnu) - #:use-module (guix build-system trivial) #:use-module (guix build-system go) #:use-module (gnu packages) #:use-module (gnu packages admin) diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm index 92a4e55606..83e7157f35 100644 --- a/gnu/packages/jami.scm +++ b/gnu/packages/jami.scm @@ -59,7 +59,6 @@ (define-module (gnu packages jami) #:use-module (gnu packages xiph) #:use-module (gnu packages xorg) #:use-module (gnu packages) - #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system qt) diff --git a/gnu/packages/java-maths.scm b/gnu/packages/java-maths.scm index 45c42297ad..55b8a35e75 100644 --- a/gnu/packages/java-maths.scm +++ b/gnu/packages/java-maths.scm @@ -22,7 +22,6 @@ (define-module (gnu packages java-maths) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix utils) - #:use-module (guix build-system ant) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages gcc) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 6f463d217c..10b8ac0134 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -31,7 +31,6 @@ (define-module (gnu packages kde-frameworks) #:use-module (guix build-system cmake) #:use-module (guix build-system python) #:use-module (guix build-system qt) - #:use-module (guix build-system trivial) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index 2a3d86f801..9000ae80d2 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -30,7 +30,6 @@ (define-module (gnu packages kde-plasma) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix gexp) #:use-module (guix build-system cmake) - #:use-module (guix build-system copy) #:use-module (guix build-system trivial) #:use-module (guix build-system qt) #:use-module (gnu packages) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index b29ed9c013..994bc09e67 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -61,7 +61,6 @@ (define-module (gnu packages language) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) - #:use-module (guix build-system python) #:use-module (guix build-system qt) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index 5b4397581f..32802334e7 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -34,7 +34,6 @@ (define-module (gnu packages libreoffice) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system python) - #:use-module (guix build-system trivial) #:use-module (guix gexp) #:use-module (guix download) #:use-module (guix git-download) diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm index 130097ef40..84bc16805c 100644 --- a/gnu/packages/linphone.scm +++ b/gnu/packages/linphone.scm @@ -59,9 +59,7 @@ (define-module (gnu packages linphone) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system cmake) - #:use-module (guix build-system qt) - #:use-module (guix build-system glib-or-gtk) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system qt)) (define-public bcunit (let ((commit "74021cc7cb20a4e177748dd2948173e1f9c270ae") diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index e63511fd9a..777c6edbc5 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -54,8 +54,6 @@ (define-module (gnu packages lisp) #:use-module (guix utils) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) - #:use-module (guix build-system ant) - #:use-module (guix build-system asdf) #:use-module (guix build-system haskell) #:use-module (guix build-system trivial) #:use-module (gnu packages admin) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 1468a79c90..09c546734e 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -50,7 +50,6 @@ (define-module (gnu packages llvm) #:use-module (guix git-download) #:use-module (guix memoization) #:use-module (guix utils) - #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) #:use-module (guix build-system emacs) #:use-module (guix build-system python) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 9aae8d8243..162bdcb74f 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -45,7 +45,6 @@ (define-module (gnu packages machine-learning) #:use-module (guix build-system ocaml) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) - #:use-module (guix build-system r) #:use-module (guix build-system trivial) #:use-module (guix git-download) #:use-module (gnu packages) diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm index a30bce57de..c5fc18f5d1 100644 --- a/gnu/packages/minetest.scm +++ b/gnu/packages/minetest.scm @@ -46,7 +46,6 @@ (define-module (gnu packages minetest) #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) - #:use-module (guix build-system trivial) #:use-module (guix build-system minetest) #:use-module ((guix licenses) #:prefix license:)) diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index 74ec7b6cdf..629bb02acc 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -36,7 +36,6 @@ (define-module (gnu packages monitoring) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix build-system perl) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system gnu) diff --git a/gnu/packages/nfs.scm b/gnu/packages/nfs.scm index d5ebe6a760..88d4069587 100644 --- a/gnu/packages/nfs.scm +++ b/gnu/packages/nfs.scm @@ -33,10 +33,7 @@ (define-module (gnu packages nfs) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages sqlite) - #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) - #:use-module (guix build-system python) - #:use-module (guix build-system trivial) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) diff --git a/gnu/packages/ocr.scm b/gnu/packages/ocr.scm index 0382e0d869..c1cd4f061e 100644 --- a/gnu/packages/ocr.scm +++ b/gnu/packages/ocr.scm @@ -31,7 +31,6 @@ (define-module (gnu packages ocr) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) - #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages backup) diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm index 847284c427..fdfb7d0a27 100644 --- a/gnu/packages/opencl.scm +++ b/gnu/packages/opencl.scm @@ -20,7 +20,6 @@ (define-module (gnu packages opencl) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) - #:use-module (guix build-system copy) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix utils) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 864c23b0d2..378b1b2411 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -53,7 +53,6 @@ (define-module (gnu packages pdf) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system qt) - #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 445f5a787d..ac09edcc98 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -257,7 +257,6 @@ (define-module (gnu packages python-xyz) #:use-module (gnu packages serialization) #:use-module (guix packages) #:use-module (guix download) - #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix hg-download) #:use-module (guix gexp) @@ -266,7 +265,6 @@ (define-module (gnu packages python-xyz) #:use-module (guix build-system cmake) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) - #:use-module (guix build-system trivial) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm index 2cda2b6b9c..b5959e5f68 100644 --- a/gnu/packages/racket.scm +++ b/gnu/packages/racket.scm @@ -26,7 +26,6 @@ (define-module (gnu packages racket) #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix gexp) - #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix diagnostics) #:use-module (guix i18n) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index c0f663977a..133c46fb7c 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -54,7 +54,6 @@ (define-module (gnu packages rust) #:use-module (guix build-system cargo) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) - #:use-module (guix build-system trivial) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 74c25ed3ab..5f98cb56b0 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -26,7 +26,6 @@ (define-module (gnu packages syncthing) #:use-module (guix build-system go) #:use-module (guix build-system python) - #:use-module (guix build-system trivial) #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix download) diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 506245fd17..769cc85d37 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -33,7 +33,6 @@ (define-module (gnu packages syndication) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system python) - #:use-module (guix build-system qt) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages base) diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm index ad9ca74a6c..c6ab5d312c 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -75,7 +75,6 @@ (define-module (gnu packages telegram) #:use-module (guix build-system copy) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) - #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system qt)) diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index a2db5511d5..9203731865 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -28,7 +28,6 @@ (define-module (gnu packages vulkan) #:use-module (guix gexp) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) - #:use-module (guix build-system meson) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages bison) diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index b898311c51..b35d29c160 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -38,7 +38,6 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages web-browsers) - #:use-module (guix build-system asdf) #:use-module (guix build-system cmake) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 7e49f798ea..271c6ffa81 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -98,7 +98,6 @@ (define-module (gnu packages web) #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) - #:use-module (guix build-system qt) #:use-module (guix build-system scons) #:use-module (guix build-system trivial) #:use-module (gnu packages) diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm index 61c75dd901..5dd66ecd76 100644 --- a/gnu/packages/webkit.scm +++ b/gnu/packages/webkit.scm @@ -33,7 +33,6 @@ (define-module (gnu packages webkit) #:use-module (guix build utils) #:use-module (guix build-system cmake) #:use-module (guix build-system meson) - #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages bison) -- cgit v1.2.3 From 1a550c93e54aa2ba39cd12af5b0348019e315dd4 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sun, 26 Feb 2023 20:13:19 +0100 Subject: 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 --- gnu/packages/golang.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c4b6bcd874..7268b661cf 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2022 Nicolas Graves ;;; Copyright © 2022 ( ;;; Copyright © 2023 Hilton Chain +;;; Copyright © 2023 Timo Wilken ;;; ;;; This file is part of GNU Guix. ;;; @@ -7409,6 +7410,17 @@ (define-public go-golang.org-x-sync-errgroup (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) -- cgit v1.2.3 From 997b93cc4a6deff54ebd854a716cca94095114bf Mon Sep 17 00:00:00 2001 From: Josselin Poiret Date: Wed, 1 Mar 2023 10:48:35 +0100 Subject: gnu: go-github-com-robfig-cron-1.2: Move to (gnu packages golang). Because (gnu packages golang) and (gnu packages check) use each other, this avoids an undefined symbol due to a module dependency cycle. * gnu/packages/check.scm (go-github-com-robfig-cron-1.2): Move to... * gnu/packages/golang.scm (go-github-com-robfig-cron-1.2): ...here. Signed-off-by: Tobias Geerinckx-Rice --- gnu/packages/check.scm | 18 ------------------ gnu/packages/golang.scm | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 4e907afeb6..44860e3018 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1029,24 +1029,6 @@ (define-public cpputest but it works for any C/C++ project.") (license license:bsd-3))) -;; Required by actionlint. The version of `go-github-com-robfig-cron' -;; packaged in Guix is newer and changed some error messages, causing -;; unit tests in actionlint to fail. -(define-public go-github-com-robfig-cron-1.2 - (package - (inherit go-github-com-robfig-cron) - (name "go-github-com-robfig-cron") - (version "1.2.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/robfig/cron") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0nv31m3940d9kf38lw2zs4hpj435bdi9mmim098rb3n4l07qrvva")))))) - (define-public actionlint (package (name "actionlint") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 7268b661cf..465e0fd4c7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6882,6 +6882,24 @@ (define-public go-github-com-robfig-cron a cron spec parser and job runner.") (license license:expat))) +;; Required by actionlint. The version of `go-github-com-robfig-cron' +;; packaged in Guix is newer and changed some error messages, causing +;; unit tests in actionlint to fail. +(define-public go-github-com-robfig-cron-1.2 + (package + (inherit go-github-com-robfig-cron) + (name "go-github-com-robfig-cron") + (version "1.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/robfig/cron") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nv31m3940d9kf38lw2zs4hpj435bdi9mmim098rb3n4l07qrvva")))))) + (define-public go-github-com-shirou-gopsutil (let ((commit "47ef3260b6bf6ead847e7c8fc4101b33c365e399") (revision "0")) -- cgit v1.2.3 From 5312d798ac36a72d8a977325a7c6ff7647be670a Mon Sep 17 00:00:00 2001 From: Felix Lechner Date: Sun, 5 Mar 2023 09:33:49 -0800 Subject: gnu: go-golang-zx2c4-com-wireguard: Update to 0.0.20211016. Newer releases of this package are available but require newer versions of Golang, especially around networking. * gnu/packages/golang.scm (go-golang-zx2c4-com-wireguard): Update to 0.0.20211016. Signed-off-by: Christopher Baines --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 465e0fd4c7..c75fdb4a31 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9663,7 +9663,7 @@ (define-public go-github-com-hjson-hjson-go (define-public go-golang-zx2c4-com-wireguard (package (name "go-golang-zx2c4-com-wireguard") - (version "0.0.20200320") + (version "0.0.20211016") (source (origin (method git-fetch) @@ -9676,7 +9676,7 @@ (define-public go-golang-zx2c4-com-wireguard (file-name (git-file-name name version)) (sha256 (base32 - "0fy4qsss3i3pkq1rpgjds4aipbwlh1dr9hbbf7jn2a1c63kfks0r")))) + "09a4gsh75a8bj71wr042afrma9frriqp60cm0cx6c9a8lv5yzzi0")))) (build-system go-build-system) (arguments '(#:import-path "golang.zx2c4.com/wireguard")) -- cgit v1.2.3 From 28418027e5041d876f64018a2e3896847d1df9b8 Mon Sep 17 00:00:00 2001 From: Sergey Trofimov Date: Tue, 21 Mar 2023 09:15:17 +0100 Subject: gnu: Add go-github-com-mitchellh-colorstring. * gnu/packages/golang.scm (go-github-com-mitchellh-colorstring): New variable. Signed-off-by: Maxim Cournoyer --- gnu/packages/golang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c75fdb4a31..3ac4863e85 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -11304,6 +11304,28 @@ (define-public go-sigs-k8s-io-yaml @url{https://github.com/ghodss/yaml,ghodss/yaml}.") (license (list license:expat license:bsd-3)))) +(define-public go-github-com-mitchellh-colorstring + (package + (name "go-github-com-mitchellh-colorstring") + (version "0.0.0-20190213212951-d06e56a500db") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mitchellh/colorstring") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1d2mi5ziszfzdgaz8dg4b6sxa63nw1jnsvffacqxky6yz9m623kn")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/mitchellh/colorstring")) + (home-page "https://github.com/mitchellh/colorstring") + (synopsis "Functions to colorize strings for terminal output") + (description + "Colorstring provides functions for colorizing strings for terminal output.") + (license license:expat))) + (define-public go-git-sr-ht-emersion-go-scfg (package (name "go-git-sr-ht-emersion-go-scfg") -- cgit v1.2.3 From 441951bb0326503bca8b98c6487fa56f7c08b629 Mon Sep 17 00:00:00 2001 From: Sergey Trofimov Date: Tue, 21 Mar 2023 09:16:38 +0100 Subject: gnu: Add go-github-com-schollz-progressbar-v3. * gnu/packages/golang.scm (go-github-com-schollz-progressbar-v3): New variable. Signed-off-by: Maxim Cournoyer --- gnu/packages/golang.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3ac4863e85..b8b4dbd769 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -11326,6 +11326,47 @@ (define-public go-github-com-mitchellh-colorstring "Colorstring provides functions for colorizing strings for terminal output.") (license license:expat))) +(define-public go-github-com-schollz-progressbar-v3 + (package + (name "go-github-com-schollz-progressbar-v3") + (version "3.13.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/schollz/progressbar") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hjahr5r52i7w6iyvl3rpzr46iignhfdh4694fl7m2b4gkaw9gd6")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/schollz/progressbar/v3" + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? import-path #:allow-other-keys) + (when tests? + ;; The full test suite requires Internet access, so only + ;; run the short tests. + (invoke "go" "test" "-test.short" import-path))))))) + (propagated-inputs + (list go-golang-org-x-term + go-github-com-stretchr-testify + go-github-com-mitchellh-colorstring + go-github-com-mattn-go-runewidth + go-github-com-mattn-go-isatty + go-github-com-davecgh-go-spew)) + (home-page "https://github.com/schollz/progressbar") + (synopsis "Simple command-line interface (CLI) progress bar") + (description + "This package provides a very simple thread-safe progress bar. The +@code{progressbar} implements an @code{io.Writer} so it can automatically +detect the number of bytes written to a stream, so you can use it as a +@code{progressbar} for an @code{io.Reader}. When @code{progressbar}'s length +is undetermined, a customizable spinner is shown.") + (license license:expat))) + (define-public go-git-sr-ht-emersion-go-scfg (package (name "go-git-sr-ht-emersion-go-scfg") -- cgit v1.2.3 From 82690c9b3661abb5bd7db5dddefae017e10e20d5 Mon Sep 17 00:00:00 2001 From: Jack Hill Date: Mon, 6 Mar 2023 21:54:16 -0500 Subject: gnu: go-filippo-io-age: Update to 1.1.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang.scm (go-filippo-io-age): Update to 1.1.1. Signed-off-by: Ludovic Courtès --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/golang.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index b8b4dbd769..ca78f7c229 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9300,7 +9300,7 @@ (define-public go-etcd-io-bbolt (define-public go-filippo-io-age (package (name "go-filippo-io-age") - (version "1.0.0") + (version "1.1.1") (source (origin (method git-fetch) @@ -9309,7 +9309,7 @@ (define-public go-filippo-io-age (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "19fz68n262kvg2ssw4r6nik30zk6g6cy7rdi0fm05czwigqrdz1i")))) + (base32 "1k1dv1jkr72qpk5g363mhrg9hnf5c9qgv4l16l13m4yh08jp271d")))) (build-system go-build-system) (arguments `(#:import-path "filippo.io/age")) (inputs -- cgit v1.2.3