* [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 02/67] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web) Sharlatan Hellseher
` (71 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm: New file.
* gnu/local.mk: Add to gnu/packages/golang-web.scm scope.
---
gnu/local.mk | 1 +
gnu/packages/golang-web.scm | 39 +++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
create mode 100644 gnu/packages/golang-web.scm
diff --git a/gnu/local.mk b/gnu/local.mk
index a00884a7c6..dda24f5083 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -303,6 +303,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/gobby.scm \
%D%/packages/golang.scm \
%D%/packages/golang-check.scm \
+ %D%/packages/golang-web.scm \
%D%/packages/gperf.scm \
%D%/packages/gpodder.scm \
%D%/packages/gps.scm \
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
new file mode 100644
index 0000000000..feb2854d9c
--- /dev/null
+++ b/gnu/packages/golang-web.scm
@@ -0,0 +1,39 @@
+;;; GNU Guix --- Functional package management for GNU
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages golang-web)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix build-system go)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages golang))
+
+;;; Commentary:
+;;;
+;;; Golang modules (libraries) related to HTML, CSS, SCSS, JavaScript, JSON,
+;;; Web-framework, REST-API or similar functionality.
+;;;
+;;; Please: Try to add new module packages in alphabetic order.
+;;;
+;;; Code:
+\f
+;;;
+;;; Avoid adding new packages to the end of this file. To reduce the chances
+;;; of a merge conflict, place them above by existing packages with similar
+;;; functionality or similar names.
+;;;
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 02/67] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 03/67] gnu: go-github-com-gorilla-css: " Sharlatan Hellseher
` (70 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-mux): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/finance.scm: Add (gnu packages golang-web) module.
* gnu/packages/web.scm: As above...
Change-Id: I1cb94377d581af93593dbb29cb60ddf5fb287ada
---
gnu/packages/finance.scm | 1 +
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
gnu/packages/web.scm | 1 +
4 files changed, 27 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 4f3415232c..71dff964d5 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -93,6 +93,7 @@ (define-module (gnu packages finance)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages groff)
#:use-module (gnu packages gsasl)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index feb2854d9c..c779600411 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,4 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
+;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,6 +34,29 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-gorilla-mux
+ (package
+ (name "go-github-com-gorilla-mux")
+ (version "1.8.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/mux")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18f0q9qxgq1yh4ji07mqhiydfcwvi56z9d775v7dc7yckj33kpdk"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/mux"))
+ (home-page "https://github.com/gorilla/mux")
+ (synopsis "URL router and dispatcher for Go")
+ (description
+ "Gorilla/Mux implements a request router and dispatcher for matching
+incoming requests with their respective handler.")
+ (license license:bsd-3)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b32e379e47..212f5a2303 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4701,30 +4701,6 @@ (define-public go-github-com-gorilla-context
(description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
(license license:bsd-3))))
-(define-public go-github-com-gorilla-mux
- (package
- (name "go-github-com-gorilla-mux")
- (version "1.8.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/mux")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "18f0q9qxgq1yh4ji07mqhiydfcwvi56z9d775v7dc7yckj33kpdk"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/mux"))
- (home-page "https://github.com/gorilla/mux")
- (synopsis "URL router and dispatcher for Go")
- (description
- "Gorilla/Mux implements a request router and dispatcher for matching
-incoming requests with their respective handler.")
- (license license:bsd-3)))
-
(define-public go-github-com-andybalholm-brotli
(package
(name "go-github-com-andybalholm-brotli")
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b1cdfda862..1576f39052 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -141,6 +141,7 @@ (define-module (gnu packages web)
#:use-module (gnu packages gnunet)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages gperf)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 03/67] gnu: go-github-com-gorilla-css: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 02/67] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 04/67] gnu: go-github-com-aymerick-douceur: " Sharlatan Hellseher
` (69 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-css): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/configuration-management.sc: Add (gnu packages golang-web) module.
* gnu/packages/golang.scm: As above...
Change-Id: I6e387966d05c40321b9116b93d76fce68aad8c7f
---
gnu/packages/configuration-management.scm | 1 +
gnu/packages/golang-web.scm | 23 +++++++++++++++++++++++
gnu/packages/golang.scm | 23 +----------------------
3 files changed, 25 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/configuration-management.scm b/gnu/packages/configuration-management.scm
index 95a7e8615f..296f48dcd5 100644
--- a/gnu/packages/configuration-management.scm
+++ b/gnu/packages/configuration-management.scm
@@ -21,6 +21,7 @@ (define-module (gnu packages configuration-management)
#:use-module (guix build-system go)
#:use-module (guix git-download)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages version-control)
#:use-module (gnu packages textutils)
#:use-module ((guix licenses) #:prefix license:)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c779600411..1d61a76268 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -34,6 +35,28 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-gorilla-css
+ (package
+ (name "go-github-com-gorilla-css")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/css")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/gorilla/css/scanner"
+ #:unpack-path "github.com/gorilla/css"))
+ (home-page "https://github.com/gorilla/css/")
+ (synopsis "CSS3 tokenizer")
+ (description "This package provides a CSS3 tokenizer.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-mux
(package
(name "go-github-com-gorilla-mux")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 212f5a2303..a895395cc8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -79,6 +79,7 @@ (define-module (gnu packages golang)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages lua)
#:use-module (gnu packages mail)
#:use-module (gnu packages mp3)
@@ -4655,28 +4656,6 @@ (define-public go-github-com-google-cadvisor
containers.")
(license license:asl2.0))))
-(define-public go-github-com-gorilla-css
- (package
- (name "go-github-com-gorilla-css")
- (version "1.0.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/css")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/gorilla/css/scanner"
- #:unpack-path "github.com/gorilla/css"))
- (home-page "https://github.com/gorilla/css/")
- (synopsis "CSS3 tokenizer")
- (description "This package provides a CSS3 tokenizer.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-context
(let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 04/67] gnu: go-github-com-aymerick-douceur: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (2 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 03/67] gnu: go-github-com-gorilla-css: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 05/67] gnu: go-github-com-andybalholm-cascadia: " Sharlatan Hellseher
` (68 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aymerick-douceur): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I2e94858736f88333f56d4eb4301acd35e6bb1a33
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1d61a76268..39a83990ce 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -35,6 +35,32 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-aymerick-douceur
+ (package
+ (name "go-github-com-aymerick-douceur")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aymerick/douceur/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/aymerick/douceur"))
+ (native-inputs
+ (list go-github-com-andybalholm-cascadia
+ go-github-com-gorilla-css
+ go-github-com-puerkitobio-goquery
+ go-golang-org-x-net))
+ (home-page "https://github.com/aymerick/douceur/")
+ (synopsis "CSS parser and inliner")
+ (description "This package provides a CSS parser and inliner.")
+ (license license:expat)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a895395cc8..27c81850dd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9278,31 +9278,6 @@ (define-public go-github-com-jmespath-go-jmespath
transforms one JSON document into another through a JMESPath expression.")
(license license:asl2.0)))
-(define-public go-github-com-aymerick-douceur
- (package
- (name "go-github-com-aymerick-douceur")
- (version "0.2.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aymerick/douceur/")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/aymerick/douceur"))
- (native-inputs
- (list go-github-com-puerkitobio-goquery
- go-github-com-andybalholm-cascadia go-golang-org-x-net
- go-github-com-gorilla-css))
- (home-page "https://github.com/aymerick/douceur/")
- (synopsis "CSS parser and inliner")
- (description "This package provides a CSS parser and inliner.")
- (license license:expat)))
-
(define-public go-github-com-chris-ramon-douceur
(package
(name "go-github-com-chris-ramon-douceur")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 05/67] gnu: go-github-com-andybalholm-cascadia: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (3 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 04/67] gnu: go-github-com-aymerick-douceur: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 06/67] gnu: go-github-com-puerkitobio-goquery: " Sharlatan Hellseher
` (67 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-andybalholm-cascadia): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I185cb923d21685eb5a3952b9990833d3a0709312
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 39a83990ce..3c1abfff2c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,6 +36,30 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-andybalholm-cascadia
+ (package
+ (name "go-github-com-andybalholm-cascadia")
+ (version "1.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/andybalholm/cascadia")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zgc9fjkn7d66cnmgnmalr9lrq4ii1spap95pf2x1hln4pflib5s"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/andybalholm/cascadia"))
+ (native-inputs
+ (list go-golang-org-x-net))
+ (home-page "https://github.com/andybalholm/cascadia/")
+ (synopsis "CSS selectors for HTML")
+ (description "The Cascadia package implements CSS selectors for use with
+the parse trees produced by the html package.")
+ (license license:bsd-2)))
+
(define-public go-github-com-aymerick-douceur
(package
(name "go-github-com-aymerick-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 27c81850dd..59fd821486 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9203,30 +9203,6 @@ (define-public go-github-com-alecthomas-chroma
converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
(license license:expat)))
-(define-public go-github-com-andybalholm-cascadia
- (package
- (name "go-github-com-andybalholm-cascadia")
- (version "1.3.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/andybalholm/cascadia")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0zgc9fjkn7d66cnmgnmalr9lrq4ii1spap95pf2x1hln4pflib5s"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/andybalholm/cascadia"))
- (native-inputs
- (list go-golang-org-x-net))
- (home-page "https://github.com/andybalholm/cascadia/")
- (synopsis "CSS selectors for HTML")
- (description "The Cascadia package implements CSS selectors for use with
-the parse trees produced by the html package.")
- (license license:bsd-2)))
-
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 06/67] gnu: go-github-com-puerkitobio-goquery: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (4 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 05/67] gnu: go-github-com-andybalholm-cascadia: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 07/67] gnu: go-github-com-chris-ramon-douceur: " Sharlatan Hellseher
` (66 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-puerkitobio-goquery): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic0415a8b280ebd12086a5976c9765c1dbbf50bd2
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3c1abfff2c..8d8b4fb85c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,6 +2,8 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
@@ -131,6 +133,30 @@ (define-public go-github-com-gorilla-mux
incoming requests with their respective handler.")
(license license:bsd-3)))
+(define-public go-github-com-puerkitobio-goquery
+ (package
+ (name "go-github-com-puerkitobio-goquery")
+ (version "1.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/PuerkitoBio/goquery")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0gh1d99l5xc9hvwa4j40pfq3y9vfyq52mnrz6bf1kw2r2zr2gbcc"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/PuerkitoBio/goquery"))
+ (propagated-inputs
+ (list go-github-com-andybalholm-cascadia go-golang-org-x-net))
+ (home-page "https://github.com/PuerkitoBio/goquery")
+ (synopsis "Features similar to jQuery to the Go language")
+ (description "@code{goquery} brings a syntax and a set of features similar
+to jQuery to the Go language.")
+ (license license:bsd-3)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 59fd821486..c516caef30 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9203,30 +9203,6 @@ (define-public go-github-com-alecthomas-chroma
converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
(license license:expat)))
-(define-public go-github-com-puerkitobio-goquery
- (package
- (name "go-github-com-puerkitobio-goquery")
- (version "1.7.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/PuerkitoBio/goquery")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0gh1d99l5xc9hvwa4j40pfq3y9vfyq52mnrz6bf1kw2r2zr2gbcc"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/PuerkitoBio/goquery"))
- (propagated-inputs
- (list go-github-com-andybalholm-cascadia go-golang-org-x-net))
- (home-page "https://github.com/PuerkitoBio/goquery")
- (synopsis "Features similar to jQuery to the Go language")
- (description "@code{goquery} brings a syntax and a set of features similar
-to jQuery to the Go language.")
- (license license:bsd-3)))
-
(define-public go-github-com-jmespath-go-jmespath
(package
(name "go-github-com-jmespath-go-jmespath")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 07/67] gnu: go-github-com-chris-ramon-douceur: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (5 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 06/67] gnu: go-github-com-puerkitobio-goquery: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 08/67] gnu: go-github-com-gorilla-websocket: " Sharlatan Hellseher
` (65 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-chris-ramon-douceur): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I9d0fdccc4ff557870dad60e9ac062ccb2e995979
---
gnu/packages/golang-web.scm | 30 +++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 28 ----------------------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 8d8b4fb85c..79a69bc842 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
-;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
@@ -88,6 +88,34 @@ (define-public go-github-com-aymerick-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-chris-ramon-douceur
+ (package
+ (name "go-github-com-chris-ramon-douceur")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/chris-ramon/douceur")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/chris-ramon/douceur"))
+ (propagated-inputs
+ (list go-github-com-aymerick-douceur
+ go-github-com-gorilla-css))
+ (native-inputs
+ (list go-github-com-puerkitobio-goquery
+ go-github-com-andybalholm-cascadia
+ go-golang-org-x-net))
+ (home-page "https://github.com/chris-ramon/douceur/")
+ (synopsis "CSS parser and inliner")
+ (description "This package provides a CSS parser and inliner.")
+ (license license:expat)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c516caef30..0ed377232b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9230,34 +9230,6 @@ (define-public go-github-com-jmespath-go-jmespath
transforms one JSON document into another through a JMESPath expression.")
(license license:asl2.0)))
-(define-public go-github-com-chris-ramon-douceur
- (package
- (name "go-github-com-chris-ramon-douceur")
- (version "0.2.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/chris-ramon/douceur")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/chris-ramon/douceur"))
- (propagated-inputs
- (list go-github-com-aymerick-douceur
- go-github-com-gorilla-css))
- (native-inputs
- (list go-github-com-puerkitobio-goquery
- go-github-com-andybalholm-cascadia
- go-golang-org-x-net))
- (home-page "https://github.com/chris-ramon/douceur/")
- (synopsis "CSS parser and inliner")
- (description "This package provides a CSS parser and inliner.")
- (license license:expat)))
-
(define-public go-github-com-microcosm-cc-bluemonday
(package
(name "go-github-com-microcosm-cc-bluemonday")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 08/67] gnu: go-github-com-gorilla-websocket: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (6 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 07/67] gnu: go-github-com-chris-ramon-douceur: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 09/67] gnu: go-github-com-sourcegraph-jsonrpc2: " Sharlatan Hellseher
` (64 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-websocket): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/ipfs.scm: Add (gnu packages golang-web) module.
Change-Id: I844738ec0b178a6a1746b01659c93a20919c2736
---
gnu/packages/golang-web.scm | 23 +++++++++++++++++++++++
gnu/packages/golang.scm | 21 ---------------------
gnu/packages/ipfs.scm | 1 +
3 files changed, 24 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 79a69bc842..0ca70cec38 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2022 muradm <mail@muradm.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -161,6 +162,28 @@ (define-public go-github-com-gorilla-mux
incoming requests with their respective handler.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-websocket
+ (package
+ (name "go-github-com-gorilla-websocket")
+ (version "1.5.0")
+ (home-page "https://github.com/gorilla/websocket")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xrr6snvs9g1nzxxg05w4i4pq6k1xjljl5mvavd838qc468n118i"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/gorilla/websocket"))
+ (synopsis "Fast WebSocket implementation for Go")
+ (description "Gorilla WebSocket is a Go implementation of the WebSocket
+protocol.")
+ (license license:bsd-2)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0ed377232b..97c9d9a663 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12646,27 +12646,6 @@ (define-public go-github-com-google-shlex
using shell-style rules for quoting and commenting.")
(license license:asl2.0)))
-(define-public go-github-com-gorilla-websocket
- (package
- (name "go-github-com-gorilla-websocket")
- (version "1.5.0")
- (home-page "https://github.com/gorilla/websocket")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1xrr6snvs9g1nzxxg05w4i4pq6k1xjljl5mvavd838qc468n118i"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/gorilla/websocket"))
- (synopsis "Fast WebSocket implementation for Go")
- (description "Gorilla WebSocket is a Go implementation of the WebSocket protocol.")
- (license license:bsd-2)))
-
(define-public go-github-com-sourcegraph-jsonrpc2
(package
(name "go-github-com-sourcegraph-jsonrpc2")
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index a4c0613e40..fc66582c8a 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -30,6 +30,7 @@ (define-module (gnu packages ipfs)
#:use-module (guix build-system go)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages python)
#:use-module (gnu packages shells)
#:use-module (gnu packages syncthing))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 09/67] gnu: go-github-com-sourcegraph-jsonrpc2: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (7 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 08/67] gnu: go-github-com-gorilla-websocket: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 10/67] gnu: go-github-com-gorilla-handlers: " Sharlatan Hellseher
` (63 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-sourcegraph-jsonrpc2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/databases.scm: Add (gnu packages golang-web) module.
Change-Id: Idda2e18ae5d3e19f72265bdd017eadddc25bcad9
---
gnu/packages/databases.scm | 1 +
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
3 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 4bc642aa17..0d43ae5c88 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -107,6 +107,7 @@ (define-module (gnu packages databases)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages gperf)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 0ca70cec38..f9e7039707 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -208,6 +208,32 @@ (define-public go-github-com-puerkitobio-goquery
to jQuery to the Go language.")
(license license:bsd-3)))
+(define-public go-github-com-sourcegraph-jsonrpc2
+ (package
+ (name "go-github-com-sourcegraph-jsonrpc2")
+ (version "0.1.0")
+ (home-page "https://github.com/sourcegraph/jsonrpc2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dk0w32k96vxrwnmm24wqx337dn8ylch65qwrbc3wh7whw2xx71q"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/sourcegraph/jsonrpc2"))
+ (propagated-inputs
+ (list go-github-com-daviddengcn-go-colortext
+ go-github-com-gorilla-websocket
+ go-github-com-motemen-go-colorine))
+ (synopsis "Provides a client and server implementation of JSON-RPC 2.0")
+ (description
+ "Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 97c9d9a663..97c89407a5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12646,32 +12646,6 @@ (define-public go-github-com-google-shlex
using shell-style rules for quoting and commenting.")
(license license:asl2.0)))
-(define-public go-github-com-sourcegraph-jsonrpc2
- (package
- (name "go-github-com-sourcegraph-jsonrpc2")
- (version "0.1.0")
- (home-page "https://github.com/sourcegraph/jsonrpc2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1dk0w32k96vxrwnmm24wqx337dn8ylch65qwrbc3wh7whw2xx71q"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/sourcegraph/jsonrpc2"))
- (propagated-inputs
- (list
- go-github-com-daviddengcn-go-colortext
- go-github-com-motemen-go-colorine
- go-github-com-gorilla-websocket))
- (synopsis "Provides a client and server implementation of JSON-RPC 2.0")
- (description
- "Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
- (license license:expat)))
-
(define-public go-github-com-disintegration-imaging
(package
(name "go-github-com-disintegration-imaging")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 10/67] gnu: go-github-com-gorilla-handlers: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (8 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 09/67] gnu: go-github-com-sourcegraph-jsonrpc2: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 11/67] gnu: go-github-com-gorilla-handlers: Remove input labels Sharlatan Hellseher
` (62 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-handlers): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/backup.scm: Add (gnu packages golang-web) module.
Change-Id: I7535bdecc681e230f4aee70115a3dea847d40e6f
---
gnu/packages/backup.scm | 1 +
gnu/packages/golang-web.scm | 28 +++++++++++++++++++++++++++-
gnu/packages/golang.scm | 26 --------------------------
3 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 12c4a45b9d..8e0a782f91 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -71,6 +71,7 @@ (define-module (gnu packages backup)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages gperf)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index f9e7039707..0480f648eb 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,9 +1,10 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
-;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
;;;
@@ -139,6 +140,31 @@ (define-public go-github-com-gorilla-css
(description "This package provides a CSS3 tokenizer.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-handlers
+ (package
+ (name "go-github-com-gorilla-handlers")
+ (version "1.5.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/handlers")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
+ (arguments
+ '(#:tests? #f ; Tries to download from the internet
+ #:import-path "github.com/gorilla/handlers"))
+ (home-page "https://github.com/gorilla/handlers")
+ (synopsis "Middleware for Go HTTP services and web applications")
+ (description "A collection of useful middleware for Go HTTP services and
+web applications.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-mux
(package
(name "go-github-com-gorilla-mux")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 97c89407a5..7c7167b3b6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4706,32 +4706,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-handlers
- (package
- (name "go-github-com-gorilla-handlers")
- (version "1.5.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/handlers")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
- (build-system go-build-system)
- (propagated-inputs
- `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
- (arguments
- '(#:tests? #f ; Tries to download from the internet
- #:import-path "github.com/gorilla/handlers"))
- (home-page "https://github.com/gorilla/handlers")
- (synopsis "Middleware for Go HTTP services and web applications")
- (description "A collection of useful middleware for Go HTTP services
-and web applications.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-securecookie
(package
(name "go-github-com-gorilla-securecookie")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 11/67] gnu: go-github-com-gorilla-handlers: Remove input labels.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (9 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 10/67] gnu: go-github-com-gorilla-handlers: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 12/67] gnu: go-github-com-felixge-httpsnoop: Move to (gnu packages golang-web) Sharlatan Hellseher
` (61 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-gorilla-handlers): Remove labels.
Change-Id: I955408970a64d03823327912fdafcac5d7fbda93
---
gnu/packages/golang-web.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 0480f648eb..3a3c5f9621 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -154,11 +154,11 @@ (define-public go-github-com-gorilla-handlers
(sha256
(base32 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
(build-system go-build-system)
- (propagated-inputs
- `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
(arguments
'(#:tests? #f ; Tries to download from the internet
#:import-path "github.com/gorilla/handlers"))
+ (propagated-inputs
+ (list go-github-com-felixge-httpsnoop))
(home-page "https://github.com/gorilla/handlers")
(synopsis "Middleware for Go HTTP services and web applications")
(description "A collection of useful middleware for Go HTTP services and
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 12/67] gnu: go-github-com-felixge-httpsnoop: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (10 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 11/67] gnu: go-github-com-gorilla-handlers: Remove input labels Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 13/67] gnu: go-github-com-gorilla-securecookie: " Sharlatan Hellseher
` (60 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-felixge-httpsnoop): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic2494b3e45c934ecddaa621f00f474b9079dc5ed
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3a3c5f9621..c0ceb5b7ce 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -118,6 +118,30 @@ (define-public go-github-com-chris-ramon-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-felixge-httpsnoop
+ (package
+ (name "go-github-com-felixge-httpsnoop")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/felixge/httpsnoop")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/felixge/httpsnoop"))
+ (home-page "https://github.com/felixge/httpsnoop/")
+ (synopsis "Capture http related metrics")
+ (description
+ "Httpsnoop provides an easy way to capture http related
+metrics (i.e. response time, bytes written, and http status code) from your
+application's http.Handlers.")
+ (license license:expat)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7c7167b3b6..2dae111af4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4984,31 +4984,6 @@ (define-public go-github-com-spf13-viper
all types of configuration needs and formats.")
(license license:expat)))
-(define-public go-github-com-felixge-httpsnoop
- (package
- (name "go-github-com-felixge-httpsnoop")
- (version "1.0.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/felixge/httpsnoop")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/felixge/httpsnoop"))
- (home-page "https://github.com/felixge/httpsnoop/")
- (synopsis "Capture http related metrics")
- (description
- "Httpsnoop provides an easy way to capture http related
-metrics (i.e. response time, bytes written, and http status code) from your
-application's http.Handlers.")
- (license license:expat)))
-
(define-public go-github-com-fsnotify-fsnotify
(package
(name "go-github-com-fsnotify-fsnotify")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 13/67] gnu: go-github-com-gorilla-securecookie: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (11 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 12/67] gnu: go-github-com-felixge-httpsnoop: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 14/67] gnu: go-github-com-gorilla-sessions: " Sharlatan Hellseher
` (59 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-securecookie): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iae8beed5e7a099033585bcab33cd42d237d2746d
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c0ceb5b7ce..1a77e0f6f2 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -212,6 +212,30 @@ (define-public go-github-com-gorilla-mux
incoming requests with their respective handler.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-securecookie
+ (package
+ (name "go-github-com-gorilla-securecookie")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/securecookie")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/securecookie"))
+ (home-page "https://github.com/gorilla/securecookie")
+ (synopsis "Encodes and decodes authenticated and optionally encrypted
+cookie values")
+ (description
+ "Gorilla/securecookie encodes and decodes authenticated and optionally
+encrypted cookie values for Go web applications.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2dae111af4..8ccf611b11 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4706,31 +4706,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-securecookie
- (package
- (name "go-github-com-gorilla-securecookie")
- (version "1.1.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/securecookie")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/securecookie"))
- (home-page "https://github.com/gorilla/securecookie")
- (synopsis "Encodes and decodes authenticated and optionally encrypted
-cookie values")
- (description
- "Gorilla/securecookie encodes and decodes authenticated and optionally
-encrypted cookie values for Go web applications.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-sessions
(package
(name "go-github-com-gorilla-sessions")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 14/67] gnu: go-github-com-gorilla-sessions: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (12 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 13/67] gnu: go-github-com-gorilla-securecookie: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 15/67] gnu: go-github-com-jcmturner-gokrb5-v8: " Sharlatan Hellseher
` (58 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-sessions): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic4cc128724583a7c50102e476c6b96ea4e322bdd
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1a77e0f6f2..971b370115 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -236,6 +237,32 @@ (define-public go-github-com-gorilla-securecookie
encrypted cookie values for Go web applications.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-sessions
+ (package
+ (name "go-github-com-gorilla-sessions")
+ (version "1.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/sessions")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zjw2s37yggk9231db0vmgs67z8m3am8i8l4gpgz6fvlbv52baxp"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/sessions"))
+ (propagated-inputs
+ (list go-github-com-gorilla-securecookie))
+ (home-page "https://github.com/gorilla/sessions")
+ (synopsis "Manage user sessions in web applications")
+ (description
+ "This package that provides infrastructure for creating and managing user
+sessions in web applications. It supports cookie and filesystem-based
+sessions, flash messages, custom backends, and more.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8ccf611b11..50bf035df7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4706,31 +4706,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-sessions
- (package
- (name "go-github-com-gorilla-sessions")
- (version "1.2.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/sessions")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1zjw2s37yggk9231db0vmgs67z8m3am8i8l4gpgz6fvlbv52baxp"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/sessions"))
- (propagated-inputs (list go-github-com-gorilla-securecookie))
- (home-page "https://github.com/gorilla/sessions")
- (synopsis "Manage user sessions in web applications")
- (description
- "This package that provides infrastructure for creating and
-managing user sessions in web applications. It supports cookie and
-filesystem-based sessions, flash messages, custom backends, and more.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-csrf
(package
(name "go-github-com-gorilla-csrf")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 15/67] gnu: go-github-com-jcmturner-gokrb5-v8: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (13 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 14/67] gnu: go-github-com-gorilla-sessions: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 16/67] gnu: go-github-com-jcmturner-gokrb5-v8: Adjust inputs Sharlatan Hellseher
` (57 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-jcmturner-gokrb5-v8): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ie7833a1f5712cc3899fd140741774e6b71f03967
---
gnu/packages/golang-web.scm | 52 ++++++++++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 48 ----------------------------------
2 files changed, 51 insertions(+), 49 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 971b370115..ae10a86551 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -30,7 +30,8 @@ (define-module (gnu packages golang-web)
#:use-module (guix build-system go)
#:use-module (guix git-download)
#:use-module (gnu packages)
- #:use-module (gnu packages golang))
+ #:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-check))
;;; Commentary:
;;;
@@ -285,6 +286,55 @@ (define-public go-github-com-gorilla-websocket
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-jcmturner-gokrb5-v8
+ (package
+ (name "go-github-com-jcmturner-gokrb5-v8")
+ (version "8.4.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jcmturner/gokrb5")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0w9d1pa3r6qmdblk25bghf78ncs03l15l1sxnh4n536c356rzq4b"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jcmturner/gokrb5/v8"
+ #:unpack-path "github.com/jcmturner/gokrb5"))
+ (propagated-inputs
+ (list go-github-com-gorilla-sessions
+ go-github-com-hashicorp-go-uuid
+ go-github-com-jcmturner-aescts-v2
+ go-github-com-jcmturner-dnsutils-v2
+ go-github-com-jcmturner-gofork
+ go-github-com-jcmturner-goidentity-v6
+ go-github-com-jcmturner-rpc-v2-mstypes
+ go-github-com-jcmturner-rpc-v2-ndr
+ go-github-com-stretchr-testify
+ go-golang-org-x-crypto
+ go-golang-org-x-net))
+ (home-page "https://github.com/jcmturner/gokrb5")
+ (synopsis "Pure Go Kerberos library for clients and services")
+ (description "This package provides a pure Go Kerberos library. It
+features:
+@itemize
+@item Kerberos libraries for custom integration
+@item Parsing Keytab files
+@item Parsing krb5.conf files
+@item Parsing client credentials cache files such as /tmp/krb5cc_$(id -u $(whoami))
+@end itemize
+
+On the client side, it provides a client that can authenticate to an SPNEGO
+Kerberos authenticated web service, and the ability to change client's
+password.
+
+On the server side, the library provides a HTTP handler wrapper implements
+SPNEGO Kerberos authentication, as well as a HTTP handler wrapper decodes
+Microsoft AD PAC authorization data.")
+ (license license:asl2.0)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 50bf035df7..e7ccf09837 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1436,54 +1436,6 @@ (define-public go-github-com-jcmturner-gofork
arounds until issues are addressed in the official distribution.")
(license license:bsd-3)))
-(define-public go-github-com-jcmturner-gokrb5-v8
- (package
- (name "go-github-com-jcmturner-gokrb5-v8")
- (version "8.4.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jcmturner/gokrb5")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0w9d1pa3r6qmdblk25bghf78ncs03l15l1sxnh4n536c356rzq4b"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jcmturner/gokrb5/v8"
- #:unpack-path "github.com/jcmturner/gokrb5"))
- (propagated-inputs (list go-golang-org-x-net
- go-golang-org-x-crypto
- go-github-com-stretchr-testify
- go-github-com-jcmturner-rpc-v2-ndr
- go-github-com-jcmturner-rpc-v2-mstypes
- go-github-com-jcmturner-goidentity-v6
- go-github-com-jcmturner-gofork
- go-github-com-jcmturner-dnsutils-v2
- go-github-com-jcmturner-aescts-v2
- go-github-com-hashicorp-go-uuid
- go-github-com-gorilla-sessions))
- (home-page "https://github.com/jcmturner/gokrb5")
- (synopsis "Pure Go Kerberos library for clients and services")
- (description "This package provides a pure Go Kerberos library. It
-features:
-@itemize
-@item Kerberos libraries for custom integration
-@item Parsing Keytab files
-@item Parsing krb5.conf files
-@item Parsing client credentials cache files such as /tmp/krb5cc_$(id -u $(whoami))
-@end itemize
-
-On the client side, it provides a client that can authenticate to an SPNEGO
-Kerberos authenticated web service, and the ability to change client's
-password.
-
-On the server side, the library provides a HTTP handler wrapper implements
-SPNEGO Kerberos authentication, as well as a HTTP handler wrapper decodes
-Microsoft AD PAC authorization data.")
- (license license:asl2.0)))
-
(define-public go-github-com-jcmturner-rpc
(package
(name "go-github-com-jcmturner-rpc")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 16/67] gnu: go-github-com-jcmturner-gokrb5-v8: Adjust inputs.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (14 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 15/67] gnu: go-github-com-jcmturner-gokrb5-v8: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 17/67] gnu: go-github-com-jcmturner-dnsutils-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
` (56 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-jcmturner-gokrb5-v8)
[propagated-inputs]: go-github-com-stretchr-testify move from here ...
[native-inputs]: ... to here.
Change-Id: I93be99c60c15ba7861dd909e8856c800f8cf8314
---
gnu/packages/golang-web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index ae10a86551..580877f8fe 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -303,6 +303,8 @@ (define-public go-github-com-jcmturner-gokrb5-v8
(arguments
'(#:import-path "github.com/jcmturner/gokrb5/v8"
#:unpack-path "github.com/jcmturner/gokrb5"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-gorilla-sessions
go-github-com-hashicorp-go-uuid
@@ -312,7 +314,6 @@ (define-public go-github-com-jcmturner-gokrb5-v8
go-github-com-jcmturner-goidentity-v6
go-github-com-jcmturner-rpc-v2-mstypes
go-github-com-jcmturner-rpc-v2-ndr
- go-github-com-stretchr-testify
go-golang-org-x-crypto
go-golang-org-x-net))
(home-page "https://github.com/jcmturner/gokrb5")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 17/67] gnu: go-github-com-jcmturner-dnsutils-v2: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (15 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 16/67] gnu: go-github-com-jcmturner-gokrb5-v8: Adjust inputs Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 18/67] gnu: go-github-com-jcmturner-dnsutils-v2: Adjust inputs Sharlatan Hellseher
` (55 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-jcmturner-dnsutils-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I65f87f8e8cd7970a15d3b1e09c5ef4202f0542db
---
gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 580877f8fe..9b2bcd7cbd 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -286,6 +286,34 @@ (define-public go-github-com-gorilla-websocket
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-jcmturner-dnsutils-v2
+ (package
+ (name "go-github-com-jcmturner-dnsutils-v2")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jcmturner/dnsutils")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "116zbgvfj88vv93fnapmmgyd5g8kzy774cdyzsnnzyzng92j61c9"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jcmturner/dnsutils/v2"))
+ (propagated-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/jcmturner/dnsutils")
+ (synopsis "Go library with DNS utils")
+ (description
+ "The dnsutils package provides a Go function to return a map of Service
+Records (SRV) in the order they should be used for a given service, protocol
+and name. The order is determined by the records' priority and randomized
+selection based on their relative weighting. This package is useful for
+network applications that require accessing services using SRV records.")
+ (license license:asl2.0)))
+
(define-public go-github-com-jcmturner-gokrb5-v8
(package
(name "go-github-com-jcmturner-gokrb5-v8")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e7ccf09837..b058520e47 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1362,33 +1362,6 @@ (define-public go-github-com-jcmturner-aescts-v2
encryption and decryption methods.")
(license license:asl2.0)))
-(define-public go-github-com-jcmturner-dnsutils-v2
- (package
- (name "go-github-com-jcmturner-dnsutils-v2")
- (version "2.0.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jcmturner/dnsutils")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "116zbgvfj88vv93fnapmmgyd5g8kzy774cdyzsnnzyzng92j61c9"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jcmturner/dnsutils/v2"))
- (propagated-inputs (list go-github-com-stretchr-testify))
- (home-page "https://github.com/jcmturner/dnsutils")
- (synopsis "Go library with DNS utils")
- (description
- "The dnsutils package provides a Go function to return a map of Service
-Records (SRV) in the order they should be used for a given service, protocol
-and name. The order is determined by the records' priority and randomized
-selection based on their relative weighting. This package is useful for
-network applications that require accessing services using SRV records.")
- (license license:asl2.0)))
-
(define-public go-github-com-jcmturner-goidentity-v6
(package
(name "go-github-com-jcmturner-goidentity-v6")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 18/67] gnu: go-github-com-jcmturner-dnsutils-v2: Adjust inputs.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (16 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 17/67] gnu: go-github-com-jcmturner-dnsutils-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 19/67] gnu: go-github-com-jcmturner-goidentity-v6: Move to (gnu packages golang-web) Sharlatan Hellseher
` (54 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-jcmturner-dnsutils-v2):
Swap propagated-inputs to native-inputs.
Change-Id: I1d02b45559214d72828a78437766cf7c1e06f1b0
---
gnu/packages/golang-web.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9b2bcd7cbd..6a832291ab 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -302,7 +302,7 @@ (define-public go-github-com-jcmturner-dnsutils-v2
(build-system go-build-system)
(arguments
'(#:import-path "github.com/jcmturner/dnsutils/v2"))
- (propagated-inputs
+ (native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/jcmturner/dnsutils")
(synopsis "Go library with DNS utils")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 19/67] gnu: go-github-com-jcmturner-goidentity-v6: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (17 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 18/67] gnu: go-github-com-jcmturner-dnsutils-v2: Adjust inputs Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 20/67] gnu: go-github-com-jcmturner-goidentity-v6: Adjust inputs Sharlatan Hellseher
` (53 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-jcmturner-goidentity-v6): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ibd9202efe7fc1002bc34376107a0e88872c888be
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 6a832291ab..751eb41b58 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -314,6 +314,30 @@ (define-public go-github-com-jcmturner-dnsutils-v2
network applications that require accessing services using SRV records.")
(license license:asl2.0)))
+(define-public go-github-com-jcmturner-goidentity-v6
+ (package
+ (name "go-github-com-jcmturner-goidentity-v6")
+ (version "6.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jcmturner/goidentity")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "064ysvxvrvij843s7qj1nkzl5qc6j1qbrsb3s0zmwd1sa7vq8q1n"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jcmturner/goidentity/v6"))
+ (propagated-inputs
+ (list go-github-com-stretchr-testify go-github-com-hashicorp-go-uuid))
+ (home-page "https://github.com/jcmturner/goidentity")
+ (synopsis "Hold authenticated identities and their attributes")
+ (description "This package provides a standard interface for holding
+authenticated identities and their attributes.")
+ (license license:asl2.0)))
+
(define-public go-github-com-jcmturner-gokrb5-v8
(package
(name "go-github-com-jcmturner-gokrb5-v8")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b058520e47..37eaa0fc2c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1362,30 +1362,6 @@ (define-public go-github-com-jcmturner-aescts-v2
encryption and decryption methods.")
(license license:asl2.0)))
-(define-public go-github-com-jcmturner-goidentity-v6
- (package
- (name "go-github-com-jcmturner-goidentity-v6")
- (version "6.0.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jcmturner/goidentity")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "064ysvxvrvij843s7qj1nkzl5qc6j1qbrsb3s0zmwd1sa7vq8q1n"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jcmturner/goidentity/v6"))
- (propagated-inputs
- (list go-github-com-stretchr-testify go-github-com-hashicorp-go-uuid))
- (home-page "https://github.com/jcmturner/goidentity")
- (synopsis "Hold authenticated identities and their attributes")
- (description "This package provides a standard interface for holding
-authenticated identities and their attributes.")
- (license license:asl2.0)))
-
(define-public go-github-com-jcmturner-gofork
(package
(name "go-github-com-jcmturner-gofork")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 20/67] gnu: go-github-com-jcmturner-goidentity-v6: Adjust inputs.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (18 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 19/67] gnu: go-github-com-jcmturner-goidentity-v6: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 21/67] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web) Sharlatan Hellseher
` (52 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-jcmturner-goidentity-v6):
[propagated-inputs]: Move go-github-com-stretchr-testify from here ...
[native-inputs]: ... to here.
Change-Id: I1e7bd72b3bf1c0879426a6a4c5b3b1de1d316069
---
gnu/packages/golang-web.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 751eb41b58..8ced6a4c6f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -330,8 +330,10 @@ (define-public go-github-com-jcmturner-goidentity-v6
(build-system go-build-system)
(arguments
'(#:import-path "github.com/jcmturner/goidentity/v6"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
- (list go-github-com-stretchr-testify go-github-com-hashicorp-go-uuid))
+ (list go-github-com-hashicorp-go-uuid))
(home-page "https://github.com/jcmturner/goidentity")
(synopsis "Hold authenticated identities and their attributes")
(description "This package provides a standard interface for holding
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 21/67] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (19 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 20/67] gnu: go-github-com-jcmturner-goidentity-v6: Adjust inputs Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 22/67] gnu: go-github-com-tdewolff-minify-v2: " Sharlatan Hellseher
` (51 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-csrf): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I77bcbdaf515152b95418f9e2632d810202a1e23a
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 26 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 8ced6a4c6f..5be08caf2e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -144,6 +144,32 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-gorilla-csrf
+ (package
+ (name "go-github-com-gorilla-csrf")
+ (version "1.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/csrf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
+ ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
+ (arguments
+ '(#:import-path "github.com/gorilla/csrf"))
+ (home-page "https://github.com/gorilla/csrf")
+ (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
+ (description
+ "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
+middleware for Go web applications and services.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 37eaa0fc2c..969cbd886f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4607,33 +4607,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-csrf
- (package
- (name "go-github-com-gorilla-csrf")
- (version "1.7.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/csrf")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
- (build-system go-build-system)
- (propagated-inputs
- `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
- ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
- (arguments
- '(#:import-path "github.com/gorilla/csrf"))
- (home-page "https://github.com/gorilla/csrf")
- (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
- (description
- "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
-middleware for Go web applications and services.")
- (license license:bsd-3)))
-
(define-public go-github-com-jonboulle-clockwork
(let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 22/67] gnu: go-github-com-tdewolff-minify-v2: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (20 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 21/67] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 23/67] gnu: go-github-com-tdewolff-parse-v2: " Sharlatan Hellseher
` (50 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-tdewolff-minify-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I4cee7a25e618cc7427d8669c4b17d028817e378f
---
gnu/packages/golang-web.scm | 43 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 40 ----------------------------------
2 files changed, 43 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 5be08caf2e..d82cac46b9 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
@@ -28,6 +29,7 @@ (define-module (gnu packages golang-web)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix build-system go)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
@@ -466,6 +468,47 @@ (define-public go-github-com-sourcegraph-jsonrpc2
"Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
(license license:expat)))
+(define-public go-github-com-tdewolff-minify-v2
+ (package
+ (name "go-github-com-tdewolff-minify-v2")
+ (version "2.12.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/minify")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qhslaq885zbqs83nvbi29yh09b89kkb6ycami8lz28wkwrlayap"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tdewolff/minify/v2"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'regenerate-hash
+ (lambda* (#:key import-path #:allow-other-keys)
+ (for-each
+ (lambda (dir)
+ (with-directory-excursion
+ (format #f "src/~a/~a" import-path dir)
+ (make-file-writable "hash.go")
+ (format #t "Generating `hash.go' for ~a...~%" dir)
+ (invoke "go" "generate")))
+ '("css" "html" "svg")))))))
+ (propagated-inputs
+ (list go-github-com-tdewolff-parse-v2))
+ (native-inputs
+ (list go-github-com-tdewolff-hasher
+ go-github-com-tdewolff-test))
+ (home-page "https://go.tacodewolff.nl/minify")
+ (synopsis "Go minifiers for web formats")
+ (description
+ "This package provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and
+an interface to implement any other minifier.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 969cbd886f..143487c881 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3436,46 +3436,6 @@ (define-public go-github-com-tdewolff-hasher
@code{string} to @code{uint32} mapper.")
(license license:bsd-3)))
-(define-public go-github-com-tdewolff-minify-v2
- (package
- (name "go-github-com-tdewolff-minify-v2")
- (version "2.12.7")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tdewolff/minify")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0qhslaq885zbqs83nvbi29yh09b89kkb6ycami8lz28wkwrlayap"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/tdewolff/minify/v2"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'regenerate-hash
- (lambda* (#:key import-path #:allow-other-keys)
- (for-each
- (lambda (dir)
- (with-directory-excursion
- (format #f "src/~a/~a" import-path dir)
- (make-file-writable "hash.go")
- (format #t "Generating `hash.go' for ~a...~%" dir)
- (invoke "go" "generate")))
- '("css" "html" "svg")))))))
- (propagated-inputs
- (list go-github-com-tdewolff-parse-v2))
- (native-inputs
- (list go-github-com-tdewolff-hasher
- go-github-com-tdewolff-test))
- (home-page "https://go.tacodewolff.nl/minify")
- (synopsis "Go minifiers for web formats")
- (description
- "This package provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and
-an interface to implement any other minifier.")
- (license license:expat)))
-
(define-public go-github-com-tdewolff-parse-v2
(package
(name "go-github-com-tdewolff-parse-v2")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 23/67] gnu: go-github-com-tdewolff-parse-v2: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (21 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 22/67] gnu: go-github-com-tdewolff-minify-v2: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 24/67] gnu: go-github-com-gorilla-context: " Sharlatan Hellseher
` (49 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-tdewolff-parse-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Id58c54359f1bf55c6fc8178ce142bf985858bb87
---
gnu/packages/golang-web.scm | 38 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 37 ------------------------------------
2 files changed, 38 insertions(+), 37 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d82cac46b9..9e68e96baf 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -509,6 +509,44 @@ (define-public go-github-com-tdewolff-minify-v2
an interface to implement any other minifier.")
(license license:expat)))
+(define-public go-github-com-tdewolff-parse-v2
+ (package
+ (name "go-github-com-tdewolff-parse-v2")
+ (version "2.6.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/parse")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dqki9ima079k9a3l72igmx5dml8qsl9z8rzw8a433f4gjhlv320"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tdewolff/parse/v2"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'regenerate-hash
+ (lambda* (#:key import-path #:allow-other-keys)
+ (for-each
+ (lambda (dir)
+ (with-directory-excursion
+ (format #f "src/~a/~a" import-path dir)
+ (make-file-writable "hash.go")
+ (format #t "Generating `hash.go' for ~a...~%" dir)
+ (invoke "go" "generate")))
+ '("css" "html")))))))
+ (native-inputs
+ (list go-github-com-tdewolff-hasher
+ go-github-com-tdewolff-test))
+ (home-page "https://github.com/tdewolff/parse")
+ (synopsis "Go parsers for web formats")
+ (description
+ "This package contains several lexers and parsers written in Go.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 143487c881..010485c8b9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3436,43 +3436,6 @@ (define-public go-github-com-tdewolff-hasher
@code{string} to @code{uint32} mapper.")
(license license:bsd-3)))
-(define-public go-github-com-tdewolff-parse-v2
- (package
- (name "go-github-com-tdewolff-parse-v2")
- (version "2.6.6")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tdewolff/parse")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1dqki9ima079k9a3l72igmx5dml8qsl9z8rzw8a433f4gjhlv320"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/tdewolff/parse/v2"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'regenerate-hash
- (lambda* (#:key import-path #:allow-other-keys)
- (for-each
- (lambda (dir)
- (with-directory-excursion
- (format #f "src/~a/~a" import-path dir)
- (make-file-writable "hash.go")
- (format #t "Generating `hash.go' for ~a...~%" dir)
- (invoke "go" "generate")))
- '("css" "html")))))))
- (native-inputs
- (list go-github-com-tdewolff-hasher
- go-github-com-tdewolff-test))
- (home-page "https://github.com/tdewolff/parse")
- (synopsis "Go parsers for web formats")
- (description
- "This package contains several lexers and parsers written in Go.")
- (license license:expat)))
-
(define-public go-github-com-tj-docopt
(package
(name "go-github-com-tj-docopt")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 24/67] gnu: go-github-com-gorilla-context: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (22 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 23/67] gnu: go-github-com-tdewolff-parse-v2: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 25/67] gnu: go-github-com-microcosm-cc-bluemonday: " Sharlatan Hellseher
` (48 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-context): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I22ba5493a48fe619ef2aca185c559da3a81f8d81
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9e68e96baf..012ed0429c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -146,6 +146,32 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-gorilla-context
+ (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
+ (revision "0"))
+ (package
+ (name "go-github-com-gorilla-context")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/context")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/context"))
+ (home-page "https://github.com/gorilla/context")
+ (synopsis "Go registry for request variables")
+ (description
+ "This package provides @code{gorilla/context}, which is a general
+purpose registry for global request variables in the Go programming
+language.")
+ (license license:bsd-3))))
+
(define-public go-github-com-gorilla-csrf
(package
(name "go-github-com-gorilla-csrf")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 010485c8b9..03a96970ec 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4480,30 +4480,6 @@ (define-public go-github-com-google-cadvisor
containers.")
(license license:asl2.0))))
-(define-public go-github-com-gorilla-context
- (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
- (revision "0"))
- (package
- (name "go-github-com-gorilla-context")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/context")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/context"))
- (home-page "https://github.com/gorilla/context")
- (synopsis "Go registry for request variables")
- (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
- (license license:bsd-3))))
-
(define-public go-github-com-andybalholm-brotli
(package
(name "go-github-com-andybalholm-brotli")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 25/67] gnu: go-github-com-microcosm-cc-bluemonday: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (23 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 24/67] gnu: go-github-com-gorilla-context: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 26/67] gnu: go-github-com-google-safehtml: " Sharlatan Hellseher
` (47 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-microcosm-cc-bluemonday): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ie5122f8afb2a29574c0e0bb5eb96665ecb77176b
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 012ed0429c..117742dc07 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -444,6 +444,30 @@ (define-public go-github-com-jcmturner-gokrb5-v8
Microsoft AD PAC authorization data.")
(license license:asl2.0)))
+(define-public go-github-com-microcosm-cc-bluemonday
+ (package
+ (name "go-github-com-microcosm-cc-bluemonday")
+ (version "1.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/microcosm-cc/bluemonday")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/microcosm-cc/bluemonday"))
+ (propagated-inputs
+ (list go-github-com-chris-ramon-douceur
+ go-golang-org-x-net))
+ (home-page "https://github.com/microcosm-cc/bluemonday/")
+ (synopsis "HTML sanitizer")
+ (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
+ (license license:bsd-3)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 03a96970ec..8e39509e06 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8902,30 +8902,6 @@ (define-public go-github-com-jmespath-go-jmespath
transforms one JSON document into another through a JMESPath expression.")
(license license:asl2.0)))
-(define-public go-github-com-microcosm-cc-bluemonday
- (package
- (name "go-github-com-microcosm-cc-bluemonday")
- (version "1.0.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/microcosm-cc/bluemonday")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/microcosm-cc/bluemonday"))
- (propagated-inputs
- (list go-github-com-chris-ramon-douceur
- go-golang-org-x-net))
- (home-page "https://github.com/microcosm-cc/bluemonday/")
- (synopsis "HTML sanitizer")
- (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
- (license license:bsd-3)))
-
(define-public go-github-com-muesli-reflow-wordwrap
(package
(name "go-github-com-muesli-reflow-wordwrap")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 26/67] gnu: go-github-com-google-safehtml: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (24 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 25/67] gnu: go-github-com-microcosm-cc-bluemonday: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 27/67] gnu: go-github-com-google-safehtml: Remove input labels Sharlatan Hellseher
` (46 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-google-safehtml): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ia1f14486f262d3695077c8e2f409f4928874c4f8
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 117742dc07..ce95d1b467 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
@@ -146,6 +147,31 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-google-safehtml
+ (package
+ (name "go-github-com-google-safehtml")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/safehtml")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/google/safehtml"))
+ (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text)))
+ (home-page "https://github.com/google/safehtml")
+ (synopsis "Safe HTML for Go")
+ (description
+ "Package safehtml provides immutable string-like types which represent
+values that are guaranteed to be safe, by construction or by escaping or
+sanitization, to use in various HTML contexts and with various DOM APIs.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-context
(let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8e39509e06..8e6cdf3a16 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12247,31 +12247,6 @@ (define-public go-github-com-google-go-jsonnet
implementation.")
(license license:asl2.0)))
-(define-public go-github-com-google-safehtml
- (package
- (name "go-github-com-google-safehtml")
- (version "0.1.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/google/safehtml")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/google/safehtml"))
- (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text)))
- (home-page "https://github.com/google/safehtml")
- (synopsis "Safe HTML for Go")
- (description
- "Package safehtml provides immutable string-like types which represent values
-that are guaranteed to be safe, by construction or by escaping or sanitization,
-to use in various HTML contexts and with various DOM APIs.")
- (license license:bsd-3)))
-
(define-public go-github-com-google-shlex
(package
(name "go-github-com-google-shlex")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 27/67] gnu: go-github-com-google-safehtml: Remove input labels.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (25 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 26/67] gnu: go-github-com-google-safehtml: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 28/67] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web) Sharlatan Hellseher
` (45 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web (go-github-com-google-safehtml): Remove labels.
Change-Id: I20f5748496988c9e64fa0783bb51507c6cfa933e
---
gnu/packages/golang-web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index ce95d1b467..9aa3fe8233 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -163,7 +163,8 @@ (define-public go-github-com-google-safehtml
(build-system go-build-system)
(arguments
'(#:import-path "github.com/google/safehtml"))
- (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text)))
+ (propagated-inputs
+ (list go-golang-org-x-text))
(home-page "https://github.com/google/safehtml")
(synopsis "Safe HTML for Go")
(description
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 28/67] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (26 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 27/67] gnu: go-github-com-google-safehtml: Remove input labels Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 29/67] gnu: go-gopkg-in-square-go-jose-v2: " Sharlatan Hellseher
` (44 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-bep-golibsass): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I514ae05a8c04eea2084cbcb7e4d84c83b6b71bb4
---
gnu/packages/golang-web.scm | 61 ++++++++++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 58 -----------------------------------
2 files changed, 60 insertions(+), 59 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9aa3fe8233..72f2a7d84c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
@@ -34,7 +35,8 @@ (define-module (gnu packages golang-web)
#:use-module (guix git-download)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
- #:use-module (gnu packages golang-check))
+ #:use-module (gnu packages golang-check)
+ #:use-module (gnu packages web))
;;; Commentary:
;;;
@@ -95,6 +97,63 @@ (define-public go-github-com-aymerick-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-bep-golibsass
+ (package
+ (name "go-github-com-bep-golibsass")
+ (version "0.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bep/golibsass")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "libsass_src")
+ #t))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/bep/golibsass/libsass"
+ #:unpack-path "github.com/bep/golibsass"
+ ;; The dev build tag modifies the build to link to system libsass
+ ;; instead of including the bundled one (which we remove.)
+ ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
+ #:build-flags '("-tags" "dev")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-bindings
+ ;; Generate bindings for system libsass, replacing the
+ ;; pre-generated bindings.
+ (lambda* (#:key inputs unpack-path #:allow-other-keys)
+ (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
+ (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
+ (substitute* (string-append "src/" unpack-path "/gen/main.go")
+ (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
+ (string-append "\"" libsass-src "\""))
+ (("../../libsass_src/src/")
+ libsass-src)))
+ (invoke "go" "generate" (string-append unpack-path "/gen"))
+ #t))
+ (replace 'check
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ (if tests?
+ (invoke "go" "test" import-path "-tags" "dev"))
+ #t)))))
+ (propagated-inputs
+ (list libsass))
+ (native-inputs
+ `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
+ ("libsass-src" ,(package-source libsass))))
+ (home-page "https://github.com/bep/golibsass")
+ (synopsis "Easy to use Go bindings for LibSass")
+ (description
+ "This package provides SCSS compiler support for Go applications.")
+ (license license:expat)))
+
(define-public go-github-com-chris-ramon-douceur
(package
(name "go-github-com-chris-ramon-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8e6cdf3a16..27548f3b8e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10245,64 +10245,6 @@ (define-public go-github-com-gologme-log
additions.")
(license license:bsd-3))))
-(define-public go-github-com-bep-golibsass
- (package
- (name "go-github-com-bep-golibsass")
- (version "0.7.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/bep/golibsass")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file-recursively "libsass_src")
- #t))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/bep/golibsass/libsass"
- #:unpack-path "github.com/bep/golibsass"
- ;; The dev build tag modifies the build to link to system libsass
- ;; instead of including the bundled one (which we remove.)
- ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
- #:build-flags '("-tags" "dev")
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'generate-bindings
- ;; Generate bindings for system libsass, replacing the
- ;; pre-generated bindings.
- (lambda* (#:key inputs unpack-path #:allow-other-keys)
- (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
- (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
- (substitute* (string-append "src/" unpack-path "/gen/main.go")
- (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
- (string-append "\"" libsass-src "\""))
- (("../../libsass_src/src/")
- libsass-src)))
- (invoke "go" "generate" (string-append unpack-path "/gen"))
- #t))
- (replace 'check
- (lambda* (#:key tests? import-path #:allow-other-keys)
- (if tests?
- (invoke "go" "test" import-path "-tags" "dev"))
- #t)))))
- (propagated-inputs
- (list libsass))
- (native-inputs
- `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
- ("libsass-src" ,(package-source libsass))))
- (home-page "https://github.com/bep/golibsass")
- (synopsis "Easy to use Go bindings for LibSass")
- (description
- "This package provides SCSS compiler support for Go applications.")
- (license license:expat)))
-
(define-public go-github-com-hashicorp-go-syslog
(package
(name "go-github-com-hashicorp-go-syslog")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 29/67] gnu: go-gopkg-in-square-go-jose-v2: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (27 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 28/67] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 30/67] gnu: go-github-com-coreos-go-oidc: " Sharlatan Hellseher
` (43 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-gopkg-in-square-go-jose-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ifdc5b240c2f3af874d6b4b8b0422dfd9326348a3
---
gnu/packages/golang-web.scm | 29 +++++++++++++++++++++++++++++
gnu/packages/golang.scm | 29 -----------------------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 72f2a7d84c..976179f44e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -683,6 +683,35 @@ (define-public go-github-com-tdewolff-parse-v2
"This package contains several lexers and parsers written in Go.")
(license license:expat)))
+(define-public go-gopkg-in-square-go-jose-v2
+ (package
+ (name "go-gopkg-in-square-go-jose-v2")
+ (version "2.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/square/go-jose")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1b1nhqxfmhzwrfk7pkvp2w3z3d0pf5ir00vizmy2d4xdbnldn70r"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "gopkg.in/square/go-jose.v2"))
+ (propagated-inputs
+ (list go-golang-org-x-crypto))
+ (native-inputs
+ (list go-github-com-google-go-cmp-cmp
+ go-github-com-stretchr-testify))
+ (home-page "https://gopkg.in/square/go-jose.v2")
+ (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go")
+ (description
+ "This package aims to provide an implementation of the Javascript Object
+Signing and Encryption set of standards. This includes support for JSON Web
+Encryption, JSON Web Signature, and JSON Web Token standards.")
+ (license license:asl2.0)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 27548f3b8e..f2d40612cf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3222,35 +3222,6 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
-(define-public go-gopkg-in-square-go-jose-v2
- (package
- (name "go-gopkg-in-square-go-jose-v2")
- (version "2.6.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/square/go-jose")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1b1nhqxfmhzwrfk7pkvp2w3z3d0pf5ir00vizmy2d4xdbnldn70r"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "gopkg.in/square/go-jose.v2"))
- (propagated-inputs
- (list go-golang-org-x-crypto))
- (native-inputs
- (list go-github-com-google-go-cmp-cmp
- go-github-com-stretchr-testify))
- (home-page "https://gopkg.in/square/go-jose.v2")
- (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go")
- (description
- "This package aims to provide an implementation of the Javascript Object
-Signing and Encryption set of standards. This includes support for JSON Web
-Encryption, JSON Web Signature, and JSON Web Token standards.")
- (license license:asl2.0)))
-
(define-public go-github-com-go-jose-go-jose-v3
(package
(inherit go-gopkg-in-square-go-jose-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 30/67] gnu: go-github-com-coreos-go-oidc: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (28 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 29/67] gnu: go-gopkg-in-square-go-jose-v2: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 31/67] gnu: go-github-com-coreos-go-oidc-v3: " Sharlatan Hellseher
` (42 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-coreos-go-oidc): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iadefbc9c3df2aa291a3eb4c8cc31a5fdf562e138
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 976179f44e..792406ab97 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -182,6 +182,33 @@ (define-public go-github-com-chris-ramon-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-coreos-go-oidc
+ (package
+ (name "go-github-com-coreos-go-oidc")
+ (version "2.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/coreos/go-oidc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "11m6slbpi33ynffml7812piq4anhjlf1qszjlsf26f5y7x3qh8n5"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/coreos/go-oidc"))
+ (propagated-inputs
+ (list go-github-com-pquerna-cachecontrol
+ go-golang-org-x-oauth2
+ go-gopkg-in-square-go-jose-v2))
+ (home-page "https://github.com/coreos/go-oidc")
+ (synopsis "OpenID Connect support for Go")
+ (description
+ "This package enables OpenID Connect support for the
+@code{go-golang-org-x-oauth2} package.")
+ (license license:asl2.0)))
+
(define-public go-github-com-felixge-httpsnoop
(package
(name "go-github-com-felixge-httpsnoop")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f2d40612cf..6f6244dd00 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9116,33 +9116,6 @@ (define-public go-github-com-charmbracelet-glamour
use one of our glamorous default themes.")
(license license:expat)))
-(define-public go-github-com-coreos-go-oidc
- (package
- (name "go-github-com-coreos-go-oidc")
- (version "2.2.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/coreos/go-oidc")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "11m6slbpi33ynffml7812piq4anhjlf1qszjlsf26f5y7x3qh8n5"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/coreos/go-oidc"))
- (propagated-inputs
- (list go-github-com-pquerna-cachecontrol
- go-golang-org-x-oauth2
- go-gopkg-in-square-go-jose-v2))
- (home-page "https://github.com/coreos/go-oidc")
- (synopsis "OpenID Connect support for Go")
- (description
- "This package enables OpenID Connect support for the
-@code{go-golang-org-x-oauth2} package.")
- (license license:asl2.0)))
-
(define-public go-github-com-coreos-go-oidc-v3
(package
(inherit go-github-com-coreos-go-oidc)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 31/67] gnu: go-github-com-coreos-go-oidc-v3: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (29 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 30/67] gnu: go-github-com-coreos-go-oidc: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 32/67] gnu: go-github-com-aws-sdk: " Sharlatan Hellseher
` (41 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-coreos-go-oidc-v3): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: If049d6172219bf144d3f30877f3c9f5138bcc78c
---
gnu/packages/golang-web.scm | 22 ++++++++++++++++++++++
gnu/packages/golang.scm | 22 ----------------------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 792406ab97..0219ffb5e5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -209,6 +209,28 @@ (define-public go-github-com-coreos-go-oidc
@code{go-golang-org-x-oauth2} package.")
(license license:asl2.0)))
+(define-public go-github-com-coreos-go-oidc-v3
+ (package
+ (inherit go-github-com-coreos-go-oidc)
+ (name "go-github-com-coreos-go-oidc-v3")
+ (version "3.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/coreos/go-oidc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1sbm6n3lp48lymn0g921afhq2j6inb38w3wy5rhyx9h8gpzhnxx9"))))
+ (arguments
+ (list ;; no Go files in [...]/src/github.com/coreos/go-oidc/v3.
+ #:import-path "github.com/coreos/go-oidc/v3/oidc"
+ #:unpack-path "github.com/coreos/go-oidc/v3"))
+ (propagated-inputs
+ (list go-github-com-go-jose-go-jose-v3
+ go-golang-org-x-oauth2))))
+
(define-public go-github-com-felixge-httpsnoop
(package
(name "go-github-com-felixge-httpsnoop")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6f6244dd00..f311991282 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9116,28 +9116,6 @@ (define-public go-github-com-charmbracelet-glamour
use one of our glamorous default themes.")
(license license:expat)))
-(define-public go-github-com-coreos-go-oidc-v3
- (package
- (inherit go-github-com-coreos-go-oidc)
- (name "go-github-com-coreos-go-oidc-v3")
- (version "3.6.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/coreos/go-oidc")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1sbm6n3lp48lymn0g921afhq2j6inb38w3wy5rhyx9h8gpzhnxx9"))))
- (arguments
- (list ;; no Go files in [...]/src/github.com/coreos/go-oidc/v3.
- #:import-path "github.com/coreos/go-oidc/v3/oidc"
- #:unpack-path "github.com/coreos/go-oidc/v3"))
- (propagated-inputs
- (list go-github-com-go-jose-go-jose-v3
- go-golang-org-x-oauth2))))
-
(define-public go-github-com-coreos-go-semver
(package
(name "go-github-com-coreos-go-semver")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 32/67] gnu: go-github-com-aws-sdk: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (30 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 31/67] gnu: go-github-com-coreos-go-oidc-v3: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 33/67] gnu: go-github-com-valyala-fasthttp: " Sharlatan Hellseher
` (40 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-sdk): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I8e82019c75b115548c2e0eea54b261ff8c3dd4a7
---
gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/golang.scm | 28 ----------------------------
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 0219ffb5e5..352c831e41 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -71,6 +71,34 @@ (define-public go-github-com-andybalholm-cascadia
the parse trees produced by the html package.")
(license license:bsd-2)))
+(define-public go-github-com-aws-sdk
+ (package
+ (name "go-github-com-aws-sdk")
+ (version "1.35.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/aws-sdk-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ky5lw2s2zpslnnqcs6hgsrwvwbxwgflb5jwf16dd4aga3vrg10c"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go/aws"
+ #:unpack-path "github.com/aws/aws-sdk-go"))
+ (propagated-inputs
+ (list go-github-com-go-sql-driver-mysql
+ go-github-com-jmespath-go-jmespath
+ go-github-com-pkg-errors
+ go-golang-org-x-net))
+ (home-page "https://github.com/aws/aws-sdk-go")
+ (synopsis "Library to access Amazon Web Services (AWS)")
+ (description
+ "This is the official AWS SDK for the Go programming language.")
+ (license license:asl2.0)))
+
(define-public go-github-com-aymerick-douceur
(package
(name "go-github-com-aymerick-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f311991282..57bf34ca56 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3194,34 +3194,6 @@ (define-public go-github-com-hebcal-hebcal-go
and anniversaries.")
(license license:gpl2+))))
-(define-public go-github-com-aws-sdk
- (package
- (name "go-github-com-aws-sdk")
- (version "1.35.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/aws-sdk-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1ky5lw2s2zpslnnqcs6hgsrwvwbxwgflb5jwf16dd4aga3vrg10c"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go/aws"
- #:unpack-path "github.com/aws/aws-sdk-go"))
- (propagated-inputs
- (list go-github-com-go-sql-driver-mysql
- go-github-com-jmespath-go-jmespath go-github-com-pkg-errors
- go-golang-org-x-net))
- (home-page "https://github.com/aws/aws-sdk-go")
- (synopsis "Library to access Amazon Web Services (AWS)")
- (description
- "This is the official AWS SDK for the Go programming language.")
- (license license:asl2.0)))
-
(define-public go-github-com-go-jose-go-jose-v3
(package
(inherit go-gopkg-in-square-go-jose-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 33/67] gnu: go-github-com-valyala-fasthttp: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (31 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 32/67] gnu: go-github-com-aws-sdk: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 34/67] gnu: go-github-com-go-chi-chi-v5: " Sharlatan Hellseher
` (39 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-valyala-fasthttp): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I60676c0204e198c6050724efa5410c5b695f88fb
---
gnu/packages/golang-web.scm | 41 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 40 ------------------------------------
2 files changed, 41 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 352c831e41..f59415452f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -760,6 +761,46 @@ (define-public go-github-com-tdewolff-parse-v2
"This package contains several lexers and parsers written in Go.")
(license license:expat)))
+(define-public go-github-com-valyala-fasthttp
+ (package
+ (name "go-github-com-valyala-fasthttp")
+ (version "1.39.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/valyala/fasthttp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12qwx0yk7wjj25v4fswgmj28r69gk94kqdmzavca8k9f0yznniz1"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/valyala/fasthttp"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs #:allow-other-keys #:rest args)
+ (unless
+ ;; Tests hang forever with gccgo.
+ (false-if-exception (search-input-file inputs "/bin/gccgo"))
+ (apply (assoc-ref %standard-phases 'check) args)))))))
+ (propagated-inputs
+ (list go-github-com-andybalholm-brotli
+ go-github-com-klauspost-compress
+ go-github-com-valyala-bytebufferpool
+ go-github-com-valyala-tcplisten
+ go-golang-org-x-crypto
+ go-golang-org-x-net
+ go-golang-org-x-sys))
+ (home-page "https://github.com/valyala/fasthttp")
+ (synopsis "Provides fast HTTP server and client API")
+ (description
+ "This package provides a Go module @code{fasthttp} which may be used as
+replacement for native @code{net/http} module.")
+ (license license:expat)))
+
(define-public go-gopkg-in-square-go-jose-v2
(package
(name "go-gopkg-in-square-go-jose-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 57bf34ca56..3122a2f54a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11041,46 +11041,6 @@ (define-public go-github-com-valyala-bytebufferpool
anti-fragmentation protection.")
(license license:expat)))
-(define-public go-github-com-valyala-fasthttp
- (package
- (name "go-github-com-valyala-fasthttp")
- (version "1.39.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/valyala/fasthttp")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "12qwx0yk7wjj25v4fswgmj28r69gk94kqdmzavca8k9f0yznniz1"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/valyala/fasthttp"
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys #:rest args)
- (unless
- ;; Tests hang forever with gccgo.
- (false-if-exception (search-input-file inputs "/bin/gccgo"))
- (apply (assoc-ref %standard-phases 'check) args)))))))
- (propagated-inputs
- (list go-golang-org-x-sys
- go-golang-org-x-net
- go-golang-org-x-crypto
- go-github-com-valyala-tcplisten
- go-github-com-valyala-bytebufferpool
- go-github-com-klauspost-compress
- go-github-com-andybalholm-brotli))
- (home-page "https://github.com/valyala/fasthttp")
- (synopsis "Provides fast HTTP server and client API")
- (description
- "This package provides a Go module @code{fasthttp} which may be used as
-replacement for native @code{net/http} module.")
- (license license:expat)))
-
(define-public go-github-com-valyala-tcplisten
(package
(name "go-github-com-valyala-tcplisten")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 34/67] gnu: go-github-com-go-chi-chi-v5: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (32 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 33/67] gnu: go-github-com-valyala-fasthttp: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 35/67] gnu: go-github-com-julienschmidt-httprouter: " Sharlatan Hellseher
` (38 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-go-chi-chi-v5): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I120c2cb142935430443a7e6c9e53aa8544bbaf8e
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++--
gnu/packages/golang.scm | 23 -----------------------
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index f59415452f..2570be62f7 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,17 +1,17 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
-;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
-;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -284,6 +284,29 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-go-chi-chi-v5
+ (package
+ (name "go-github-com-go-chi-chi-v5")
+ (version "5.0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-chi/chi")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0rzrsxz4xj0973c6nxklvq2vmg2m795snhk25836i0gnd1jnx79k"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/go-chi/chi/v5"))
+ (home-page "https://github.com/go-chi/chi")
+ (synopsis "Composable router for HTTP services written in Go")
+ (description
+ "@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user
+decompose request handling into many smaller layers.")
+ (license license:expat)))
+
(define-public go-github-com-google-safehtml
(package
(name "go-github-com-google-safehtml")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3122a2f54a..7c0dc2af4c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11854,29 +11854,6 @@ (define-public go-github-com-dreamacro-go-shadowsocks2
@end itemize")
(license license:asl2.0)))
-(define-public go-github-com-go-chi-chi-v5
- (package
- (name "go-github-com-go-chi-chi-v5")
- (version "5.0.7")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/go-chi/chi")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0rzrsxz4xj0973c6nxklvq2vmg2m795snhk25836i0gnd1jnx79k"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/go-chi/chi/v5"))
- (home-page "https://github.com/go-chi/chi")
- (synopsis "Composable router for HTTP services written in Go")
- (description
- "@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user
-decompose request handling into many smaller layers.")
- (license license:expat)))
-
(define-public go-sigs-k8s-io-yaml
(package
(name "go-sigs-k8s-io-yaml")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 35/67] gnu: go-github-com-julienschmidt-httprouter: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (33 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 34/67] gnu: go-github-com-go-chi-chi-v5: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 36/67] gnu: go-github-com-emicklei-go-restful: " Sharlatan Hellseher
` (37 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-julienschmidt-httprouter): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/high-availability.scm: Add (gnu packages golang-web) module.
Change-Id: I277e4a7ed835b0dc00f08e102e982e0cd019b828
---
gnu/packages/golang-web.scm | 25 ++++++++++++++++++++++++-
gnu/packages/golang.scm | 23 -----------------------
gnu/packages/high-availability.scm | 1 +
3 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 2570be62f7..c501f55685 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6,9 +6,9 @@
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
-;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2022, 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
@@ -631,6 +631,29 @@ (define-public go-github-com-jcmturner-gokrb5-v8
Microsoft AD PAC authorization data.")
(license license:asl2.0)))
+(define-public go-github-com-julienschmidt-httprouter
+ (package
+ (name "go-github-com-julienschmidt-httprouter")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/julienschmidt/httprouter")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a6sy0ysqknsjssjh7qg1dqn21xmj9a36c57nrk7srfmab4ffmk1"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/julienschmidt/httprouter"))
+ (home-page "https://github.com/julienschmidt/httprouter")
+ (synopsis "High performance HTTP request router")
+ (description
+ "Package @code{httprouter} is a trie based high performance HTTP request
+router.")
+ (license license:bsd-3)))
+
(define-public go-github-com-microcosm-cc-bluemonday
(package
(name "go-github-com-microcosm-cc-bluemonday")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7c0dc2af4c..d9084b296b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9338,29 +9338,6 @@ (define-public go-github-com-juju-ansiterm
for color and styles.")
(license license:lgpl3)))
-(define-public go-github-com-julienschmidt-httprouter
- (package
- (name "go-github-com-julienschmidt-httprouter")
- (version "1.3.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/julienschmidt/httprouter")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1a6sy0ysqknsjssjh7qg1dqn21xmj9a36c57nrk7srfmab4ffmk1"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/julienschmidt/httprouter"))
- (home-page "https://github.com/julienschmidt/httprouter")
- (synopsis "High performance HTTP request router")
- (description
- "Package @code{httprouter} is a trie based high performance HTTP request
-router.")
- (license license:bsd-3)))
-
(define-public go-github-com-kevinburke-ssh-config
(package
(name "go-github-com-kevinburke-ssh-config")
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index 553095cb75..6808bcd597 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -35,6 +35,7 @@ (define-module (gnu packages high-availability)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages hardware)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 36/67] gnu: go-github-com-emicklei-go-restful: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (34 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 35/67] gnu: go-github-com-julienschmidt-httprouter: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 37/67] gnu: go-github-com-tv42-httpunix: " Sharlatan Hellseher
` (36 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-emicklei-go-restful): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Idc88242d2ec3274a0b68244f5e91bbfc2dd8543c
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c501f55685..4cef7b6641 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
+;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
@@ -260,6 +261,29 @@ (define-public go-github-com-coreos-go-oidc-v3
(list go-github-com-go-jose-go-jose-v3
go-golang-org-x-oauth2))))
+(define-public go-github-com-emicklei-go-restful
+ (package
+ (name "go-github-com-emicklei-go-restful")
+ (version "3.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emicklei/go-restful")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/emicklei/go-restful"))
+ (home-page "https://github.com/emicklei/go-restful")
+ (synopsis "Build REST-style web services using Go")
+ (description "This package provides @code{go-restful}, which helps
+developers to use @code{http} methods explicitly and in a way that's
+consistent with the HTTP protocol definition.")
+ (license license:expat)))
+
(define-public go-github-com-felixge-httpsnoop
(package
(name "go-github-com-felixge-httpsnoop")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d9084b296b..f630ac3412 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4346,30 +4346,6 @@ (define-public go-github-com-blang-semver
(description "Semver is a library for Semantic versioning written in Go.")
(license license:expat))))
-(define-public go-github-com-emicklei-go-restful
- (package
- (name "go-github-com-emicklei-go-restful")
- (version "3.4.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/emicklei/go-restful")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/emicklei/go-restful"))
- (home-page "https://github.com/emicklei/go-restful")
- (synopsis "Build REST-style web services using Go")
- (description "This package provides @code{go-restful}, which helps
-developers to use @code{http} methods explicitly and in a way that's consistent
-with the HTTP protocol definition.")
- (license license:expat)))
-
(define-public go-cloud-google-com-go-compute-metadata
(package
(name "go-cloud-google-com-go-compute-metadata")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 37/67] gnu: go-github-com-tv42-httpunix: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (35 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 36/67] gnu: go-github-com-emicklei-go-restful: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 38/67] gnu: go-github-com-opentracing-opentracing-go: " Sharlatan Hellseher
` (35 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-tv42-httpunix): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I1b81c93afd803dfd68fae5292cb2103855cdba6d
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4cef7b6641..caccb126bc 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
@@ -831,6 +832,30 @@ (define-public go-github-com-tdewolff-parse-v2
"This package contains several lexers and parsers written in Go.")
(license license:expat)))
+(define-public go-github-com-tv42-httpunix
+ (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
+ (revision "0"))
+ (package
+ (name "go-github-com-tv42-httpunix")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tv42/httpunix")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/tv42/httpunix"))
+ (home-page "https://github.com/tv42/httpunix")
+ (synopsis "Go library to talk HTTP over Unix domain sockets")
+ (description "This package is a Go library to talk HTTP over Unix domain
+sockets.")
+ (license license:expat))))
+
(define-public go-github-com-valyala-fasthttp
(package
(name "go-github-com-valyala-fasthttp")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f630ac3412..42ba94b588 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4298,30 +4298,6 @@ (define-public go-github-com-tomnomnom-gron
absolute \"path\" to it.")
(license license:expat)))
-(define-public go-github-com-tv42-httpunix
- (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
- (revision "0"))
- (package
- (name "go-github-com-tv42-httpunix")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tv42/httpunix")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/tv42/httpunix"))
- (home-page "https://github.com/tv42/httpunix")
- (synopsis "Go library to talk HTTP over Unix domain sockets")
- (description "This package is a Go library to talk HTTP over Unix domain
-sockets.")
- (license license:expat))))
-
(define-public go-github-com-blang-semver
(let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 38/67] gnu: go-github-com-opentracing-opentracing-go: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (36 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 37/67] gnu: go-github-com-tv42-httpunix: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 39/67] gnu: go-github-com-francoispqt-gojay: " Sharlatan Hellseher
` (34 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-opentracing-opentracing-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I87e615589cdb038e2b633ecd63194c81d5864a5b
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index caccb126bc..d021be005f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
@@ -703,6 +704,30 @@ (define-public go-github-com-microcosm-cc-bluemonday
(description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
(license license:bsd-3)))
+(define-public go-github-com-opentracing-opentracing-go
+ (package
+ (name "go-github-com-opentracing-opentracing-go")
+ (version "1.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/opentracing/opentracing-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04rgdwl29kimp2wnm4dycnzp7941hvpj6wym85x23c6fclacm94h"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/opentracing/opentracing-go"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/opentracing/opentracing-go")
+ (synopsis "OpenTracing API for Go")
+ (description "OpenTracing-Go is a Go implementation of the OpenTracing API.")
+ (license license:asl2.0)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 42ba94b588..c8836e4eec 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1797,30 +1797,6 @@ (define-public go-github-com-mufti1-interconv
(description "InterConv converts interfaces into any data type.")
(license license:expat))))
-(define-public go-github-com-opentracing-opentracing-go
- (package
- (name "go-github-com-opentracing-opentracing-go")
- (version "1.2.0")
- (source
- (origin
- (method git-fetch)
- (uri
- (git-reference
- (url "https://github.com/opentracing/opentracing-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "04rgdwl29kimp2wnm4dycnzp7941hvpj6wym85x23c6fclacm94h"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/opentracing/opentracing-go"))
- (native-inputs
- (list go-github-com-stretchr-testify))
- (home-page "https://github.com/opentracing/opentracing-go")
- (synopsis "OpenTracing API for Go")
- (description "OpenTracing-Go is a Go implementation of the OpenTracing API.")
- (license license:asl2.0)))
-
(define-public go-github-com-operatorfoundation-monolith-go
(package
(name "go-github-com-operatorfoundation-monolith-go")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 39/67] gnu: go-github-com-francoispqt-gojay: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (37 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 38/67] gnu: go-github-com-opentracing-opentracing-go: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 40/67] gnu: go-github-com-francoispqt-gojay: Adjust inputs Sharlatan Hellseher
` (33 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-francoispqt-gojay): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I2ff041a91e2d37d79495a3ebda1b602784161c4a
---
gnu/packages/golang-web.scm | 27 ++++++++++++++++++++++++++-
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d021be005f..2790e2b5aa 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5,9 +5,9 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
-;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
@@ -310,6 +310,31 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-francoispqt-gojay
+ (package
+ (name "go-github-com-francoispqt-gojay")
+ (version "1.2.13")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/francoispqt/gojay")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/francoispqt/gojay"))
+ (propagated-inputs
+ (list go-github-com-stretchr-testify))
+ (synopsis "JSON encoder/decoder with powerful stream API for Golang")
+ (description "GoJay is a performant JSON encoder/decoder for Golang. It has
+a simple API and doesn't use reflection. It relies on small interfaces to
+decode/encode structures and slices.")
+ (home-page "https://github.com/francoispqt/gojay")
+ (license license:expat)))
+
(define-public go-github-com-go-chi-chi-v5
(package
(name "go-github-com-go-chi-chi-v5")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c8836e4eec..d026d9c056 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7241,31 +7241,6 @@ (define-public go-github-com-lunixbochs-vtclean
optionally preserving color.")
(license license:expat)))
-(define-public go-github-com-francoispqt-gojay
- (package
- (name "go-github-com-francoispqt-gojay")
- (version "1.2.13")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/francoispqt/gojay")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/francoispqt/gojay"))
- (propagated-inputs
- (list go-github-com-stretchr-testify))
- (synopsis "JSON encoder/decoder with powerful stream API for Golang")
- (description "GoJay is a performant JSON encoder/decoder for Golang. It has
-a simple API and doesn't use reflection. It relies on small interfaces to
-decode/encode structures and slices.")
- (home-page "https://github.com/francoispqt/gojay")
- (license license:expat)))
-
(define-public go-github-com-pkg-errors
(package
(name "go-github-com-pkg-errors")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 40/67] gnu: go-github-com-francoispqt-gojay: Adjust inputs.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (38 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 39/67] gnu: go-github-com-francoispqt-gojay: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 41/67] gnu: go-github-com-goccy-go-json: Move to (gnu packages golang-web) Sharlatan Hellseher
` (32 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-francoispqt-gojay):
[propagated-inputs]: Swap to [native-inputs].
Change-Id: Ie83ea13685036b2688f668cde8bbb831ba5cd602
---
gnu/packages/golang-web.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 2790e2b5aa..59312f791a 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -326,7 +326,7 @@ (define-public go-github-com-francoispqt-gojay
(build-system go-build-system)
(arguments
'(#:import-path "github.com/francoispqt/gojay"))
- (propagated-inputs
+ (native-inputs
(list go-github-com-stretchr-testify))
(synopsis "JSON encoder/decoder with powerful stream API for Golang")
(description "GoJay is a performant JSON encoder/decoder for Golang. It has
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 41/67] gnu: go-github-com-goccy-go-json: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (39 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 40/67] gnu: go-github-com-francoispqt-gojay: Adjust inputs Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 42/67] gnu: go-github-com-jmespath-go-jmespath: " Sharlatan Hellseher
` (31 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-goccy-go-json): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I83fc749483f9f60a05c823e2f792efda0481b505
---
gnu/packages/golang-web.scm | 22 ++++++++++++++++++++++
gnu/packages/golang.scm | 22 ----------------------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 59312f791a..e92e04979e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2022 Adam Kandur <kefironpremise@gmail.com>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
@@ -358,6 +359,27 @@ (define-public go-github-com-go-chi-chi-v5
decompose request handling into many smaller layers.")
(license license:expat)))
+(define-public go-github-com-goccy-go-json
+ (package
+ (name "go-github-com-goccy-go-json")
+ (version "0.9.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/goccy/go-json")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1bg8p4c6r8r0kixdxv2m8xmdsmb1zl5sd8czswpccldjk3c358wp"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/goccy/go-json"))
+ (home-page "https://github.com/goccy/go-json")
+ (synopsis "JSON encoder/decoder in Go")
+ (description "Fast JSON encoder/decoder compatible with encoding/json for Go.")
+ (license license:expat)))
+
(define-public go-github-com-google-safehtml
(package
(name "go-github-com-google-safehtml")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d026d9c056..e47b8663d7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4002,28 +4002,6 @@ (define-public go-github-com-burntsushi-toml
is similar to Go's standard library @code{json} and @code{xml} package.")
(license license:expat)))
-(define-public go-github-com-goccy-go-json
- (package
- (name "go-github-com-goccy-go-json")
- (version "0.9.10")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/goccy/go-json")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1bg8p4c6r8r0kixdxv2m8xmdsmb1zl5sd8czswpccldjk3c358wp"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/goccy/go-json"))
- (home-page "https://github.com/goccy/go-json")
- (synopsis "JSON encoder/decoder in Go")
- (description
- "Fast JSON encoder/decoder compatible with encoding/json for Go.")
- (license license:expat)))
-
(define-public go-github-com-getsentry-raven-go
(let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 42/67] gnu: go-github-com-jmespath-go-jmespath: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (40 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 41/67] gnu: go-github-com-goccy-go-json: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 43/67] gnu: go-github-com-aws-smithy-go: " Sharlatan Hellseher
` (30 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-jmespath-go-jmespath): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I7f16dd3153ca6fd626061f7da5792192a48041bd
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index e92e04979e..9f7b0e39dc 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -704,6 +704,33 @@ (define-public go-github-com-jcmturner-gokrb5-v8
Microsoft AD PAC authorization data.")
(license license:asl2.0)))
+(define-public go-github-com-jmespath-go-jmespath
+ (package
+ (name "go-github-com-jmespath-go-jmespath")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jmespath/go-jmespath")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jmespath/go-jmespath"))
+ (native-inputs
+ (list go-github-com-davecgh-go-spew
+ go-github-com-pmezard-go-difflib
+ go-gopkg-in-yaml-v2))
+ (home-page "https://github.com/jmespath/go-jmespath")
+ (synopsis "Golang implementation of JMESPath")
+ (description
+ "This package implements JMESPath, a query language for JSON. It
+transforms one JSON document into another through a JMESPath expression.")
+ (license license:asl2.0)))
+
(define-public go-github-com-julienschmidt-httprouter
(package
(name "go-github-com-julienschmidt-httprouter")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e47b8663d7..b5eb2b2c42 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8699,33 +8699,6 @@ (define-public go-github-com-alecthomas-chroma
converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
(license license:expat)))
-(define-public go-github-com-jmespath-go-jmespath
- (package
- (name "go-github-com-jmespath-go-jmespath")
- (version "0.4.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jmespath/go-jmespath")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jmespath/go-jmespath"))
- (native-inputs
- (list go-github-com-davecgh-go-spew go-github-com-pmezard-go-difflib
- go-gopkg-in-yaml-v2))
- (home-page "https://github.com/jmespath/go-jmespath")
- (synopsis "Golang implementation of JMESPath")
- (description
- "This package implements JMESPath, a query language for JSON. It
-transforms one JSON document into another through a JMESPath expression.")
- (license license:asl2.0)))
-
(define-public go-github-com-muesli-reflow-wordwrap
(package
(name "go-github-com-muesli-reflow-wordwrap")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 43/67] gnu: go-github-com-aws-smithy-go: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (41 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 42/67] gnu: go-github-com-jmespath-go-jmespath: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 44/67] gnu: go-github-com-aws-smithy-go: Adjust description Sharlatan Hellseher
` (29 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-smithy-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I3a4731ae27cc7365c1704cf5a9eab56ca79974a4
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9f7b0e39dc..c23e6df581 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -104,6 +104,30 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+(define-public go-github-com-aws-smithy-go
+ (package
+ (name "go-github-com-aws-smithy-go")
+ (version "1.13.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/smithy-go")
+ (commit "v1.13.5")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rgyk0m2d3agknnlzjqvac1a61wwdq1pbck7vyl587m38n5zi2cz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/aws/smithy-go"))
+ (propagated-inputs
+ (list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp-cmp))
+ (home-page "https://github.com/aws/smithy-go")
+ (synopsis "Smithy code generators for Go")
+ (description
+ "Package smithy provides the core components for a Smithy SDK.")
+ (license license:asl2.0)))
+
(define-public go-github-com-aymerick-douceur
(package
(name "go-github-com-aymerick-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b5eb2b2c42..b4c2eff192 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,30 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-smithy-go
- (package
- (name "go-github-com-aws-smithy-go")
- (version "1.13.5")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/smithy-go")
- (commit "v1.13.5")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1rgyk0m2d3agknnlzjqvac1a61wwdq1pbck7vyl587m38n5zi2cz"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/aws/smithy-go"))
- (propagated-inputs
- (list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp-cmp))
- (home-page "https://github.com/aws/smithy-go")
- (synopsis "Smithy code generators for Go")
- (description
- "Package smithy provides the core components for a Smithy SDK.")
- (license license:asl2.0)))
-
(define-public go-github-com-aws-aws-sdk-go-v2
(package
(name "go-github-com-aws-aws-sdk-go-v2")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 44/67] gnu: go-github-com-aws-smithy-go: Adjust description.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (42 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 43/67] gnu: go-github-com-aws-smithy-go: " Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:08 ` [bug#66827] [PATCH 45/67] gnu: go-github-com-aws-aws-sdk-go-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
` (28 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-aws-smithy-go):[description]
Add link to Smithy.
Change-Id: I3c913db5940dc97fb3fa8874fd8b1bf9baaf4a59
---
gnu/packages/golang-web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c23e6df581..ae9ffd3fd2 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -123,7 +123,8 @@ (define-public go-github-com-aws-smithy-go
(propagated-inputs
(list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp-cmp))
(home-page "https://github.com/aws/smithy-go")
- (synopsis "Smithy code generators for Go")
+ (synopsis "@url{https://smithy.io/2.0/index.html,Smithy} code generators
+for Go")
(description
"Package smithy provides the core components for a Smithy SDK.")
(license license:asl2.0)))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 45/67] gnu: go-github-com-aws-aws-sdk-go-v2: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (43 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 44/67] gnu: go-github-com-aws-smithy-go: Adjust description Sharlatan Hellseher
@ 2023-10-30 1:08 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 46/67] gnu: go-github-com-aws-aws-sdk-go: " Sharlatan Hellseher
` (27 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:08 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/version-control.scm: Add (gnu packages golang-web) module.
Change-Id: I6e980749d9f9c1373adfc717b0195a1b8c32d6af
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
gnu/packages/version-control.scm | 1 +
3 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index ae9ffd3fd2..1542c409fe 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -104,6 +104,32 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+(define-public go-github-com-aws-aws-sdk-go-v2
+ (package
+ (name "go-github-com-aws-aws-sdk-go-v2")
+ (version "1.17.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/aws-sdk-go-v2")
+ (commit "v1.17.3")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a07xab1cn96iff7zvp5a82fzhqwl0i4bhplkm2h1qbkxgldn6x0"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go
+ go-github-com-google-go-cmp-cmp
+ go-github-com-jmespath-go-jmespath))
+ (home-page "https://github.com/aws/aws-sdk-go-v2")
+ (synopsis "AWS SDK for Go v2")
+ (description
+ "Package sdk is the official AWS SDK v2 for the Go programming language.")
+ (license license:asl2.0)))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b4c2eff192..a416c00a12 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,31 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2
- (package
- (name "go-github-com-aws-aws-sdk-go-v2")
- (version "1.17.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/aws-sdk-go-v2")
- (commit "v1.17.3")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1a07xab1cn96iff7zvp5a82fzhqwl0i4bhplkm2h1qbkxgldn6x0"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-jmespath-go-jmespath
- go-github-com-google-go-cmp-cmp
- go-github-com-aws-smithy-go))
- (home-page "https://github.com/aws/aws-sdk-go-v2")
- (synopsis "AWS SDK for Go v2")
- (description
- "Package sdk is the official AWS SDK v2 for the Go programming language.")
- (license license:asl2.0)))
-
(define-public go-github-com-aws-aws-sdk-go-v2-config
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 76fa8ef5d0..5f60c4400c 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -105,6 +105,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages groff)
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 46/67] gnu: go-github-com-aws-aws-sdk-go: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (44 preceding siblings ...)
2023-10-30 1:08 ` [bug#66827] [PATCH 45/67] gnu: go-github-com-aws-aws-sdk-go-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 47/67] gnu: go-github-com-aws-aws-sdk-go-v2-config: " Sharlatan Hellseher
` (26 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic639856afb340c2a7aea6dc917d2bcd32290d1b7
---
gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 28 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1542c409fe..7ecdcbd8b5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Adam Kandur <kefironpremise@gmail.com>
@@ -104,6 +105,33 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+;; XXX: This package might be a duplicate of go-github-com-aws-sdk, it's not
+;; in use anywhere. Keep it here for the farther review.
+(define-public go-github-com-aws-aws-sdk-go
+ (package
+ (name "go-github-com-aws-aws-sdk-go")
+ (version "1.36.18")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/aws-sdk-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "169mkkw1cff1px6326krwvfpfj07sb4y5rbn003gi4bk176h6ry9"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ (list go-github-com-jmespath-go-jmespath))
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go"
+ #:phases %standard-phases))
+ (synopsis "The official AWS SDK for the Go programming language")
+ (description
+ "The official AWS SDK for the Go programming language.")
+ (home-page "https://github.com/aws/aws-sdk-go")
+ (license license:asl2.0)))
+
(define-public go-github-com-aws-aws-sdk-go-v2
(package
(name "go-github-com-aws-aws-sdk-go-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a416c00a12..7bcfb86d5c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11423,31 +11423,6 @@ (define-public go-github-com-mtibben-androiddnsfix
(define-public go-github-com-androiddnsfix
(deprecated-package "go-github-com-androiddnsfix" go-github-com-mtibben-androiddnsfix))
-(define-public go-github-com-aws-aws-sdk-go
- (package
- (name "go-github-com-aws-aws-sdk-go")
- (version "1.36.18")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/aws-sdk-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "169mkkw1cff1px6326krwvfpfj07sb4y5rbn003gi4bk176h6ry9"))))
- (build-system go-build-system)
- (propagated-inputs
- (list go-github-com-jmespath-go-jmespath))
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go"
- #:phases %standard-phases))
- (synopsis "The official AWS SDK for the Go programming language")
- (description
- "The official AWS SDK for the Go programming language.")
- (home-page "https://github.com/aws/aws-sdk-go")
- (license license:asl2.0)))
-
(define-public go-gopkg-in-ini
(package
(name "go-gopkg-in-ini")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 47/67] gnu: go-github-com-aws-aws-sdk-go-v2-config: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (45 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 46/67] gnu: go-github-com-aws-aws-sdk-go: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 48/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-iam: " Sharlatan Hellseher
` (25 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-config): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ie775eff088ac4ad0327e2479a63f677ac9c75da2
---
gnu/packages/golang-web.scm | 12 ++++++++++++
gnu/packages/golang.scm | 11 -----------
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 7ecdcbd8b5..fde9a89ea3 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -158,6 +158,18 @@ (define-public go-github-com-aws-aws-sdk-go-v2
"Package sdk is the official AWS SDK v2 for the Go programming language.")
(license license:asl2.0)))
+(define-public go-github-com-aws-aws-sdk-go-v2-config
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-config")
+ (version "1.18.5")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/config"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-google-go-cmp-cmp
+ go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7bcfb86d5c..28a421bf64 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,17 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-config
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-config")
- (version "1.18.5")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/config"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-google-go-cmp-cmp
- go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 48/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-iam: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (46 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 47/67] gnu: go-github-com-aws-aws-sdk-go-v2-config: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 49/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sso: " Sharlatan Hellseher
` (24 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-iam): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Id479cc90005de14f0916cb06fa140127812787b1
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index fde9a89ea3..bfda5ffa31 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -170,6 +170,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-config
(list go-github-com-google-go-cmp-cmp
go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-iam")
+ (version "1.44.161")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/iam"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 28a421bf64..6642df7e14 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-iam")
- (version "1.44.161")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/iam"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 49/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sso: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (47 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 48/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-iam: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 50/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-ssooidc: " Sharlatan Hellseher
` (23 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-sso): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I7d9008a277e97adc2b496b11b75d63efd1b839f3
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index bfda5ffa31..5dd73bd4db 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -181,6 +181,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-sso")
+ (version "1.11.27")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sso"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6642df7e14..0572f58afd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-sso")
- (version "1.11.27")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sso"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 50/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-ssooidc: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (48 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 49/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sso: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 51/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sts: " Sharlatan Hellseher
` (22 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-ssooidc): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I7c1fc41bb4b7ae8b92204e3daee5628602328384
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 5dd73bd4db..4bc9c944cb 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -192,6 +192,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-sso
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-ssooidc")
+ (version "1.13.10")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/ssooidc"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0572f58afd..407c97625b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-ssooidc")
- (version "1.13.10")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/ssooidc"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-sts
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 51/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sts: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (49 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 50/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-ssooidc: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 52/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-s3: " Sharlatan Hellseher
` (21 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-sts): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I3503dbde93a46ff47dcc035243a7f320b7090794
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4bc9c944cb..aadf8ac73e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -203,6 +203,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-sts
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-sts")
+ (version "1.17.7")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sts"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 407c97625b..ed0b022b45 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-sts
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-sts")
- (version "1.17.7")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sts"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-s3
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 52/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-s3: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (50 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 51/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sts: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 53/67] gnu: go-github-com-aws-aws-sdk-go-v2-feature-s3-manager: " Sharlatan Hellseher
` (20 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-s3): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I11426c93b58f1c0c9c48527621ded345cc4f062b
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index aadf8ac73e..e87634cdaa 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -181,6 +181,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-s3
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-s3")
+ (version "1.30.0")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/s3"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ed0b022b45..481f6cda92 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-s3
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-s3")
- (version "1.30.0")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/s3"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 53/67] gnu: go-github-com-aws-aws-sdk-go-v2-feature-s3-manager: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (51 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 52/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-s3: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 54/67] gnu: go-github-com-nwidger-jsoncolor: " Sharlatan Hellseher
` (19 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-feature-s3-manager): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ia97de141c3c96e99b4824ea93925c5d2b5d9aa8d
---
gnu/packages/golang-web.scm | 10 ++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index e87634cdaa..616a14fdf1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -170,6 +170,16 @@ (define-public go-github-com-aws-aws-sdk-go-v2-config
(list go-github-com-google-go-cmp-cmp
go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-feature-s3-manager")
+ (version "1.11.44")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/feature/s3/manager"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 481f6cda92..1c17b376a3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-feature-s3-manager")
- (version "1.11.44")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/feature/s3/manager"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public aws-vault
(package
(name "aws-vault")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 54/67] gnu: go-github-com-nwidger-jsoncolor: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (52 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 53/67] gnu: go-github-com-aws-aws-sdk-go-v2-feature-s3-manager: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 55/67] gnu: go-github-com-hjson-hjson-go: " Sharlatan Hellseher
` (18 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-nwidger-jsoncolor): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I924581a553c7b59b1be3e274a1845af68b438bcb
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 616a14fdf1..96873f020c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
@@ -934,6 +935,32 @@ (define-public go-github-com-microcosm-cc-bluemonday
(description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
(license license:bsd-3)))
+(define-public go-github-com-nwidger-jsoncolor
+ (package
+ (name "go-github-com-nwidger-jsoncolor")
+ (version "0.3.0")
+ (home-page "https://github.com/nwidger/jsoncolor")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/nwidger/jsoncolor"))
+ (native-inputs
+ (list go-github-com-fatih-color))
+ (synopsis "Colorized JSON marshalling and encoding")
+ (description
+ "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
+@code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
+which produce colorized output using github.com/fatih/color.")
+ (license license:expat)))
+
(define-public go-github-com-opentracing-opentracing-go
(package
(name "go-github-com-opentracing-opentracing-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1c17b376a3..c9eb70cf1f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8786,33 +8786,6 @@ (define-public go-github-com-muesli-termenv
escape sequences and color conversions.")
(license license:expat)))
-(define-public go-github-com-nwidger-jsoncolor
- (package
- (name "go-github-com-nwidger-jsoncolor")
- (version "0.3.0")
- (home-page "https://github.com/nwidger/jsoncolor")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/nwidger/jsoncolor"))
- (native-inputs
- (list go-github-com-fatih-color))
- (synopsis "Colorized JSON marshalling and encoding")
- (description
- "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
-@code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
-which produce colorized output using github.com/fatih/color.")
- (license license:expat)))
-
(define-public go-github-com-olekukonko-tablewriter
(package
(name "go-github-com-olekukonko-tablewriter")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 55/67] gnu: go-github-com-hjson-hjson-go: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (53 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 54/67] gnu: go-github-com-nwidger-jsoncolor: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 56/67] gnu: go-github-com-xeipuuv-gojsonschema: " Sharlatan Hellseher
` (17 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-hjson-hjson-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/networking.scm: Add (gnu packages golang-web) module.
* gnu/packages/uucp.scm: As above.
Change-Id: If1ba5e4d866ce74fa35ae9126c6ba4cd0b149dab
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
gnu/packages/networking.scm | 1 +
gnu/packages/uucp.scm | 1 +
4 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 96873f020c..4771657add 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
@@ -757,6 +758,29 @@ (define-public go-github-com-gorilla-websocket
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-hjson-hjson-go
+ (package
+ (name "go-github-com-hjson-hjson-go")
+ (version "3.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hjson/hjson-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/hjson/hjson-go"))
+ (home-page "https://hjson.org/")
+ (synopsis "Human JSON implementation for Go")
+ (description "Hjson is a syntax extension to JSON. It is intended to be
+used like a user interface for humans, to read and edit before passing the
+JSON data to the machine.")
+ (license license:expat)))
+
(define-public go-github-com-jcmturner-dnsutils-v2
(package
(name "go-github-com-jcmturner-dnsutils-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c9eb70cf1f..0e608a8eab 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9965,30 +9965,6 @@ (define-public go-github-com-hashicorp-go-syslog
(description "This package is a very simple wrapper around log/syslog")
(license license:expat)))
-(define-public go-github-com-hjson-hjson-go
- (package
- (name "go-github-com-hjson-hjson-go")
- (version "3.1.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/hjson/hjson-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/hjson/hjson-go"))
- (home-page "https://hjson.org/")
- (synopsis "Human JSON implementation for Go")
- (description "Hjson is a syntax extension to JSON. It is intended to be
-used like a user interface for humans, to read and edit before passing the
-JSON data to the machine.")
- (license license:expat)))
-
(define-public go-golang-zx2c4-com-wireguard
(package
(name "go-golang-zx2c4-com-wireguard")
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 86309e4ab3..0fffea7ce4 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -122,6 +122,7 @@ (define-module (gnu packages networking)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
diff --git a/gnu/packages/uucp.scm b/gnu/packages/uucp.scm
index e10de59aa2..1626c90c36 100644
--- a/gnu/packages/uucp.scm
+++ b/gnu/packages/uucp.scm
@@ -19,6 +19,7 @@
(define-module (gnu packages uucp)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages texinfo)
#:use-module (guix licenses)
#:use-module (guix packages)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 56/67] gnu: go-github-com-xeipuuv-gojsonschema: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (54 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 55/67] gnu: go-github-com-hjson-hjson-go: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 57/67] gnu: go-github-com-xeipuuv-gojsonschema: Adjust inputs Sharlatan Hellseher
` (16 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonschema): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iaf68b653f279c98f62ce9e07f2ce010c8e1741e2
---
gnu/packages/golang-web.scm | 41 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 40 ------------------------------------
2 files changed, 41 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4771657add..c97dfa7757 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1202,6 +1202,47 @@ (define-public go-github-com-valyala-fasthttp
replacement for native @code{net/http} module.")
(license license:expat)))
+(define-public go-github-com-xeipuuv-gojsonschema
+ (let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
+ (revision "0"))
+ (package
+ (name "go-github-com-xeipuuv-gojsonschema")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xeipuuv/gojsonschema")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1q937a6q7canlr3dllqdw0qwa6z2fpwn1w9kycavx8jmwh6q3f69"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/xeipuuv/gojsonschema"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (substitute* "schema_test.go"
+ (("\\{\"phase\": \"remote ref, " all)
+ (string-append "// " all))
+ (("\\{\"phase\": \"valid definition" all)
+ (string-append "// " all))
+ (("\\{\"phase\": \"invalid definition" all)
+ (string-append "// " all)))))))))
+ (propagated-inputs
+ (list go-github-com-xeipuuv-gojsonreference
+ go-github-com-xeipuuv-gojsonpointer
+ go-github-com-stretchr-testify))
+ (home-page "https://github.com/xeipuuv/gojsonschema")
+ (synopsis "Implementation of JSON Schema for Go")
+ (description
+ "This package provides an implementation of JSON Schema for the Go
+programming language, which supports draft-04, draft-06 and draft-07.")
+ (license license:asl2.0))))
+
(define-public go-gopkg-in-square-go-jose-v2
(package
(name "go-gopkg-in-square-go-jose-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0e608a8eab..16b13cd59e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12176,46 +12176,6 @@ (define-public go-github-com-xeipuuv-gojsonreference
programming language.")
(license license:asl2.0))))
-(define-public go-github-com-xeipuuv-gojsonschema
- (let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
- (revision "0"))
- (package
- (name "go-github-com-xeipuuv-gojsonschema")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/xeipuuv/gojsonschema")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1q937a6q7canlr3dllqdw0qwa6z2fpwn1w9kycavx8jmwh6q3f69"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/xeipuuv/gojsonschema"
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'disable-failing-tests
- (lambda* (#:key import-path #:allow-other-keys)
- (with-directory-excursion (string-append "src/" import-path)
- (substitute* "schema_test.go"
- (("\\{\"phase\": \"remote ref, " all)
- (string-append "// " all))
- (("\\{\"phase\": \"valid definition" all)
- (string-append "// " all))
- (("\\{\"phase\": \"invalid definition" all)
- (string-append "// " all)))))))))
- (propagated-inputs (list go-github-com-xeipuuv-gojsonreference
- go-github-com-xeipuuv-gojsonpointer
- go-github-com-stretchr-testify))
- (home-page "https://github.com/xeipuuv/gojsonschema")
- (synopsis "Implementation of JSON Schema for Go")
- (description
- "This package provides an implementation of JSON Schema for the Go
-programming language, which supports draft-04, draft-06 and draft-07.")
- (license license:asl2.0))))
-
(define-public go-github-com-niemeyer-pretty
(package
(name "go-github-com-niemeyer-pretty")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 57/67] gnu: go-github-com-xeipuuv-gojsonschema: Adjust inputs.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (55 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 56/67] gnu: go-github-com-xeipuuv-gojsonschema: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 58/67] gnu: go-github-com-xeipuuv-gojsonpointer: Move to (gnu packages golang-web) Sharlatan Hellseher
` (15 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-xeipuuv-gojsonschema):
[propagated-inputs]: Move go-github-com-stretchr-testify from here ...
[native-inputs]: ... to here.
Change-Id: Id865d5821060cd847aeb9ccfc7b7a477e12f7b7b
---
gnu/packages/golang-web.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c97dfa7757..346ca87cc7 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1232,10 +1232,11 @@ (define-public go-github-com-xeipuuv-gojsonschema
(string-append "// " all))
(("\\{\"phase\": \"invalid definition" all)
(string-append "// " all)))))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-xeipuuv-gojsonreference
- go-github-com-xeipuuv-gojsonpointer
- go-github-com-stretchr-testify))
+ go-github-com-xeipuuv-gojsonpointer))
(home-page "https://github.com/xeipuuv/gojsonschema")
(synopsis "Implementation of JSON Schema for Go")
(description
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 58/67] gnu: go-github-com-xeipuuv-gojsonpointer: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (56 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 57/67] gnu: go-github-com-xeipuuv-gojsonschema: Adjust inputs Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 59/67] gnu: go-github-com-xeipuuv-gojsonreference: " Sharlatan Hellseher
` (14 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonpointer): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I1c77a5a1b0e85fa57578ff29c9e3c403e4d62bc8
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 346ca87cc7..1f9fe0ffca 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1202,6 +1202,31 @@ (define-public go-github-com-valyala-fasthttp
replacement for native @code{net/http} module.")
(license license:expat)))
+(define-public go-github-com-xeipuuv-gojsonpointer
+ (let ((commit "4e3ac2762d5f479393488629ee9370b50873b3a6")
+ (revision "0"))
+ (package
+ (name "go-github-com-xeipuuv-gojsonpointer")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xeipuuv/gojsonpointer")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13y6iq2nzf9z4ls66bfgnnamj2m3438absmbpqry64bpwjfbsi9q"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/xeipuuv/gojsonpointer"))
+ (home-page "https://github.com/xeipuuv/gojsonpointer")
+ (synopsis "Implementation of JSON Pointer for Go")
+ (description
+ "This package provides an implementation of JSON Pointer for the Go
+programming language.")
+ (license license:asl2.0))))
+
(define-public go-github-com-xeipuuv-gojsonschema
(let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 16b13cd59e..fb01dd4679 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12125,31 +12125,6 @@ (define-public go-github-com-go-test-deep
when comparing complex types like structures and maps.")
(license license:expat)))
-(define-public go-github-com-xeipuuv-gojsonpointer
- (let ((commit "4e3ac2762d5f479393488629ee9370b50873b3a6")
- (revision "0"))
- (package
- (name "go-github-com-xeipuuv-gojsonpointer")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/xeipuuv/gojsonpointer")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "13y6iq2nzf9z4ls66bfgnnamj2m3438absmbpqry64bpwjfbsi9q"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/xeipuuv/gojsonpointer"))
- (home-page "https://github.com/xeipuuv/gojsonpointer")
- (synopsis "Implementation of JSON Pointer for Go")
- (description
- "This package provides an implementation of JSON Pointer for the Go
-programming language.")
- (license license:asl2.0))))
-
(define-public go-github-com-xeipuuv-gojsonreference
(let ((commit "bd5ef7bd5415a7ac448318e64f11a24cd21e594b")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 59/67] gnu: go-github-com-xeipuuv-gojsonreference: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (57 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 58/67] gnu: go-github-com-xeipuuv-gojsonpointer: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 60/67] gnu: go-github-com-whyrusleeping-json-filter: " Sharlatan Hellseher
` (13 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonreference): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iba8903cba4efa0b806cb19237db3ee51a46646c6
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
2 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1f9fe0ffca..7f6ced049c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1227,6 +1227,33 @@ (define-public go-github-com-xeipuuv-gojsonpointer
programming language.")
(license license:asl2.0))))
+(define-public go-github-com-xeipuuv-gojsonreference
+ (let ((commit "bd5ef7bd5415a7ac448318e64f11a24cd21e594b")
+ (revision "0"))
+ (package
+ (name "go-github-com-xeipuuv-gojsonreference")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xeipuuv/gojsonreference")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xby79padc7bmyb8rfbad8wfnfdzpnh51b1n8c0kibch0kwc1db5"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/xeipuuv/gojsonreference"))
+ (propagated-inputs
+ (list go-github-com-xeipuuv-gojsonpointer))
+ (home-page "https://github.com/xeipuuv/gojsonreference")
+ (synopsis "Implementation of JSON Reference for Go")
+ (description
+ "This package provides an implementation of JSON Reference for the Go
+programming language.")
+ (license license:asl2.0))))
+
(define-public go-github-com-xeipuuv-gojsonschema
(let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fb01dd4679..cf2c0dcfc0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12125,32 +12125,6 @@ (define-public go-github-com-go-test-deep
when comparing complex types like structures and maps.")
(license license:expat)))
-(define-public go-github-com-xeipuuv-gojsonreference
- (let ((commit "bd5ef7bd5415a7ac448318e64f11a24cd21e594b")
- (revision "0"))
- (package
- (name "go-github-com-xeipuuv-gojsonreference")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/xeipuuv/gojsonreference")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1xby79padc7bmyb8rfbad8wfnfdzpnh51b1n8c0kibch0kwc1db5"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/xeipuuv/gojsonreference"))
- (propagated-inputs (list go-github-com-xeipuuv-gojsonpointer))
- (home-page "https://github.com/xeipuuv/gojsonreference")
- (synopsis "Implementation of JSON Reference for Go")
- (description
- "This package provides an implementation of JSON Reference for the Go
-programming language.")
- (license license:asl2.0))))
-
(define-public go-github-com-niemeyer-pretty
(package
(name "go-github-com-niemeyer-pretty")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 60/67] gnu: go-github-com-whyrusleeping-json-filter: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (58 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 59/67] gnu: go-github-com-xeipuuv-gojsonreference: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 61/67] gnu: go-github-com-stretchr-objx: " Sharlatan Hellseher
` (12 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-whyrusleeping-json-filter): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I41d725c82adc3f5571c50bdf6a092e9a310e0f6c
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
2 files changed, 25 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 7f6ced049c..fbfa1049a4 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1202,6 +1202,31 @@ (define-public go-github-com-valyala-fasthttp
replacement for native @code{net/http} module.")
(license license:expat)))
+(define-public go-github-com-whyrusleeping-json-filter
+ (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
+ (revision "0"))
+ (package
+ (name "go-github-com-whyrusleeping-json-filter")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/whyrusleeping/json-filter")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path
+ "github.com/whyrusleeping/json-filter"))
+ (home-page "https://github.com/whyrusleeping/json-filter")
+ (synopsis "Library to query JSON objects marshalled into map[string]interface")
+ (description "A library to query JSON objects marshalled into
+@command{map[string]interface{}}.")
+ (license license:expat))))
+
(define-public go-github-com-xeipuuv-gojsonpointer
(let ((commit "4e3ac2762d5f479393488629ee9370b50873b3a6")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cf2c0dcfc0..3f93f6eaee 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6508,32 +6508,6 @@ (define-public go-github-com-pmezard-go-difflib
(description "This package provides unified and context-aware diffs in Go.")
(license license:bsd-3)))
-(define-public go-github-com-whyrusleeping-json-filter
- (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
- (revision "0"))
- (package
- (name "go-github-com-whyrusleeping-json-filter")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/whyrusleeping/json-filter")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path
- "github.com/whyrusleeping/json-filter"))
- (home-page "https://github.com/whyrusleeping/json-filter")
- (synopsis "Library to query JSON objects marshalled into map[string]interface")
- (description "A library to query JSON objects marshalled into
-@command{map[string]interface{}}.")
- (license license:expat))))
-
(define-public go-github-com-whyrusleeping-progmeter
(let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 61/67] gnu: go-github-com-stretchr-objx: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (59 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 60/67] gnu: go-github-com-whyrusleeping-json-filter: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 62/67] gnu: go-github-com-google-go-github: " Sharlatan Hellseher
` (11 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-stretchr-objx,
go-github-com-stretchr-testify-bootstrap): Move from here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I357edfb72b789da67f821ae63afe30f18fc1cb39
---
gnu/packages/golang-check.scm | 51 ++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 52 -----------------------------------
2 files changed, 51 insertions(+), 52 deletions(-)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 42e501a6e3..b74864d808 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -378,6 +378,46 @@ (define-public go-github-com-onsi-ginkgo
Gomega matcher library.")
(license license:expat)))
+(define-public go-github-com-stretchr-objx
+ (package
+ (name "go-github-com-stretchr-objx")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/stretchr/objx")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0dygds32qxx6x1x2mmn7msyjr15qi5r70pyzv8dz8cprxq32nzc1"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "vendor")))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/stretchr/objx"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs #:allow-other-keys #:rest args)
+ (unless
+ ;; The tests fail when run with gccgo.
+ (false-if-exception (search-input-file inputs "/bin/gccgo"))
+ (apply (assoc-ref %standard-phases 'check) args)))))))
+ (propagated-inputs
+ (list go-github-com-davecgh-go-spew
+ go-github-com-pmezard-go-difflib))
+ (inputs
+ (list go-github-com-stretchr-testify-bootstrap))
+ (home-page "https://github.com/stretchr/objx")
+ (synopsis "Go package for dealing with maps, slices, JSON and other data")
+ (description "This package provides a Go library for dealing with maps,
+slices, JSON and other data.")
+ (license license:expat)))
+
(define-public go-github-com-stretchr-testify
(package
(name "go-github-com-stretchr-testify")
@@ -414,6 +454,17 @@ (define-public go-github-com-stretchr-testify
@end itemize")
(license license:expat)))
+(define go-github-com-stretchr-testify-bootstrap
+ (package
+ (inherit go-github-com-stretchr-testify)
+ (arguments
+ '(#:import-path "github.com/stretchr/testify"
+ #:tests? #f
+ #:phases (modify-phases %standard-phases
+ (delete 'build))))
+ (propagated-inputs
+ (list go-gopkg-in-yaml-v3))))
+
(define-public go-github-com-tdewolff-test
(package
(name "go-github-com-tdewolff-test")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3f93f6eaee..feb1295e7b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4110,58 +4110,6 @@ (define-public go-github-com-jpillora-backoff
Go.")
(license license:expat))))
-(define-public go-github-com-stretchr-objx
- (package
- (name "go-github-com-stretchr-objx")
- (version "0.4.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/stretchr/objx")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0dygds32qxx6x1x2mmn7msyjr15qi5r70pyzv8dz8cprxq32nzc1"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file-recursively "vendor")))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/stretchr/objx"
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys #:rest args)
- (unless
- ;; The tests fail when run with gccgo.
- (false-if-exception (search-input-file inputs "/bin/gccgo"))
- (apply (assoc-ref %standard-phases 'check) args)))))))
- (propagated-inputs
- (list go-github-com-davecgh-go-spew
- go-github-com-pmezard-go-difflib))
- (inputs
- (list go-github-com-stretchr-testify-bootstrap))
- (home-page "https://github.com/stretchr/objx")
- (synopsis "Go package for dealing with maps, slices, JSON and other data")
- (description "This package provides a Go library for dealing with maps,
-slices, JSON and other data.")
- (license license:expat)))
-
-(define go-github-com-stretchr-testify-bootstrap
- (package
- (inherit go-github-com-stretchr-testify)
- (arguments
- '(#:import-path "github.com/stretchr/testify"
- #:tests? #f
- #:phases (modify-phases %standard-phases
- (delete 'build))))
- (propagated-inputs
- (list go-gopkg-in-yaml-v3))))
-
(define-public go-github-com-technoweenie-multipartstreamer
(package
(name "go-github-com-technoweenie-multipartstreamer")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 62/67] gnu: go-github-com-google-go-github: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (60 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 61/67] gnu: go-github-com-stretchr-objx: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 63/67] gnu: go-cloud-google-com-go-compute-metadata: " Sharlatan Hellseher
` (10 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-google-go-github): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I17711a8f0bfd58a12cf805f1678688d2946c985b
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index fbfa1049a4..20c3b0f3e1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -538,6 +538,32 @@ (define-public go-github-com-goccy-go-json
(description "Fast JSON encoder/decoder compatible with encoding/json for Go.")
(license license:expat)))
+(define-public go-github-com-google-go-github
+ (package
+ (name "go-github-com-google-go-github")
+ (version "26.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/go-github")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:tests? #f ;application/octet-stream instead of text/plain
+ #:import-path "github.com/google/go-github/v26/github"
+ #:unpack-path "github.com/google/go-github/v26"))
+ (native-inputs
+ (list go-github-com-google-go-querystring go-golang-org-x-crypto))
+ (home-page "https://github.com/google/go-github/")
+ (synopsis "Client library for accessing the GitHub API v3")
+ (description "@code{go-github} is a Go client library for accessing the
+GitHub API v3.")
+ (license license:bsd-3)))
+
(define-public go-github-com-google-safehtml
(package
(name "go-github-com-google-safehtml")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index feb1295e7b..3ffe569ed5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7689,32 +7689,6 @@ (define-public go-github-com-google-go-querystring
into URL query parameters.")
(license license:bsd-3))))
-(define-public go-github-com-google-go-github
- (package
- (name "go-github-com-google-go-github")
- (version "26.1.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/google/go-github")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
- (build-system go-build-system)
- (arguments
- `(#:tests? #f ;application/octet-stream instead of text/plain
- #:import-path "github.com/google/go-github/v26/github"
- #:unpack-path "github.com/google/go-github/v26"))
- (native-inputs
- (list go-github-com-google-go-querystring go-golang-org-x-crypto))
- (home-page "https://github.com/google/go-github/")
- (synopsis "Client library for accessing the GitHub API v3")
- (description "@code{go-github} is a Go client library for accessing the
-GitHub API v3.")
- (license license:bsd-3)))
-
(define-public go-github-com-google-renameio
(package
(name "go-github-com-google-renameio")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 63/67] gnu: go-cloud-google-com-go-compute-metadata: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (61 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 62/67] gnu: go-github-com-google-go-github: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 64/67] gnu: go-github-com-getsentry-raven-go: " Sharlatan Hellseher
` (9 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-cloud-google-com-go-compute-metadata): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/mail.scm: Add (gnu packages golang-web) module.
Change-Id: Ic97e5f4afd26376d37860fbb4758e8037e758f58
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
gnu/packages/mail.scm | 1 +
3 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 20c3b0f3e1..c046e0d46a 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
+;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Adam Kandur <kefironpremise@gmail.com>
@@ -55,6 +56,32 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-cloud-google-com-go-compute-metadata
+ (package
+ (name "go-cloud-google-com-go-compute-metadata")
+ (version "0.81.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googleapis/google-cloud-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15jgynqb5pbxqbj3a7ii970yn4srsw1dbxzxnhpkfkmplalpgyh3"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:unpack-path "cloud.google.com/go"
+ #:import-path "cloud.google.com/go/compute/metadata"))
+ (home-page
+ "https://pkg.go.dev/cloud.google.com/go/compute/metadata")
+ (synopsis
+ "Go wrapper for Google Compute Engine metadata service")
+ (description
+ "This package provides access to Google Compute Engine (GCE) metadata and
+API service accounts for Go.")
+ (license license:asl2.0)))
+
(define-public go-github-com-andybalholm-cascadia
(package
(name "go-github-com-andybalholm-cascadia")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3ffe569ed5..d53fa5864a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4224,33 +4224,6 @@ (define-public go-github-com-blang-semver
(description "Semver is a library for Semantic versioning written in Go.")
(license license:expat))))
-(define-public go-cloud-google-com-go-compute-metadata
- (package
- (name "go-cloud-google-com-go-compute-metadata")
- (version "0.81.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/googleapis/google-cloud-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "15jgynqb5pbxqbj3a7ii970yn4srsw1dbxzxnhpkfkmplalpgyh3"))))
- (build-system go-build-system)
- (arguments
- '(#:unpack-path "cloud.google.com/go"
- #:import-path "cloud.google.com/go/compute/metadata"))
- (home-page
- "https://pkg.go.dev/cloud.google.com/go/compute/metadata")
- (synopsis
- "Go wrapper for Google Compute Engine metadata service")
- (description
- "This package provides access to Google Compute Engine (GCE) metadata and
-API service accounts for Go.")
- (license license:asl2.0)))
-
(define-public go-github-com-google-cadvisor
(let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
(revision "0"))
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 9f410047e2..72ad735667 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -109,6 +109,7 @@ (define-module (gnu packages mail)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages groff)
#:use-module (gnu packages gsasl)
#:use-module (gnu packages gtk)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 64/67] gnu: go-github-com-getsentry-raven-go: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (62 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 63/67] gnu: go-cloud-google-com-go-compute-metadata: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 65/67] gnu: go-github-com-go-telegram-bot-api-telegram-bot-api: " Sharlatan Hellseher
` (8 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-getsentry-raven-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: If7e155b3e85d8bda8fd099f6a4d1eb6b87e9eee3
---
gnu/packages/golang-web.scm | 31 +++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 31 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c046e0d46a..41c8c37a0b 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
+;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
@@ -45,6 +46,7 @@ (define-module (gnu packages golang-web)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages tls)
#:use-module (gnu packages web))
;;; Commentary:
@@ -521,6 +523,35 @@ (define-public go-github-com-francoispqt-gojay
(home-page "https://github.com/francoispqt/gojay")
(license license:expat)))
+;; TODO: This repository has been archived by the owner on Aug 30, 2023. It is
+;; now read-only. The raven-go SDK is no longer maintained and was superseded
+;; by the sentry-go
+(define-public go-github-com-getsentry-raven-go
+ (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
+ (revision "0"))
+ (package
+ (name "go-github-com-getsentry-raven-go")
+ (version (git-version "0.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/getsentry/raven-go")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/getsentry/raven-go"))
+ (propagated-inputs
+ (list go-github-com-certifi-gocertifi go-github-com-pkg-errors))
+ (home-page "https://github.com/getsentry/raven-go")
+ (synopsis "Sentry client in Go")
+ (description "This package is a Go client API for the Sentry event/error
+logging system.")
+ (license license:bsd-3))))
+
(define-public go-github-com-go-chi-chi-v5
(package
(name "go-github-com-go-chi-chi-v5")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d53fa5864a..d4d8d352a5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4002,33 +4002,6 @@ (define-public go-github-com-burntsushi-toml
is similar to Go's standard library @code{json} and @code{xml} package.")
(license license:expat)))
-(define-public go-github-com-getsentry-raven-go
- (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
- (revision "0"))
- (package
- (name "go-github-com-getsentry-raven-go")
- (version (git-version "0.2.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/getsentry/raven-go")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/getsentry/raven-go"))
- (propagated-inputs
- (list go-github-com-certifi-gocertifi go-github-com-pkg-errors))
- (home-page "https://github.com/getsentry/raven-go")
- (synopsis "Sentry client in Go")
- (description "This package is a Go client API for the Sentry event/error
-logging system.")
- (license license:bsd-3))))
-
(define-public go-github-com-hashicorp-go-uuid
(package
(name "go-github-com-hashicorp-go-uuid")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 65/67] gnu: go-github-com-go-telegram-bot-api-telegram-bot-api: Move to (gnu packages golang-web).
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (63 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 64/67] gnu: go-github-com-getsentry-raven-go: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 66/67] gnu: actionlint: Update to 1.6.26 Sharlatan Hellseher
` (7 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-go-telegram-bot-api-telegram-bot-api): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ia631773394faaff150c18b074c943565f6998e1f
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 41c8c37a0b..7759916c35 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -575,6 +575,31 @@ (define-public go-github-com-go-chi-chi-v5
decompose request handling into many smaller layers.")
(license license:expat)))
+(define-public go-github-com-go-telegram-bot-api-telegram-bot-api
+ (package
+ (name "go-github-com-go-telegram-bot-api-telegram-bot-api")
+ (version "4.6.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-telegram-bot-api/telegram-bot-api")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1x6j0k3aiicsr8l53na99ci10zm3qpn2syz4f60fzh164w5k1l7w"))))
+ (build-system go-build-system)
+ (home-page "https://go-telegram-bot-api.dev/")
+ (arguments
+ (list #:tests? #f ; Upstream tests are broken.
+ #:import-path "github.com/go-telegram-bot-api/telegram-bot-api"))
+ (propagated-inputs
+ (list go-github-com-technoweenie-multipartstreamer))
+ (synopsis "Golang bindings for the Telegram Bot API")
+ (description
+ "This package provides Golang bindings for the Telegram Bot API.")
+ (license license:expat)))
+
(define-public go-github-com-goccy-go-json
(package
(name "go-github-com-goccy-go-json")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d4d8d352a5..740ddbe440 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9921,31 +9921,6 @@ (define-public go-github-com-tekwizely-go-parsing
parsers, and related tools.")
(license license:expat))))
-(define-public go-github-com-go-telegram-bot-api-telegram-bot-api
- (package
- (name "go-github-com-go-telegram-bot-api-telegram-bot-api")
- (version "4.6.4")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/go-telegram-bot-api/telegram-bot-api")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1x6j0k3aiicsr8l53na99ci10zm3qpn2syz4f60fzh164w5k1l7w"))))
- (build-system go-build-system)
- (home-page "https://go-telegram-bot-api.dev/")
- (arguments
- (list #:tests? #f ; Upstream tests are broken.
- #:import-path "github.com/go-telegram-bot-api/telegram-bot-api"))
- (propagated-inputs
- (list go-github-com-technoweenie-multipartstreamer))
- (synopsis "Golang bindings for the Telegram Bot API")
- (description
- "This package provides Golang bindings for the Telegram Bot API.")
- (license license:expat)))
-
(define-public go-github.com-ulikunitz-xz
(package
(name "go-github.com-ulikunitz-xz")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 66/67] gnu: actionlint: Update to 1.6.26.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (64 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 65/67] gnu: go-github-com-go-telegram-bot-api-telegram-bot-api: " Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-10-30 1:09 ` [bug#66827] [PATCH 67/67] teams: go-team: Extend scope Sharlatan Hellseher
` (6 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/check.scm (actionlint): Update to 1.6.26.
[inputs]: Swap go-github-com-robfig-cron-1.2 to go-github-com-robfig-cron
* gnu/packages/golang.scm (go-github-com-robfig-cron-1.2): Delete variable.
Change-Id: Ie2c25254ffefb99f8808f74ae4a9d85bbbcb6437
---
gnu/packages/check.scm | 8 ++++----
gnu/packages/golang.scm | 18 ------------------
2 files changed, 4 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index cf26196a24..fc338394bf 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -39,7 +39,7 @@
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022, 2023 David Elsing <david.elsing@posteo.net>
-;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2022, 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; Copyright © 2023 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
@@ -1069,7 +1069,7 @@ (define-public cpputest
(define-public actionlint
(package
(name "actionlint")
- (version "1.6.23")
+ (version "1.6.26")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1078,7 +1078,7 @@ (define-public actionlint
(file-name (git-file-name name version))
(sha256
(base32
- "07is4920a40zrl7mfldg0az2pisi7f6dv4vh3ijn3nzb4i7fqbni"))))
+ "0j4ni2cryvqn3qim1r6q6sargh0wig6l4vjjwc40cgqvvkrdla04"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/rhysd/actionlint/cmd/actionlint"
@@ -1087,7 +1087,7 @@ (define-public actionlint
(inputs (list go-github-com-fatih-color
go-github-com-mattn-go-colorable
go-github-com-mattn-go-runewidth
- go-github-com-robfig-cron-1.2
+ go-github-com-robfig-cron
go-golang.org-x-sync-errgroup
go-golang.org-x-sync-semaphore
go-gopkg-in-yaml-v3))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 740ddbe440..cdf0f23a90 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7164,24 +7164,6 @@ (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"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 67/67] teams: go-team: Extend scope.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (65 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 66/67] gnu: actionlint: Update to 1.6.26 Sharlatan Hellseher
@ 2023-10-30 1:09 ` Sharlatan Hellseher
2023-11-03 19:47 ` [bug#66827] Sharlatan Hellseher
` (5 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-10-30 1:09 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* etc/teams.scm: Add regex for all gnu/packages/golang.* files. Add
gnu/packages/syncthing.scm.
Change-Id: I47f43ea2c42b5c86f6a07a38fbaa4170743c4203
---
etc/teams.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/etc/teams.scm b/etc/teams.scm
index 71a62bc547..0792facf06 100755
--- a/etc/teams.scm
+++ b/etc/teams.scm
@@ -298,7 +298,8 @@ (define-team ruby
(define-team go
(team 'go
#:name "Go team"
- #:scope (list "gnu/packages/golang.scm"
+ #:scope (list "gnu/packages/golang(-.+|)\\.scm$"
+ "gnu/packages/syncthing.scm"
"guix/build/go-build-system.scm"
"guix/build-system/go.scm"
"guix/import/go.scm"
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827]
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (66 preceding siblings ...)
2023-10-30 1:09 ` [bug#66827] [PATCH 67/67] teams: go-team: Extend scope Sharlatan Hellseher
@ 2023-11-03 19:47 ` Sharlatan Hellseher
2023-11-08 0:39 ` [bug#66827] Sharlatan Hellseher
` (4 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-03 19:47 UTC (permalink / raw)
To: 66827; +Cc: Christopher Baines, Maxim Cournoyer
[-- Attachment #1: Type: text/plain, Size: 272 bytes --]
Hi Guix,
I see the QA status is pending now. After the check the part which is
holding it - it is the same one as mentioned in cover letter - there are 3
dependent packages which were failed before submitted patch series. I try
to fix them after the merge.
Thanks,
Oleg
[-- Attachment #2: Type: text/html, Size: 408 bytes --]
^ permalink raw reply [flat|nested] 206+ messages in thread
* [bug#66827]
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (67 preceding siblings ...)
2023-11-03 19:47 ` [bug#66827] Sharlatan Hellseher
@ 2023-11-08 0:39 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (3 subsequent siblings)
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:39 UTC (permalink / raw)
To: 66827; +Cc: Maxim Cournoyer
Hi,
I've fixed conflict mentioned in QA by rebasing to master after fresh pull.
Unable to apply patches
Applying: gnu: go-github-com-hjson-hjson-go: Move to (gnu packages golang-web).
error: sha1 information is lacking or useless (gnu/packages/golang.scm).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 gnu: go-github-com-hjson-hjson-go: Move to (gnu
packages golang-web).
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Sending V2 of the series
Still buildable locally:
./pre-inst-env guix build $(grep define-public
gnu/packages/golang-web.scm |cut -d" " -f2) --check
/gnu/store/y3a2njyshwam18bsbfb1daamg4bkxkm5-go-gopkg-in-square-go-jose-v2-2.6.0
/gnu/store/7xzmkzr4ph0c3kkb4dci3yiri70scqbg-go-github-com-xeipuuv-gojsonschema-0.0.0-0.6b67b3f
/gnu/store/bjqlxk15a5h1s11j5h14arbqmd54638x-go-github-com-xeipuuv-gojsonreference-0.0.0-0.bd5ef7b
/gnu/store/lqwjwz5mrs5vdcfap9n0qyzf3cdls9s2-go-github-com-xeipuuv-gojsonpointer-0.0.0-0.4e3ac27
/gnu/store/6yn73zn1q0xb0qkqd21qd8vy8r7dyyrd-go-github-com-whyrusleeping-json-filter-0.0.0-0.ff25329
/gnu/store/hrdypaif9m42wshgn7l6hb0gsz3k62x0-go-github-com-valyala-fasthttp-1.39.0
/gnu/store/lnr121a2ag8njx02h023xf5vwvyxxkaj-go-github-com-tv42-httpunix-0.0.0-0.2ba4b9c
/gnu/store/8f5ywnxy7ijcgk1ii6xphqr0b84c4jmg-go-github-com-tdewolff-parse-v2-2.6.6
/gnu/store/1mdyppxxx4z3fd276kzf8xn1cnnb42k1-go-github-com-tdewolff-minify-v2-2.12.7
/gnu/store/nm69wcan5ydc1pl5a9x0rnq5nzm02nax-go-github-com-sourcegraph-jsonrpc2-0.1.0
/gnu/store/k2zfsrqzxbf9lg44wwimx6ph83h40vap-go-github-com-puerkitobio-goquery-1.7.0
/gnu/store/zvr2jw8027cj80hwvv5ifbqnnbwjhnws-go-github-com-opentracing-opentracing-go-1.2.0
/gnu/store/aqvwqcsvmvaz2bqwl8phbh856kj7nvb5-go-github-com-nwidger-jsoncolor-0.3.0
/gnu/store/9jgla4b8pvaa88fdl34rr8268xk0zbgr-go-github-com-microcosm-cc-bluemonday-1.0.3
/gnu/store/3bvbddskg8a1ls8m0m0x18i3mr47ywpx-go-github-com-julienschmidt-httprouter-1.3.0
/gnu/store/wxcjh073dcrz9z0x0vsknl61i2ffa18d-go-github-com-jmespath-go-jmespath-0.4.0
/gnu/store/6xhgag2dp7d452k8c976zb1afnxab093-go-github-com-jcmturner-gokrb5-v8-8.4.2
/gnu/store/rwx7j8iafizn3apxpgfaqy4mbhh5pvz5-go-github-com-jcmturner-goidentity-v6-6.0.1
/gnu/store/rj87yi7s0z5z4br61d2zrc5vwvpikh1h-go-github-com-jcmturner-dnsutils-v2-2.0.0
/gnu/store/nd26m97i3vhfxnwb6nshjk40i5ph4znj-go-github-com-hjson-hjson-go-3.1.0
/gnu/store/bvwsf51gdwss9gcilcqsx9ghlgqazayq-go-github-com-gorilla-websocket-1.5.0
/gnu/store/6xyakwdn2sq7i9q1lq9z3dmxcmhqz8ja-go-github-com-gorilla-sessions-1.2.1
/gnu/store/zhd46az905cl15kk89q0maw86bf3s5f5-go-github-com-gorilla-securecookie-1.1.1
/gnu/store/xani16icyll1k323may8mvgwqh0rwr20-go-github-com-gorilla-mux-1.8.0
/gnu/store/gkdmng46jgwxcqlgb2nj84gcymlh14nc-go-github-com-gorilla-handlers-1.5.1
/gnu/store/2dsy2mznxib6ay1vhng6hq4bpfhayi2b-go-github-com-gorilla-css-1.0.0
/gnu/store/9swch7kxxn9f2h50xds047mf328abjp1-go-github-com-gorilla-csrf-1.7.0
/gnu/store/3w9z5icf5j51zkdwv0d46bkwqw9kmy0y-go-github-com-gorilla-context-0.0.0-0.08b5f42
/gnu/store/1z1343fkq402gf441dk8ng2m768lk440-go-github-com-google-safehtml-0.1.0
/gnu/store/2yxy2qbpar2kq3mhih4grwyin6d6jpj6-go-github-com-google-go-github-26.1.3
/gnu/store/jcxldlis745ikndg1yf6bhnzq1ivsdxn-go-github-com-goccy-go-json-0.9.10
/gnu/store/jjp0s9mi9a7l0bwzb6vyn7d3wm8k4xg6-go-github-com-go-telegram-bot-api-telegram-bot-api-4.6.4
/gnu/store/lb2142b9ww9qx60599pnjn7w8j10rdlr-go-github-com-go-chi-chi-v5-5.0.7
/gnu/store/d4z1pz3nswzm60xccskpip2ql6zcm179-go-github-com-getsentry-raven-go-0.2.0-0.5c24d51
/gnu/store/zyw2z3nqrjw4ncklm78v0fmmbdsnwmdg-go-github-com-francoispqt-gojay-1.2.13
/gnu/store/9jn653rizil3n4klhvf1azfmqbdgnv0c-go-github-com-felixge-httpsnoop-1.0.1
/gnu/store/c506g0i9jyjb0sir401292rws4md8w65-go-github-com-emicklei-go-restful-3.4.0
/gnu/store/pkbn07131fh1wd944dannq1ybhzrh5c8-go-github-com-coreos-go-oidc-v3-3.6.0
/gnu/store/ljhsalwrrn0blaj87d0ni1cn28vg8lkg-go-github-com-coreos-go-oidc-2.2.1
/gnu/store/70lwzp46qnpgkx64x1qvwwswhavxxpy0-go-github-com-chris-ramon-douceur-0.2.0
/gnu/store/s7fxah4mgzr20a171p12slb10xzwplqn-go-github-com-bep-golibsass-0.7.0
/gnu/store/fqidgpzlv2p53clq6swx5gs6klj7x4d0-go-github-com-aymerick-douceur-0.2.0
/gnu/store/p2m82l86s24ldkrymhmnizvzq8izmy7f-go-github-com-aws-smithy-go-1.13.5
/gnu/store/7848kpqs3cmmk0s6wjlvlh6zkbsahk2j-go-github-com-aws-aws-sdk-go-v2-service-sts-1.17.7
/gnu/store/iv5ja72dzcgijj10sfhqlp6m9n60bdvq-go-github-com-aws-aws-sdk-go-v2-service-ssooidc-1.13.10
/gnu/store/ggrw8nwi6zwssi37ak9sy6zsrfcjzaqj-go-github-com-aws-aws-sdk-go-v2-service-sso-1.11.27
/gnu/store/8xsf58y9b38vbaspar74yw7nkj90x19x-go-github-com-aws-aws-sdk-go-v2-service-s3-1.30.0
/gnu/store/w99fa8yghdbpjvmpf88yz9i2xiyyq436-go-github-com-aws-aws-sdk-go-v2-service-iam-1.44.161
/gnu/store/n4gxabd1hsjpb11mwfi0n3dzw0wfas86-go-github-com-aws-aws-sdk-go-v2-feature-s3-manager-1.11.44
/gnu/store/dm39p6gw2p8ji67k14wmsm1pw3fjaqy5-go-github-com-aws-aws-sdk-go-v2-config-1.18.5
/gnu/store/zszbl56fshcc2hiz7bcjhw39j9g0mi8b-go-github-com-aws-aws-sdk-go-v2-1.17.3
/gnu/store/gfkmh8ka75j8fvs3q6vkbz7nz4z4q5ad-go-github-com-aws-aws-sdk-go-1.36.18
/gnu/store/j8rakyd65vqbhaw2kvnd10yhfv5yj8wz-go-github-com-aws-sdk-1.35.2
/gnu/store/kj72vci6aj4bxhh18501nq4ygx2yhwif-go-github-com-andybalholm-cascadia-1.3.1
/gnu/store/lqwxq7dfh80ndjnmrm8l0l3pbvbvfwfi-go-cloud-google-com-go-compute-metadata-0.81.0
--
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
^ permalink raw reply [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (68 preceding siblings ...)
2023-11-08 0:39 ` [bug#66827] Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 02/67] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web) Sharlatan Hellseher
` (65 more replies)
2023-11-13 20:00 ` [bug#66827] Sharlatan Hellseher
` (2 subsequent siblings)
72 siblings, 66 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm: New file.
* gnu/local.mk: Add to gnu/packages/golang-web.scm scope.
---
gnu/local.mk | 1 +
gnu/packages/golang-web.scm | 39 +++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
create mode 100644 gnu/packages/golang-web.scm
diff --git a/gnu/local.mk b/gnu/local.mk
index a381d28b83..52b5a7ef3e 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -303,6 +303,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/gobby.scm \
%D%/packages/golang.scm \
%D%/packages/golang-check.scm \
+ %D%/packages/golang-web.scm \
%D%/packages/gperf.scm \
%D%/packages/gpodder.scm \
%D%/packages/gps.scm \
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
new file mode 100644
index 0000000000..feb2854d9c
--- /dev/null
+++ b/gnu/packages/golang-web.scm
@@ -0,0 +1,39 @@
+;;; GNU Guix --- Functional package management for GNU
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages golang-web)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix build-system go)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages golang))
+
+;;; Commentary:
+;;;
+;;; Golang modules (libraries) related to HTML, CSS, SCSS, JavaScript, JSON,
+;;; Web-framework, REST-API or similar functionality.
+;;;
+;;; Please: Try to add new module packages in alphabetic order.
+;;;
+;;; Code:
+\f
+;;;
+;;; Avoid adding new packages to the end of this file. To reduce the chances
+;;; of a merge conflict, place them above by existing packages with similar
+;;; functionality or similar names.
+;;;
base-commit: 19fe24c5b978a16cbca3cddbfa3ab9d1ee2c68f2
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 02/67] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 03/67] gnu: go-github-com-gorilla-css: " Sharlatan Hellseher
` (64 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-mux): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/finance.scm: Add (gnu packages golang-web) module.
* gnu/packages/web.scm: As above...
Change-Id: I1cb94377d581af93593dbb29cb60ddf5fb287ada
---
gnu/packages/finance.scm | 1 +
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
gnu/packages/web.scm | 1 +
4 files changed, 27 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 4f3415232c..71dff964d5 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -93,6 +93,7 @@ (define-module (gnu packages finance)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages groff)
#:use-module (gnu packages gsasl)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index feb2854d9c..c779600411 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,4 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
+;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,6 +34,29 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-gorilla-mux
+ (package
+ (name "go-github-com-gorilla-mux")
+ (version "1.8.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/mux")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18f0q9qxgq1yh4ji07mqhiydfcwvi56z9d775v7dc7yckj33kpdk"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/mux"))
+ (home-page "https://github.com/gorilla/mux")
+ (synopsis "URL router and dispatcher for Go")
+ (description
+ "Gorilla/Mux implements a request router and dispatcher for matching
+incoming requests with their respective handler.")
+ (license license:bsd-3)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9c707e5414..f583bd53c5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4701,30 +4701,6 @@ (define-public go-github-com-gorilla-context
(description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
(license license:bsd-3))))
-(define-public go-github-com-gorilla-mux
- (package
- (name "go-github-com-gorilla-mux")
- (version "1.8.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/mux")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "18f0q9qxgq1yh4ji07mqhiydfcwvi56z9d775v7dc7yckj33kpdk"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/mux"))
- (home-page "https://github.com/gorilla/mux")
- (synopsis "URL router and dispatcher for Go")
- (description
- "Gorilla/Mux implements a request router and dispatcher for matching
-incoming requests with their respective handler.")
- (license license:bsd-3)))
-
(define-public go-github-com-andybalholm-brotli
(package
(name "go-github-com-andybalholm-brotli")
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 66d09700db..4055923fb1 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -141,6 +141,7 @@ (define-module (gnu packages web)
#:use-module (gnu packages gnunet)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages gperf)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 03/67] gnu: go-github-com-gorilla-css: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 02/67] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 04/67] gnu: go-github-com-aymerick-douceur: " Sharlatan Hellseher
` (63 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-css): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/configuration-management.sc: Add (gnu packages golang-web) module.
* gnu/packages/golang.scm: As above...
Change-Id: I6e387966d05c40321b9116b93d76fce68aad8c7f
---
gnu/packages/configuration-management.scm | 1 +
gnu/packages/golang-web.scm | 23 +++++++++++++++++++++++
gnu/packages/golang.scm | 23 +----------------------
3 files changed, 25 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/configuration-management.scm b/gnu/packages/configuration-management.scm
index 95a7e8615f..296f48dcd5 100644
--- a/gnu/packages/configuration-management.scm
+++ b/gnu/packages/configuration-management.scm
@@ -21,6 +21,7 @@ (define-module (gnu packages configuration-management)
#:use-module (guix build-system go)
#:use-module (guix git-download)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages version-control)
#:use-module (gnu packages textutils)
#:use-module ((guix licenses) #:prefix license:)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c779600411..1d61a76268 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -34,6 +35,28 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-gorilla-css
+ (package
+ (name "go-github-com-gorilla-css")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/css")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/gorilla/css/scanner"
+ #:unpack-path "github.com/gorilla/css"))
+ (home-page "https://github.com/gorilla/css/")
+ (synopsis "CSS3 tokenizer")
+ (description "This package provides a CSS3 tokenizer.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-mux
(package
(name "go-github-com-gorilla-mux")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f583bd53c5..db335858f6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -79,6 +79,7 @@ (define-module (gnu packages golang)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages lua)
#:use-module (gnu packages mail)
#:use-module (gnu packages mp3)
@@ -4655,28 +4656,6 @@ (define-public go-github-com-google-cadvisor
containers.")
(license license:asl2.0))))
-(define-public go-github-com-gorilla-css
- (package
- (name "go-github-com-gorilla-css")
- (version "1.0.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/css")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/gorilla/css/scanner"
- #:unpack-path "github.com/gorilla/css"))
- (home-page "https://github.com/gorilla/css/")
- (synopsis "CSS3 tokenizer")
- (description "This package provides a CSS3 tokenizer.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-context
(let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 04/67] gnu: go-github-com-aymerick-douceur: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 02/67] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web) Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 03/67] gnu: go-github-com-gorilla-css: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 05/67] gnu: go-github-com-andybalholm-cascadia: " Sharlatan Hellseher
` (62 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aymerick-douceur): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I2e94858736f88333f56d4eb4301acd35e6bb1a33
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1d61a76268..39a83990ce 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -35,6 +35,32 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-aymerick-douceur
+ (package
+ (name "go-github-com-aymerick-douceur")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aymerick/douceur/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/aymerick/douceur"))
+ (native-inputs
+ (list go-github-com-andybalholm-cascadia
+ go-github-com-gorilla-css
+ go-github-com-puerkitobio-goquery
+ go-golang-org-x-net))
+ (home-page "https://github.com/aymerick/douceur/")
+ (synopsis "CSS parser and inliner")
+ (description "This package provides a CSS parser and inliner.")
+ (license license:expat)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index db335858f6..1b8b455aa5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9278,31 +9278,6 @@ (define-public go-github-com-jmespath-go-jmespath
transforms one JSON document into another through a JMESPath expression.")
(license license:asl2.0)))
-(define-public go-github-com-aymerick-douceur
- (package
- (name "go-github-com-aymerick-douceur")
- (version "0.2.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aymerick/douceur/")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/aymerick/douceur"))
- (native-inputs
- (list go-github-com-puerkitobio-goquery
- go-github-com-andybalholm-cascadia go-golang-org-x-net
- go-github-com-gorilla-css))
- (home-page "https://github.com/aymerick/douceur/")
- (synopsis "CSS parser and inliner")
- (description "This package provides a CSS parser and inliner.")
- (license license:expat)))
-
(define-public go-github-com-chris-ramon-douceur
(package
(name "go-github-com-chris-ramon-douceur")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 05/67] gnu: go-github-com-andybalholm-cascadia: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (2 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 04/67] gnu: go-github-com-aymerick-douceur: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 06/67] gnu: go-github-com-puerkitobio-goquery: " Sharlatan Hellseher
` (61 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-andybalholm-cascadia): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I185cb923d21685eb5a3952b9990833d3a0709312
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 39a83990ce..3c1abfff2c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,6 +36,30 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-andybalholm-cascadia
+ (package
+ (name "go-github-com-andybalholm-cascadia")
+ (version "1.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/andybalholm/cascadia")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zgc9fjkn7d66cnmgnmalr9lrq4ii1spap95pf2x1hln4pflib5s"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/andybalholm/cascadia"))
+ (native-inputs
+ (list go-golang-org-x-net))
+ (home-page "https://github.com/andybalholm/cascadia/")
+ (synopsis "CSS selectors for HTML")
+ (description "The Cascadia package implements CSS selectors for use with
+the parse trees produced by the html package.")
+ (license license:bsd-2)))
+
(define-public go-github-com-aymerick-douceur
(package
(name "go-github-com-aymerick-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1b8b455aa5..580fe36486 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9203,30 +9203,6 @@ (define-public go-github-com-alecthomas-chroma
converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
(license license:expat)))
-(define-public go-github-com-andybalholm-cascadia
- (package
- (name "go-github-com-andybalholm-cascadia")
- (version "1.3.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/andybalholm/cascadia")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0zgc9fjkn7d66cnmgnmalr9lrq4ii1spap95pf2x1hln4pflib5s"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/andybalholm/cascadia"))
- (native-inputs
- (list go-golang-org-x-net))
- (home-page "https://github.com/andybalholm/cascadia/")
- (synopsis "CSS selectors for HTML")
- (description "The Cascadia package implements CSS selectors for use with
-the parse trees produced by the html package.")
- (license license:bsd-2)))
-
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 06/67] gnu: go-github-com-puerkitobio-goquery: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (3 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 05/67] gnu: go-github-com-andybalholm-cascadia: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 07/67] gnu: go-github-com-chris-ramon-douceur: " Sharlatan Hellseher
` (60 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-puerkitobio-goquery): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic0415a8b280ebd12086a5976c9765c1dbbf50bd2
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3c1abfff2c..8d8b4fb85c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,6 +2,8 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
@@ -131,6 +133,30 @@ (define-public go-github-com-gorilla-mux
incoming requests with their respective handler.")
(license license:bsd-3)))
+(define-public go-github-com-puerkitobio-goquery
+ (package
+ (name "go-github-com-puerkitobio-goquery")
+ (version "1.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/PuerkitoBio/goquery")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0gh1d99l5xc9hvwa4j40pfq3y9vfyq52mnrz6bf1kw2r2zr2gbcc"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/PuerkitoBio/goquery"))
+ (propagated-inputs
+ (list go-github-com-andybalholm-cascadia go-golang-org-x-net))
+ (home-page "https://github.com/PuerkitoBio/goquery")
+ (synopsis "Features similar to jQuery to the Go language")
+ (description "@code{goquery} brings a syntax and a set of features similar
+to jQuery to the Go language.")
+ (license license:bsd-3)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 580fe36486..6df57cc87c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9203,30 +9203,6 @@ (define-public go-github-com-alecthomas-chroma
converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
(license license:expat)))
-(define-public go-github-com-puerkitobio-goquery
- (package
- (name "go-github-com-puerkitobio-goquery")
- (version "1.7.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/PuerkitoBio/goquery")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0gh1d99l5xc9hvwa4j40pfq3y9vfyq52mnrz6bf1kw2r2zr2gbcc"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/PuerkitoBio/goquery"))
- (propagated-inputs
- (list go-github-com-andybalholm-cascadia go-golang-org-x-net))
- (home-page "https://github.com/PuerkitoBio/goquery")
- (synopsis "Features similar to jQuery to the Go language")
- (description "@code{goquery} brings a syntax and a set of features similar
-to jQuery to the Go language.")
- (license license:bsd-3)))
-
(define-public go-github-com-jmespath-go-jmespath
(package
(name "go-github-com-jmespath-go-jmespath")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 07/67] gnu: go-github-com-chris-ramon-douceur: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (4 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 06/67] gnu: go-github-com-puerkitobio-goquery: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 08/67] gnu: go-github-com-gorilla-websocket: " Sharlatan Hellseher
` (59 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-chris-ramon-douceur): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I9d0fdccc4ff557870dad60e9ac062ccb2e995979
---
gnu/packages/golang-web.scm | 30 +++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 28 ----------------------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 8d8b4fb85c..79a69bc842 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
-;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
@@ -88,6 +88,34 @@ (define-public go-github-com-aymerick-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-chris-ramon-douceur
+ (package
+ (name "go-github-com-chris-ramon-douceur")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/chris-ramon/douceur")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/chris-ramon/douceur"))
+ (propagated-inputs
+ (list go-github-com-aymerick-douceur
+ go-github-com-gorilla-css))
+ (native-inputs
+ (list go-github-com-puerkitobio-goquery
+ go-github-com-andybalholm-cascadia
+ go-golang-org-x-net))
+ (home-page "https://github.com/chris-ramon/douceur/")
+ (synopsis "CSS parser and inliner")
+ (description "This package provides a CSS parser and inliner.")
+ (license license:expat)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6df57cc87c..c34c075806 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9230,34 +9230,6 @@ (define-public go-github-com-jmespath-go-jmespath
transforms one JSON document into another through a JMESPath expression.")
(license license:asl2.0)))
-(define-public go-github-com-chris-ramon-douceur
- (package
- (name "go-github-com-chris-ramon-douceur")
- (version "0.2.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/chris-ramon/douceur")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/chris-ramon/douceur"))
- (propagated-inputs
- (list go-github-com-aymerick-douceur
- go-github-com-gorilla-css))
- (native-inputs
- (list go-github-com-puerkitobio-goquery
- go-github-com-andybalholm-cascadia
- go-golang-org-x-net))
- (home-page "https://github.com/chris-ramon/douceur/")
- (synopsis "CSS parser and inliner")
- (description "This package provides a CSS parser and inliner.")
- (license license:expat)))
-
(define-public go-github-com-microcosm-cc-bluemonday
(package
(name "go-github-com-microcosm-cc-bluemonday")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 08/67] gnu: go-github-com-gorilla-websocket: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (5 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 07/67] gnu: go-github-com-chris-ramon-douceur: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 09/67] gnu: go-github-com-sourcegraph-jsonrpc2: " Sharlatan Hellseher
` (58 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-websocket): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/ipfs.scm: Add (gnu packages golang-web) module.
Change-Id: I844738ec0b178a6a1746b01659c93a20919c2736
---
gnu/packages/golang-web.scm | 23 +++++++++++++++++++++++
gnu/packages/golang.scm | 21 ---------------------
gnu/packages/ipfs.scm | 1 +
3 files changed, 24 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 79a69bc842..0ca70cec38 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2022 muradm <mail@muradm.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -161,6 +162,28 @@ (define-public go-github-com-gorilla-mux
incoming requests with their respective handler.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-websocket
+ (package
+ (name "go-github-com-gorilla-websocket")
+ (version "1.5.0")
+ (home-page "https://github.com/gorilla/websocket")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xrr6snvs9g1nzxxg05w4i4pq6k1xjljl5mvavd838qc468n118i"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/gorilla/websocket"))
+ (synopsis "Fast WebSocket implementation for Go")
+ (description "Gorilla WebSocket is a Go implementation of the WebSocket
+protocol.")
+ (license license:bsd-2)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c34c075806..ed65b5d978 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12646,27 +12646,6 @@ (define-public go-github-com-google-shlex
using shell-style rules for quoting and commenting.")
(license license:asl2.0)))
-(define-public go-github-com-gorilla-websocket
- (package
- (name "go-github-com-gorilla-websocket")
- (version "1.5.0")
- (home-page "https://github.com/gorilla/websocket")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1xrr6snvs9g1nzxxg05w4i4pq6k1xjljl5mvavd838qc468n118i"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/gorilla/websocket"))
- (synopsis "Fast WebSocket implementation for Go")
- (description "Gorilla WebSocket is a Go implementation of the WebSocket protocol.")
- (license license:bsd-2)))
-
(define-public go-github-com-sourcegraph-jsonrpc2
(package
(name "go-github-com-sourcegraph-jsonrpc2")
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index a4c0613e40..fc66582c8a 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -30,6 +30,7 @@ (define-module (gnu packages ipfs)
#:use-module (guix build-system go)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages python)
#:use-module (gnu packages shells)
#:use-module (gnu packages syncthing))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 09/67] gnu: go-github-com-sourcegraph-jsonrpc2: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (6 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 08/67] gnu: go-github-com-gorilla-websocket: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 10/67] gnu: go-github-com-gorilla-handlers: " Sharlatan Hellseher
` (57 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-sourcegraph-jsonrpc2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/databases.scm: Add (gnu packages golang-web) module.
Change-Id: Idda2e18ae5d3e19f72265bdd017eadddc25bcad9
---
gnu/packages/databases.scm | 1 +
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
3 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 3eeee9fadf..5df8ea2bb8 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -108,6 +108,7 @@ (define-module (gnu packages databases)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages gperf)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 0ca70cec38..f9e7039707 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -208,6 +208,32 @@ (define-public go-github-com-puerkitobio-goquery
to jQuery to the Go language.")
(license license:bsd-3)))
+(define-public go-github-com-sourcegraph-jsonrpc2
+ (package
+ (name "go-github-com-sourcegraph-jsonrpc2")
+ (version "0.1.0")
+ (home-page "https://github.com/sourcegraph/jsonrpc2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dk0w32k96vxrwnmm24wqx337dn8ylch65qwrbc3wh7whw2xx71q"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/sourcegraph/jsonrpc2"))
+ (propagated-inputs
+ (list go-github-com-daviddengcn-go-colortext
+ go-github-com-gorilla-websocket
+ go-github-com-motemen-go-colorine))
+ (synopsis "Provides a client and server implementation of JSON-RPC 2.0")
+ (description
+ "Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ed65b5d978..5e7d321a2b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12646,32 +12646,6 @@ (define-public go-github-com-google-shlex
using shell-style rules for quoting and commenting.")
(license license:asl2.0)))
-(define-public go-github-com-sourcegraph-jsonrpc2
- (package
- (name "go-github-com-sourcegraph-jsonrpc2")
- (version "0.1.0")
- (home-page "https://github.com/sourcegraph/jsonrpc2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1dk0w32k96vxrwnmm24wqx337dn8ylch65qwrbc3wh7whw2xx71q"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/sourcegraph/jsonrpc2"))
- (propagated-inputs
- (list
- go-github-com-daviddengcn-go-colortext
- go-github-com-motemen-go-colorine
- go-github-com-gorilla-websocket))
- (synopsis "Provides a client and server implementation of JSON-RPC 2.0")
- (description
- "Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
- (license license:expat)))
-
(define-public go-github-com-disintegration-imaging
(package
(name "go-github-com-disintegration-imaging")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 10/67] gnu: go-github-com-gorilla-handlers: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (7 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 09/67] gnu: go-github-com-sourcegraph-jsonrpc2: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 11/67] gnu: go-github-com-gorilla-handlers: Remove input labels Sharlatan Hellseher
` (56 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-handlers): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/backup.scm: Add (gnu packages golang-web) module.
Change-Id: I7535bdecc681e230f4aee70115a3dea847d40e6f
---
gnu/packages/backup.scm | 1 +
gnu/packages/golang-web.scm | 28 +++++++++++++++++++++++++++-
gnu/packages/golang.scm | 26 --------------------------
3 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 12c4a45b9d..8e0a782f91 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -71,6 +71,7 @@ (define-module (gnu packages backup)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages gperf)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index f9e7039707..0480f648eb 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,9 +1,10 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
-;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
;;;
@@ -139,6 +140,31 @@ (define-public go-github-com-gorilla-css
(description "This package provides a CSS3 tokenizer.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-handlers
+ (package
+ (name "go-github-com-gorilla-handlers")
+ (version "1.5.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/handlers")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
+ (arguments
+ '(#:tests? #f ; Tries to download from the internet
+ #:import-path "github.com/gorilla/handlers"))
+ (home-page "https://github.com/gorilla/handlers")
+ (synopsis "Middleware for Go HTTP services and web applications")
+ (description "A collection of useful middleware for Go HTTP services and
+web applications.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-mux
(package
(name "go-github-com-gorilla-mux")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5e7d321a2b..243fd2f798 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4706,32 +4706,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-handlers
- (package
- (name "go-github-com-gorilla-handlers")
- (version "1.5.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/handlers")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
- (build-system go-build-system)
- (propagated-inputs
- `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
- (arguments
- '(#:tests? #f ; Tries to download from the internet
- #:import-path "github.com/gorilla/handlers"))
- (home-page "https://github.com/gorilla/handlers")
- (synopsis "Middleware for Go HTTP services and web applications")
- (description "A collection of useful middleware for Go HTTP services
-and web applications.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-securecookie
(package
(name "go-github-com-gorilla-securecookie")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 11/67] gnu: go-github-com-gorilla-handlers: Remove input labels.
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (8 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 10/67] gnu: go-github-com-gorilla-handlers: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 12/67] gnu: go-github-com-felixge-httpsnoop: Move to (gnu packages golang-web) Sharlatan Hellseher
` (55 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-gorilla-handlers): Remove labels.
Change-Id: I955408970a64d03823327912fdafcac5d7fbda93
---
gnu/packages/golang-web.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 0480f648eb..3a3c5f9621 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -154,11 +154,11 @@ (define-public go-github-com-gorilla-handlers
(sha256
(base32 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
(build-system go-build-system)
- (propagated-inputs
- `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
(arguments
'(#:tests? #f ; Tries to download from the internet
#:import-path "github.com/gorilla/handlers"))
+ (propagated-inputs
+ (list go-github-com-felixge-httpsnoop))
(home-page "https://github.com/gorilla/handlers")
(synopsis "Middleware for Go HTTP services and web applications")
(description "A collection of useful middleware for Go HTTP services and
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 12/67] gnu: go-github-com-felixge-httpsnoop: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (9 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 11/67] gnu: go-github-com-gorilla-handlers: Remove input labels Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 13/67] gnu: go-github-com-gorilla-securecookie: " Sharlatan Hellseher
` (54 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-felixge-httpsnoop): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic2494b3e45c934ecddaa621f00f474b9079dc5ed
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3a3c5f9621..c0ceb5b7ce 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -118,6 +118,30 @@ (define-public go-github-com-chris-ramon-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-felixge-httpsnoop
+ (package
+ (name "go-github-com-felixge-httpsnoop")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/felixge/httpsnoop")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/felixge/httpsnoop"))
+ (home-page "https://github.com/felixge/httpsnoop/")
+ (synopsis "Capture http related metrics")
+ (description
+ "Httpsnoop provides an easy way to capture http related
+metrics (i.e. response time, bytes written, and http status code) from your
+application's http.Handlers.")
+ (license license:expat)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 243fd2f798..ade98626c8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4984,31 +4984,6 @@ (define-public go-github-com-spf13-viper
all types of configuration needs and formats.")
(license license:expat)))
-(define-public go-github-com-felixge-httpsnoop
- (package
- (name "go-github-com-felixge-httpsnoop")
- (version "1.0.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/felixge/httpsnoop")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/felixge/httpsnoop"))
- (home-page "https://github.com/felixge/httpsnoop/")
- (synopsis "Capture http related metrics")
- (description
- "Httpsnoop provides an easy way to capture http related
-metrics (i.e. response time, bytes written, and http status code) from your
-application's http.Handlers.")
- (license license:expat)))
-
(define-public go-github-com-fsnotify-fsnotify
(package
(name "go-github-com-fsnotify-fsnotify")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 13/67] gnu: go-github-com-gorilla-securecookie: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (10 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 12/67] gnu: go-github-com-felixge-httpsnoop: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 14/67] gnu: go-github-com-gorilla-sessions: " Sharlatan Hellseher
` (53 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-securecookie): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iae8beed5e7a099033585bcab33cd42d237d2746d
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c0ceb5b7ce..1a77e0f6f2 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -212,6 +212,30 @@ (define-public go-github-com-gorilla-mux
incoming requests with their respective handler.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-securecookie
+ (package
+ (name "go-github-com-gorilla-securecookie")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/securecookie")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/securecookie"))
+ (home-page "https://github.com/gorilla/securecookie")
+ (synopsis "Encodes and decodes authenticated and optionally encrypted
+cookie values")
+ (description
+ "Gorilla/securecookie encodes and decodes authenticated and optionally
+encrypted cookie values for Go web applications.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ade98626c8..3fd20ec3c0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4706,31 +4706,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-securecookie
- (package
- (name "go-github-com-gorilla-securecookie")
- (version "1.1.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/securecookie")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/securecookie"))
- (home-page "https://github.com/gorilla/securecookie")
- (synopsis "Encodes and decodes authenticated and optionally encrypted
-cookie values")
- (description
- "Gorilla/securecookie encodes and decodes authenticated and optionally
-encrypted cookie values for Go web applications.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-sessions
(package
(name "go-github-com-gorilla-sessions")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 14/67] gnu: go-github-com-gorilla-sessions: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (11 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 13/67] gnu: go-github-com-gorilla-securecookie: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 15/67] gnu: go-github-com-jcmturner-gokrb5-v8: " Sharlatan Hellseher
` (52 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-sessions): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic4cc128724583a7c50102e476c6b96ea4e322bdd
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1a77e0f6f2..971b370115 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -236,6 +237,32 @@ (define-public go-github-com-gorilla-securecookie
encrypted cookie values for Go web applications.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-sessions
+ (package
+ (name "go-github-com-gorilla-sessions")
+ (version "1.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/sessions")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zjw2s37yggk9231db0vmgs67z8m3am8i8l4gpgz6fvlbv52baxp"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/sessions"))
+ (propagated-inputs
+ (list go-github-com-gorilla-securecookie))
+ (home-page "https://github.com/gorilla/sessions")
+ (synopsis "Manage user sessions in web applications")
+ (description
+ "This package that provides infrastructure for creating and managing user
+sessions in web applications. It supports cookie and filesystem-based
+sessions, flash messages, custom backends, and more.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3fd20ec3c0..a8d35b866c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4706,31 +4706,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-sessions
- (package
- (name "go-github-com-gorilla-sessions")
- (version "1.2.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/sessions")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1zjw2s37yggk9231db0vmgs67z8m3am8i8l4gpgz6fvlbv52baxp"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/sessions"))
- (propagated-inputs (list go-github-com-gorilla-securecookie))
- (home-page "https://github.com/gorilla/sessions")
- (synopsis "Manage user sessions in web applications")
- (description
- "This package that provides infrastructure for creating and
-managing user sessions in web applications. It supports cookie and
-filesystem-based sessions, flash messages, custom backends, and more.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-csrf
(package
(name "go-github-com-gorilla-csrf")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 15/67] gnu: go-github-com-jcmturner-gokrb5-v8: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (12 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 14/67] gnu: go-github-com-gorilla-sessions: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 16/67] gnu: go-github-com-jcmturner-gokrb5-v8: Adjust inputs Sharlatan Hellseher
` (51 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-jcmturner-gokrb5-v8): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ie7833a1f5712cc3899fd140741774e6b71f03967
---
gnu/packages/golang-web.scm | 52 ++++++++++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 48 ----------------------------------
2 files changed, 51 insertions(+), 49 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 971b370115..ae10a86551 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -30,7 +30,8 @@ (define-module (gnu packages golang-web)
#:use-module (guix build-system go)
#:use-module (guix git-download)
#:use-module (gnu packages)
- #:use-module (gnu packages golang))
+ #:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-check))
;;; Commentary:
;;;
@@ -285,6 +286,55 @@ (define-public go-github-com-gorilla-websocket
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-jcmturner-gokrb5-v8
+ (package
+ (name "go-github-com-jcmturner-gokrb5-v8")
+ (version "8.4.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jcmturner/gokrb5")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0w9d1pa3r6qmdblk25bghf78ncs03l15l1sxnh4n536c356rzq4b"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jcmturner/gokrb5/v8"
+ #:unpack-path "github.com/jcmturner/gokrb5"))
+ (propagated-inputs
+ (list go-github-com-gorilla-sessions
+ go-github-com-hashicorp-go-uuid
+ go-github-com-jcmturner-aescts-v2
+ go-github-com-jcmturner-dnsutils-v2
+ go-github-com-jcmturner-gofork
+ go-github-com-jcmturner-goidentity-v6
+ go-github-com-jcmturner-rpc-v2-mstypes
+ go-github-com-jcmturner-rpc-v2-ndr
+ go-github-com-stretchr-testify
+ go-golang-org-x-crypto
+ go-golang-org-x-net))
+ (home-page "https://github.com/jcmturner/gokrb5")
+ (synopsis "Pure Go Kerberos library for clients and services")
+ (description "This package provides a pure Go Kerberos library. It
+features:
+@itemize
+@item Kerberos libraries for custom integration
+@item Parsing Keytab files
+@item Parsing krb5.conf files
+@item Parsing client credentials cache files such as /tmp/krb5cc_$(id -u $(whoami))
+@end itemize
+
+On the client side, it provides a client that can authenticate to an SPNEGO
+Kerberos authenticated web service, and the ability to change client's
+password.
+
+On the server side, the library provides a HTTP handler wrapper implements
+SPNEGO Kerberos authentication, as well as a HTTP handler wrapper decodes
+Microsoft AD PAC authorization data.")
+ (license license:asl2.0)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a8d35b866c..e65b8e2581 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1436,54 +1436,6 @@ (define-public go-github-com-jcmturner-gofork
arounds until issues are addressed in the official distribution.")
(license license:bsd-3)))
-(define-public go-github-com-jcmturner-gokrb5-v8
- (package
- (name "go-github-com-jcmturner-gokrb5-v8")
- (version "8.4.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jcmturner/gokrb5")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0w9d1pa3r6qmdblk25bghf78ncs03l15l1sxnh4n536c356rzq4b"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jcmturner/gokrb5/v8"
- #:unpack-path "github.com/jcmturner/gokrb5"))
- (propagated-inputs (list go-golang-org-x-net
- go-golang-org-x-crypto
- go-github-com-stretchr-testify
- go-github-com-jcmturner-rpc-v2-ndr
- go-github-com-jcmturner-rpc-v2-mstypes
- go-github-com-jcmturner-goidentity-v6
- go-github-com-jcmturner-gofork
- go-github-com-jcmturner-dnsutils-v2
- go-github-com-jcmturner-aescts-v2
- go-github-com-hashicorp-go-uuid
- go-github-com-gorilla-sessions))
- (home-page "https://github.com/jcmturner/gokrb5")
- (synopsis "Pure Go Kerberos library for clients and services")
- (description "This package provides a pure Go Kerberos library. It
-features:
-@itemize
-@item Kerberos libraries for custom integration
-@item Parsing Keytab files
-@item Parsing krb5.conf files
-@item Parsing client credentials cache files such as /tmp/krb5cc_$(id -u $(whoami))
-@end itemize
-
-On the client side, it provides a client that can authenticate to an SPNEGO
-Kerberos authenticated web service, and the ability to change client's
-password.
-
-On the server side, the library provides a HTTP handler wrapper implements
-SPNEGO Kerberos authentication, as well as a HTTP handler wrapper decodes
-Microsoft AD PAC authorization data.")
- (license license:asl2.0)))
-
(define-public go-github-com-jcmturner-rpc
(package
(name "go-github-com-jcmturner-rpc")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 16/67] gnu: go-github-com-jcmturner-gokrb5-v8: Adjust inputs.
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (13 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 15/67] gnu: go-github-com-jcmturner-gokrb5-v8: " Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 17/67] gnu: go-github-com-jcmturner-dnsutils-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
` (50 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-jcmturner-gokrb5-v8)
[propagated-inputs]: go-github-com-stretchr-testify move from here ...
[native-inputs]: ... to here.
Change-Id: I93be99c60c15ba7861dd909e8856c800f8cf8314
---
gnu/packages/golang-web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index ae10a86551..580877f8fe 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -303,6 +303,8 @@ (define-public go-github-com-jcmturner-gokrb5-v8
(arguments
'(#:import-path "github.com/jcmturner/gokrb5/v8"
#:unpack-path "github.com/jcmturner/gokrb5"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-gorilla-sessions
go-github-com-hashicorp-go-uuid
@@ -312,7 +314,6 @@ (define-public go-github-com-jcmturner-gokrb5-v8
go-github-com-jcmturner-goidentity-v6
go-github-com-jcmturner-rpc-v2-mstypes
go-github-com-jcmturner-rpc-v2-ndr
- go-github-com-stretchr-testify
go-golang-org-x-crypto
go-golang-org-x-net))
(home-page "https://github.com/jcmturner/gokrb5")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 17/67] gnu: go-github-com-jcmturner-dnsutils-v2: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (14 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 16/67] gnu: go-github-com-jcmturner-gokrb5-v8: Adjust inputs Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 18/67] gnu: go-github-com-jcmturner-dnsutils-v2: Adjust inputs Sharlatan Hellseher
` (49 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-jcmturner-dnsutils-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I65f87f8e8cd7970a15d3b1e09c5ef4202f0542db
---
gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 580877f8fe..9b2bcd7cbd 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -286,6 +286,34 @@ (define-public go-github-com-gorilla-websocket
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-jcmturner-dnsutils-v2
+ (package
+ (name "go-github-com-jcmturner-dnsutils-v2")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jcmturner/dnsutils")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "116zbgvfj88vv93fnapmmgyd5g8kzy774cdyzsnnzyzng92j61c9"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jcmturner/dnsutils/v2"))
+ (propagated-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/jcmturner/dnsutils")
+ (synopsis "Go library with DNS utils")
+ (description
+ "The dnsutils package provides a Go function to return a map of Service
+Records (SRV) in the order they should be used for a given service, protocol
+and name. The order is determined by the records' priority and randomized
+selection based on their relative weighting. This package is useful for
+network applications that require accessing services using SRV records.")
+ (license license:asl2.0)))
+
(define-public go-github-com-jcmturner-gokrb5-v8
(package
(name "go-github-com-jcmturner-gokrb5-v8")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e65b8e2581..20d3c378c4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1362,33 +1362,6 @@ (define-public go-github-com-jcmturner-aescts-v2
encryption and decryption methods.")
(license license:asl2.0)))
-(define-public go-github-com-jcmturner-dnsutils-v2
- (package
- (name "go-github-com-jcmturner-dnsutils-v2")
- (version "2.0.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jcmturner/dnsutils")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "116zbgvfj88vv93fnapmmgyd5g8kzy774cdyzsnnzyzng92j61c9"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jcmturner/dnsutils/v2"))
- (propagated-inputs (list go-github-com-stretchr-testify))
- (home-page "https://github.com/jcmturner/dnsutils")
- (synopsis "Go library with DNS utils")
- (description
- "The dnsutils package provides a Go function to return a map of Service
-Records (SRV) in the order they should be used for a given service, protocol
-and name. The order is determined by the records' priority and randomized
-selection based on their relative weighting. This package is useful for
-network applications that require accessing services using SRV records.")
- (license license:asl2.0)))
-
(define-public go-github-com-jcmturner-goidentity-v6
(package
(name "go-github-com-jcmturner-goidentity-v6")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 18/67] gnu: go-github-com-jcmturner-dnsutils-v2: Adjust inputs.
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (15 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 17/67] gnu: go-github-com-jcmturner-dnsutils-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 19/67] gnu: go-github-com-jcmturner-goidentity-v6: Move to (gnu packages golang-web) Sharlatan Hellseher
` (48 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-jcmturner-dnsutils-v2):
Swap propagated-inputs to native-inputs.
Change-Id: I1d02b45559214d72828a78437766cf7c1e06f1b0
---
gnu/packages/golang-web.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9b2bcd7cbd..6a832291ab 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -302,7 +302,7 @@ (define-public go-github-com-jcmturner-dnsutils-v2
(build-system go-build-system)
(arguments
'(#:import-path "github.com/jcmturner/dnsutils/v2"))
- (propagated-inputs
+ (native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/jcmturner/dnsutils")
(synopsis "Go library with DNS utils")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 19/67] gnu: go-github-com-jcmturner-goidentity-v6: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (16 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 18/67] gnu: go-github-com-jcmturner-dnsutils-v2: Adjust inputs Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 20/67] gnu: go-github-com-jcmturner-goidentity-v6: Adjust inputs Sharlatan Hellseher
` (47 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-jcmturner-goidentity-v6): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ibd9202efe7fc1002bc34376107a0e88872c888be
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 6a832291ab..751eb41b58 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -314,6 +314,30 @@ (define-public go-github-com-jcmturner-dnsutils-v2
network applications that require accessing services using SRV records.")
(license license:asl2.0)))
+(define-public go-github-com-jcmturner-goidentity-v6
+ (package
+ (name "go-github-com-jcmturner-goidentity-v6")
+ (version "6.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jcmturner/goidentity")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "064ysvxvrvij843s7qj1nkzl5qc6j1qbrsb3s0zmwd1sa7vq8q1n"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jcmturner/goidentity/v6"))
+ (propagated-inputs
+ (list go-github-com-stretchr-testify go-github-com-hashicorp-go-uuid))
+ (home-page "https://github.com/jcmturner/goidentity")
+ (synopsis "Hold authenticated identities and their attributes")
+ (description "This package provides a standard interface for holding
+authenticated identities and their attributes.")
+ (license license:asl2.0)))
+
(define-public go-github-com-jcmturner-gokrb5-v8
(package
(name "go-github-com-jcmturner-gokrb5-v8")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 20d3c378c4..7ad906ef54 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1362,30 +1362,6 @@ (define-public go-github-com-jcmturner-aescts-v2
encryption and decryption methods.")
(license license:asl2.0)))
-(define-public go-github-com-jcmturner-goidentity-v6
- (package
- (name "go-github-com-jcmturner-goidentity-v6")
- (version "6.0.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jcmturner/goidentity")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "064ysvxvrvij843s7qj1nkzl5qc6j1qbrsb3s0zmwd1sa7vq8q1n"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jcmturner/goidentity/v6"))
- (propagated-inputs
- (list go-github-com-stretchr-testify go-github-com-hashicorp-go-uuid))
- (home-page "https://github.com/jcmturner/goidentity")
- (synopsis "Hold authenticated identities and their attributes")
- (description "This package provides a standard interface for holding
-authenticated identities and their attributes.")
- (license license:asl2.0)))
-
(define-public go-github-com-jcmturner-gofork
(package
(name "go-github-com-jcmturner-gofork")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 20/67] gnu: go-github-com-jcmturner-goidentity-v6: Adjust inputs.
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (17 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 19/67] gnu: go-github-com-jcmturner-goidentity-v6: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 21/67] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web) Sharlatan Hellseher
` (46 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-jcmturner-goidentity-v6):
[propagated-inputs]: Move go-github-com-stretchr-testify from here ...
[native-inputs]: ... to here.
Change-Id: I1e7bd72b3bf1c0879426a6a4c5b3b1de1d316069
---
gnu/packages/golang-web.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 751eb41b58..8ced6a4c6f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -330,8 +330,10 @@ (define-public go-github-com-jcmturner-goidentity-v6
(build-system go-build-system)
(arguments
'(#:import-path "github.com/jcmturner/goidentity/v6"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
- (list go-github-com-stretchr-testify go-github-com-hashicorp-go-uuid))
+ (list go-github-com-hashicorp-go-uuid))
(home-page "https://github.com/jcmturner/goidentity")
(synopsis "Hold authenticated identities and their attributes")
(description "This package provides a standard interface for holding
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 21/67] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (18 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 20/67] gnu: go-github-com-jcmturner-goidentity-v6: Adjust inputs Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:40 ` [bug#66827] [PATCH 22/67] gnu: go-github-com-tdewolff-minify-v2: " Sharlatan Hellseher
` (45 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-csrf): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I77bcbdaf515152b95418f9e2632d810202a1e23a
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 26 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 8ced6a4c6f..5be08caf2e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -144,6 +144,32 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-gorilla-csrf
+ (package
+ (name "go-github-com-gorilla-csrf")
+ (version "1.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/csrf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
+ ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
+ (arguments
+ '(#:import-path "github.com/gorilla/csrf"))
+ (home-page "https://github.com/gorilla/csrf")
+ (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
+ (description
+ "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
+middleware for Go web applications and services.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7ad906ef54..4a7060f065 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4607,33 +4607,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-csrf
- (package
- (name "go-github-com-gorilla-csrf")
- (version "1.7.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/csrf")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
- (build-system go-build-system)
- (propagated-inputs
- `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
- ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
- (arguments
- '(#:import-path "github.com/gorilla/csrf"))
- (home-page "https://github.com/gorilla/csrf")
- (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
- (description
- "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
-middleware for Go web applications and services.")
- (license license:bsd-3)))
-
(define-public go-github-com-jonboulle-clockwork
(let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 22/67] gnu: go-github-com-tdewolff-minify-v2: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (19 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 21/67] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-08 0:40 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 23/67] gnu: go-github-com-tdewolff-parse-v2: " Sharlatan Hellseher
` (44 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:40 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-tdewolff-minify-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I4cee7a25e618cc7427d8669c4b17d028817e378f
---
gnu/packages/golang-web.scm | 43 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 40 ----------------------------------
2 files changed, 43 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 5be08caf2e..d82cac46b9 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
@@ -28,6 +29,7 @@ (define-module (gnu packages golang-web)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix build-system go)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
@@ -466,6 +468,47 @@ (define-public go-github-com-sourcegraph-jsonrpc2
"Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
(license license:expat)))
+(define-public go-github-com-tdewolff-minify-v2
+ (package
+ (name "go-github-com-tdewolff-minify-v2")
+ (version "2.12.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/minify")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qhslaq885zbqs83nvbi29yh09b89kkb6ycami8lz28wkwrlayap"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tdewolff/minify/v2"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'regenerate-hash
+ (lambda* (#:key import-path #:allow-other-keys)
+ (for-each
+ (lambda (dir)
+ (with-directory-excursion
+ (format #f "src/~a/~a" import-path dir)
+ (make-file-writable "hash.go")
+ (format #t "Generating `hash.go' for ~a...~%" dir)
+ (invoke "go" "generate")))
+ '("css" "html" "svg")))))))
+ (propagated-inputs
+ (list go-github-com-tdewolff-parse-v2))
+ (native-inputs
+ (list go-github-com-tdewolff-hasher
+ go-github-com-tdewolff-test))
+ (home-page "https://go.tacodewolff.nl/minify")
+ (synopsis "Go minifiers for web formats")
+ (description
+ "This package provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and
+an interface to implement any other minifier.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4a7060f065..70208b87b6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3436,46 +3436,6 @@ (define-public go-github-com-tdewolff-hasher
@code{string} to @code{uint32} mapper.")
(license license:bsd-3)))
-(define-public go-github-com-tdewolff-minify-v2
- (package
- (name "go-github-com-tdewolff-minify-v2")
- (version "2.12.7")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tdewolff/minify")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0qhslaq885zbqs83nvbi29yh09b89kkb6ycami8lz28wkwrlayap"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/tdewolff/minify/v2"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'regenerate-hash
- (lambda* (#:key import-path #:allow-other-keys)
- (for-each
- (lambda (dir)
- (with-directory-excursion
- (format #f "src/~a/~a" import-path dir)
- (make-file-writable "hash.go")
- (format #t "Generating `hash.go' for ~a...~%" dir)
- (invoke "go" "generate")))
- '("css" "html" "svg")))))))
- (propagated-inputs
- (list go-github-com-tdewolff-parse-v2))
- (native-inputs
- (list go-github-com-tdewolff-hasher
- go-github-com-tdewolff-test))
- (home-page "https://go.tacodewolff.nl/minify")
- (synopsis "Go minifiers for web formats")
- (description
- "This package provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and
-an interface to implement any other minifier.")
- (license license:expat)))
-
(define-public go-github-com-tdewolff-parse-v2
(package
(name "go-github-com-tdewolff-parse-v2")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 23/67] gnu: go-github-com-tdewolff-parse-v2: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (20 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 22/67] gnu: go-github-com-tdewolff-minify-v2: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 24/67] gnu: go-github-com-gorilla-context: " Sharlatan Hellseher
` (43 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-tdewolff-parse-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Id58c54359f1bf55c6fc8178ce142bf985858bb87
---
gnu/packages/golang-web.scm | 38 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 37 ------------------------------------
2 files changed, 38 insertions(+), 37 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d82cac46b9..9e68e96baf 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -509,6 +509,44 @@ (define-public go-github-com-tdewolff-minify-v2
an interface to implement any other minifier.")
(license license:expat)))
+(define-public go-github-com-tdewolff-parse-v2
+ (package
+ (name "go-github-com-tdewolff-parse-v2")
+ (version "2.6.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/parse")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dqki9ima079k9a3l72igmx5dml8qsl9z8rzw8a433f4gjhlv320"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tdewolff/parse/v2"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'regenerate-hash
+ (lambda* (#:key import-path #:allow-other-keys)
+ (for-each
+ (lambda (dir)
+ (with-directory-excursion
+ (format #f "src/~a/~a" import-path dir)
+ (make-file-writable "hash.go")
+ (format #t "Generating `hash.go' for ~a...~%" dir)
+ (invoke "go" "generate")))
+ '("css" "html")))))))
+ (native-inputs
+ (list go-github-com-tdewolff-hasher
+ go-github-com-tdewolff-test))
+ (home-page "https://github.com/tdewolff/parse")
+ (synopsis "Go parsers for web formats")
+ (description
+ "This package contains several lexers and parsers written in Go.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 70208b87b6..c4ae0091d2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3436,43 +3436,6 @@ (define-public go-github-com-tdewolff-hasher
@code{string} to @code{uint32} mapper.")
(license license:bsd-3)))
-(define-public go-github-com-tdewolff-parse-v2
- (package
- (name "go-github-com-tdewolff-parse-v2")
- (version "2.6.6")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tdewolff/parse")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1dqki9ima079k9a3l72igmx5dml8qsl9z8rzw8a433f4gjhlv320"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/tdewolff/parse/v2"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'regenerate-hash
- (lambda* (#:key import-path #:allow-other-keys)
- (for-each
- (lambda (dir)
- (with-directory-excursion
- (format #f "src/~a/~a" import-path dir)
- (make-file-writable "hash.go")
- (format #t "Generating `hash.go' for ~a...~%" dir)
- (invoke "go" "generate")))
- '("css" "html")))))))
- (native-inputs
- (list go-github-com-tdewolff-hasher
- go-github-com-tdewolff-test))
- (home-page "https://github.com/tdewolff/parse")
- (synopsis "Go parsers for web formats")
- (description
- "This package contains several lexers and parsers written in Go.")
- (license license:expat)))
-
(define-public go-github-com-tj-docopt
(package
(name "go-github-com-tj-docopt")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 24/67] gnu: go-github-com-gorilla-context: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (21 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 23/67] gnu: go-github-com-tdewolff-parse-v2: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 25/67] gnu: go-github-com-microcosm-cc-bluemonday: " Sharlatan Hellseher
` (42 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-gorilla-context): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I22ba5493a48fe619ef2aca185c559da3a81f8d81
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9e68e96baf..012ed0429c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -146,6 +146,32 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-gorilla-context
+ (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
+ (revision "0"))
+ (package
+ (name "go-github-com-gorilla-context")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/context")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/context"))
+ (home-page "https://github.com/gorilla/context")
+ (synopsis "Go registry for request variables")
+ (description
+ "This package provides @code{gorilla/context}, which is a general
+purpose registry for global request variables in the Go programming
+language.")
+ (license license:bsd-3))))
+
(define-public go-github-com-gorilla-csrf
(package
(name "go-github-com-gorilla-csrf")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c4ae0091d2..a3d5fb0f6b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4480,30 +4480,6 @@ (define-public go-github-com-google-cadvisor
containers.")
(license license:asl2.0))))
-(define-public go-github-com-gorilla-context
- (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
- (revision "0"))
- (package
- (name "go-github-com-gorilla-context")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/context")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/context"))
- (home-page "https://github.com/gorilla/context")
- (synopsis "Go registry for request variables")
- (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
- (license license:bsd-3))))
-
(define-public go-github-com-andybalholm-brotli
(package
(name "go-github-com-andybalholm-brotli")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 25/67] gnu: go-github-com-microcosm-cc-bluemonday: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (22 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 24/67] gnu: go-github-com-gorilla-context: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 26/67] gnu: go-github-com-google-safehtml: " Sharlatan Hellseher
` (41 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-microcosm-cc-bluemonday): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ie5122f8afb2a29574c0e0bb5eb96665ecb77176b
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 012ed0429c..117742dc07 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -444,6 +444,30 @@ (define-public go-github-com-jcmturner-gokrb5-v8
Microsoft AD PAC authorization data.")
(license license:asl2.0)))
+(define-public go-github-com-microcosm-cc-bluemonday
+ (package
+ (name "go-github-com-microcosm-cc-bluemonday")
+ (version "1.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/microcosm-cc/bluemonday")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/microcosm-cc/bluemonday"))
+ (propagated-inputs
+ (list go-github-com-chris-ramon-douceur
+ go-golang-org-x-net))
+ (home-page "https://github.com/microcosm-cc/bluemonday/")
+ (synopsis "HTML sanitizer")
+ (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
+ (license license:bsd-3)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a3d5fb0f6b..936e9203b3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8902,30 +8902,6 @@ (define-public go-github-com-jmespath-go-jmespath
transforms one JSON document into another through a JMESPath expression.")
(license license:asl2.0)))
-(define-public go-github-com-microcosm-cc-bluemonday
- (package
- (name "go-github-com-microcosm-cc-bluemonday")
- (version "1.0.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/microcosm-cc/bluemonday")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/microcosm-cc/bluemonday"))
- (propagated-inputs
- (list go-github-com-chris-ramon-douceur
- go-golang-org-x-net))
- (home-page "https://github.com/microcosm-cc/bluemonday/")
- (synopsis "HTML sanitizer")
- (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
- (license license:bsd-3)))
-
(define-public go-github-com-muesli-reflow-wordwrap
(package
(name "go-github-com-muesli-reflow-wordwrap")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 26/67] gnu: go-github-com-google-safehtml: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (23 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 25/67] gnu: go-github-com-microcosm-cc-bluemonday: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 27/67] gnu: go-github-com-google-safehtml: Remove input labels Sharlatan Hellseher
` (40 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-google-safehtml): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ia1f14486f262d3695077c8e2f409f4928874c4f8
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 117742dc07..ce95d1b467 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
@@ -146,6 +147,31 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-google-safehtml
+ (package
+ (name "go-github-com-google-safehtml")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/safehtml")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/google/safehtml"))
+ (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text)))
+ (home-page "https://github.com/google/safehtml")
+ (synopsis "Safe HTML for Go")
+ (description
+ "Package safehtml provides immutable string-like types which represent
+values that are guaranteed to be safe, by construction or by escaping or
+sanitization, to use in various HTML contexts and with various DOM APIs.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-context
(let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 936e9203b3..92f3f90d36 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12247,31 +12247,6 @@ (define-public go-github-com-google-go-jsonnet
implementation.")
(license license:asl2.0)))
-(define-public go-github-com-google-safehtml
- (package
- (name "go-github-com-google-safehtml")
- (version "0.1.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/google/safehtml")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/google/safehtml"))
- (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text)))
- (home-page "https://github.com/google/safehtml")
- (synopsis "Safe HTML for Go")
- (description
- "Package safehtml provides immutable string-like types which represent values
-that are guaranteed to be safe, by construction or by escaping or sanitization,
-to use in various HTML contexts and with various DOM APIs.")
- (license license:bsd-3)))
-
(define-public go-github-com-google-shlex
(package
(name "go-github-com-google-shlex")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 27/67] gnu: go-github-com-google-safehtml: Remove input labels.
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (24 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 26/67] gnu: go-github-com-google-safehtml: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 28/67] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web) Sharlatan Hellseher
` (39 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web (go-github-com-google-safehtml): Remove labels.
Change-Id: I20f5748496988c9e64fa0783bb51507c6cfa933e
---
gnu/packages/golang-web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index ce95d1b467..9aa3fe8233 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -163,7 +163,8 @@ (define-public go-github-com-google-safehtml
(build-system go-build-system)
(arguments
'(#:import-path "github.com/google/safehtml"))
- (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text)))
+ (propagated-inputs
+ (list go-golang-org-x-text))
(home-page "https://github.com/google/safehtml")
(synopsis "Safe HTML for Go")
(description
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 28/67] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (25 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 27/67] gnu: go-github-com-google-safehtml: Remove input labels Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 29/67] gnu: go-gopkg-in-square-go-jose-v2: " Sharlatan Hellseher
` (38 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-bep-golibsass): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I514ae05a8c04eea2084cbcb7e4d84c83b6b71bb4
---
gnu/packages/golang-web.scm | 61 ++++++++++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 58 -----------------------------------
2 files changed, 60 insertions(+), 59 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9aa3fe8233..72f2a7d84c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
@@ -34,7 +35,8 @@ (define-module (gnu packages golang-web)
#:use-module (guix git-download)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
- #:use-module (gnu packages golang-check))
+ #:use-module (gnu packages golang-check)
+ #:use-module (gnu packages web))
;;; Commentary:
;;;
@@ -95,6 +97,63 @@ (define-public go-github-com-aymerick-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-bep-golibsass
+ (package
+ (name "go-github-com-bep-golibsass")
+ (version "0.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bep/golibsass")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "libsass_src")
+ #t))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/bep/golibsass/libsass"
+ #:unpack-path "github.com/bep/golibsass"
+ ;; The dev build tag modifies the build to link to system libsass
+ ;; instead of including the bundled one (which we remove.)
+ ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
+ #:build-flags '("-tags" "dev")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-bindings
+ ;; Generate bindings for system libsass, replacing the
+ ;; pre-generated bindings.
+ (lambda* (#:key inputs unpack-path #:allow-other-keys)
+ (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
+ (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
+ (substitute* (string-append "src/" unpack-path "/gen/main.go")
+ (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
+ (string-append "\"" libsass-src "\""))
+ (("../../libsass_src/src/")
+ libsass-src)))
+ (invoke "go" "generate" (string-append unpack-path "/gen"))
+ #t))
+ (replace 'check
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ (if tests?
+ (invoke "go" "test" import-path "-tags" "dev"))
+ #t)))))
+ (propagated-inputs
+ (list libsass))
+ (native-inputs
+ `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
+ ("libsass-src" ,(package-source libsass))))
+ (home-page "https://github.com/bep/golibsass")
+ (synopsis "Easy to use Go bindings for LibSass")
+ (description
+ "This package provides SCSS compiler support for Go applications.")
+ (license license:expat)))
+
(define-public go-github-com-chris-ramon-douceur
(package
(name "go-github-com-chris-ramon-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 92f3f90d36..e7316f9923 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10245,64 +10245,6 @@ (define-public go-github-com-gologme-log
additions.")
(license license:bsd-3))))
-(define-public go-github-com-bep-golibsass
- (package
- (name "go-github-com-bep-golibsass")
- (version "0.7.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/bep/golibsass")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file-recursively "libsass_src")
- #t))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/bep/golibsass/libsass"
- #:unpack-path "github.com/bep/golibsass"
- ;; The dev build tag modifies the build to link to system libsass
- ;; instead of including the bundled one (which we remove.)
- ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
- #:build-flags '("-tags" "dev")
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'generate-bindings
- ;; Generate bindings for system libsass, replacing the
- ;; pre-generated bindings.
- (lambda* (#:key inputs unpack-path #:allow-other-keys)
- (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
- (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
- (substitute* (string-append "src/" unpack-path "/gen/main.go")
- (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
- (string-append "\"" libsass-src "\""))
- (("../../libsass_src/src/")
- libsass-src)))
- (invoke "go" "generate" (string-append unpack-path "/gen"))
- #t))
- (replace 'check
- (lambda* (#:key tests? import-path #:allow-other-keys)
- (if tests?
- (invoke "go" "test" import-path "-tags" "dev"))
- #t)))))
- (propagated-inputs
- (list libsass))
- (native-inputs
- `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
- ("libsass-src" ,(package-source libsass))))
- (home-page "https://github.com/bep/golibsass")
- (synopsis "Easy to use Go bindings for LibSass")
- (description
- "This package provides SCSS compiler support for Go applications.")
- (license license:expat)))
-
(define-public go-github-com-hashicorp-go-syslog
(package
(name "go-github-com-hashicorp-go-syslog")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 29/67] gnu: go-gopkg-in-square-go-jose-v2: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (26 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 28/67] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 30/67] gnu: go-github-com-coreos-go-oidc: " Sharlatan Hellseher
` (37 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-gopkg-in-square-go-jose-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ifdc5b240c2f3af874d6b4b8b0422dfd9326348a3
---
gnu/packages/golang-web.scm | 29 +++++++++++++++++++++++++++++
gnu/packages/golang.scm | 29 -----------------------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 72f2a7d84c..976179f44e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -683,6 +683,35 @@ (define-public go-github-com-tdewolff-parse-v2
"This package contains several lexers and parsers written in Go.")
(license license:expat)))
+(define-public go-gopkg-in-square-go-jose-v2
+ (package
+ (name "go-gopkg-in-square-go-jose-v2")
+ (version "2.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/square/go-jose")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1b1nhqxfmhzwrfk7pkvp2w3z3d0pf5ir00vizmy2d4xdbnldn70r"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "gopkg.in/square/go-jose.v2"))
+ (propagated-inputs
+ (list go-golang-org-x-crypto))
+ (native-inputs
+ (list go-github-com-google-go-cmp-cmp
+ go-github-com-stretchr-testify))
+ (home-page "https://gopkg.in/square/go-jose.v2")
+ (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go")
+ (description
+ "This package aims to provide an implementation of the Javascript Object
+Signing and Encryption set of standards. This includes support for JSON Web
+Encryption, JSON Web Signature, and JSON Web Token standards.")
+ (license license:asl2.0)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e7316f9923..8b8e80c0f8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3222,35 +3222,6 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
-(define-public go-gopkg-in-square-go-jose-v2
- (package
- (name "go-gopkg-in-square-go-jose-v2")
- (version "2.6.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/square/go-jose")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1b1nhqxfmhzwrfk7pkvp2w3z3d0pf5ir00vizmy2d4xdbnldn70r"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "gopkg.in/square/go-jose.v2"))
- (propagated-inputs
- (list go-golang-org-x-crypto))
- (native-inputs
- (list go-github-com-google-go-cmp-cmp
- go-github-com-stretchr-testify))
- (home-page "https://gopkg.in/square/go-jose.v2")
- (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go")
- (description
- "This package aims to provide an implementation of the Javascript Object
-Signing and Encryption set of standards. This includes support for JSON Web
-Encryption, JSON Web Signature, and JSON Web Token standards.")
- (license license:asl2.0)))
-
(define-public go-github-com-go-jose-go-jose-v3
(package
(inherit go-gopkg-in-square-go-jose-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 30/67] gnu: go-github-com-coreos-go-oidc: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (27 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 29/67] gnu: go-gopkg-in-square-go-jose-v2: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 31/67] gnu: go-github-com-coreos-go-oidc-v3: " Sharlatan Hellseher
` (36 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-coreos-go-oidc): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iadefbc9c3df2aa291a3eb4c8cc31a5fdf562e138
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 976179f44e..792406ab97 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -182,6 +182,33 @@ (define-public go-github-com-chris-ramon-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-coreos-go-oidc
+ (package
+ (name "go-github-com-coreos-go-oidc")
+ (version "2.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/coreos/go-oidc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "11m6slbpi33ynffml7812piq4anhjlf1qszjlsf26f5y7x3qh8n5"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/coreos/go-oidc"))
+ (propagated-inputs
+ (list go-github-com-pquerna-cachecontrol
+ go-golang-org-x-oauth2
+ go-gopkg-in-square-go-jose-v2))
+ (home-page "https://github.com/coreos/go-oidc")
+ (synopsis "OpenID Connect support for Go")
+ (description
+ "This package enables OpenID Connect support for the
+@code{go-golang-org-x-oauth2} package.")
+ (license license:asl2.0)))
+
(define-public go-github-com-felixge-httpsnoop
(package
(name "go-github-com-felixge-httpsnoop")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8b8e80c0f8..a58b558f5f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9116,33 +9116,6 @@ (define-public go-github-com-charmbracelet-glamour
use one of our glamorous default themes.")
(license license:expat)))
-(define-public go-github-com-coreos-go-oidc
- (package
- (name "go-github-com-coreos-go-oidc")
- (version "2.2.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/coreos/go-oidc")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "11m6slbpi33ynffml7812piq4anhjlf1qszjlsf26f5y7x3qh8n5"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/coreos/go-oidc"))
- (propagated-inputs
- (list go-github-com-pquerna-cachecontrol
- go-golang-org-x-oauth2
- go-gopkg-in-square-go-jose-v2))
- (home-page "https://github.com/coreos/go-oidc")
- (synopsis "OpenID Connect support for Go")
- (description
- "This package enables OpenID Connect support for the
-@code{go-golang-org-x-oauth2} package.")
- (license license:asl2.0)))
-
(define-public go-github-com-coreos-go-oidc-v3
(package
(inherit go-github-com-coreos-go-oidc)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 31/67] gnu: go-github-com-coreos-go-oidc-v3: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (28 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 30/67] gnu: go-github-com-coreos-go-oidc: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 32/67] gnu: go-github-com-aws-sdk: " Sharlatan Hellseher
` (35 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-coreos-go-oidc-v3): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: If049d6172219bf144d3f30877f3c9f5138bcc78c
---
gnu/packages/golang-web.scm | 22 ++++++++++++++++++++++
gnu/packages/golang.scm | 22 ----------------------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 792406ab97..0219ffb5e5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -209,6 +209,28 @@ (define-public go-github-com-coreos-go-oidc
@code{go-golang-org-x-oauth2} package.")
(license license:asl2.0)))
+(define-public go-github-com-coreos-go-oidc-v3
+ (package
+ (inherit go-github-com-coreos-go-oidc)
+ (name "go-github-com-coreos-go-oidc-v3")
+ (version "3.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/coreos/go-oidc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1sbm6n3lp48lymn0g921afhq2j6inb38w3wy5rhyx9h8gpzhnxx9"))))
+ (arguments
+ (list ;; no Go files in [...]/src/github.com/coreos/go-oidc/v3.
+ #:import-path "github.com/coreos/go-oidc/v3/oidc"
+ #:unpack-path "github.com/coreos/go-oidc/v3"))
+ (propagated-inputs
+ (list go-github-com-go-jose-go-jose-v3
+ go-golang-org-x-oauth2))))
+
(define-public go-github-com-felixge-httpsnoop
(package
(name "go-github-com-felixge-httpsnoop")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a58b558f5f..20a1d7ae18 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9116,28 +9116,6 @@ (define-public go-github-com-charmbracelet-glamour
use one of our glamorous default themes.")
(license license:expat)))
-(define-public go-github-com-coreos-go-oidc-v3
- (package
- (inherit go-github-com-coreos-go-oidc)
- (name "go-github-com-coreos-go-oidc-v3")
- (version "3.6.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/coreos/go-oidc")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1sbm6n3lp48lymn0g921afhq2j6inb38w3wy5rhyx9h8gpzhnxx9"))))
- (arguments
- (list ;; no Go files in [...]/src/github.com/coreos/go-oidc/v3.
- #:import-path "github.com/coreos/go-oidc/v3/oidc"
- #:unpack-path "github.com/coreos/go-oidc/v3"))
- (propagated-inputs
- (list go-github-com-go-jose-go-jose-v3
- go-golang-org-x-oauth2))))
-
(define-public go-github-com-coreos-go-semver
(package
(name "go-github-com-coreos-go-semver")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 32/67] gnu: go-github-com-aws-sdk: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (29 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 31/67] gnu: go-github-com-coreos-go-oidc-v3: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 33/67] gnu: go-github-com-valyala-fasthttp: " Sharlatan Hellseher
` (34 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-sdk): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I8e82019c75b115548c2e0eea54b261ff8c3dd4a7
---
gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/golang.scm | 28 ----------------------------
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 0219ffb5e5..352c831e41 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -71,6 +71,34 @@ (define-public go-github-com-andybalholm-cascadia
the parse trees produced by the html package.")
(license license:bsd-2)))
+(define-public go-github-com-aws-sdk
+ (package
+ (name "go-github-com-aws-sdk")
+ (version "1.35.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/aws-sdk-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ky5lw2s2zpslnnqcs6hgsrwvwbxwgflb5jwf16dd4aga3vrg10c"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go/aws"
+ #:unpack-path "github.com/aws/aws-sdk-go"))
+ (propagated-inputs
+ (list go-github-com-go-sql-driver-mysql
+ go-github-com-jmespath-go-jmespath
+ go-github-com-pkg-errors
+ go-golang-org-x-net))
+ (home-page "https://github.com/aws/aws-sdk-go")
+ (synopsis "Library to access Amazon Web Services (AWS)")
+ (description
+ "This is the official AWS SDK for the Go programming language.")
+ (license license:asl2.0)))
+
(define-public go-github-com-aymerick-douceur
(package
(name "go-github-com-aymerick-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 20a1d7ae18..10297c324d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3194,34 +3194,6 @@ (define-public go-github-com-hebcal-hebcal-go
and anniversaries.")
(license license:gpl2+))))
-(define-public go-github-com-aws-sdk
- (package
- (name "go-github-com-aws-sdk")
- (version "1.35.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/aws-sdk-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1ky5lw2s2zpslnnqcs6hgsrwvwbxwgflb5jwf16dd4aga3vrg10c"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go/aws"
- #:unpack-path "github.com/aws/aws-sdk-go"))
- (propagated-inputs
- (list go-github-com-go-sql-driver-mysql
- go-github-com-jmespath-go-jmespath go-github-com-pkg-errors
- go-golang-org-x-net))
- (home-page "https://github.com/aws/aws-sdk-go")
- (synopsis "Library to access Amazon Web Services (AWS)")
- (description
- "This is the official AWS SDK for the Go programming language.")
- (license license:asl2.0)))
-
(define-public go-github-com-go-jose-go-jose-v3
(package
(inherit go-gopkg-in-square-go-jose-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 33/67] gnu: go-github-com-valyala-fasthttp: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (30 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 32/67] gnu: go-github-com-aws-sdk: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 34/67] gnu: go-github-com-go-chi-chi-v5: " Sharlatan Hellseher
` (33 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-valyala-fasthttp): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I60676c0204e198c6050724efa5410c5b695f88fb
---
gnu/packages/golang-web.scm | 41 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 40 ------------------------------------
2 files changed, 41 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 352c831e41..f59415452f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -760,6 +761,46 @@ (define-public go-github-com-tdewolff-parse-v2
"This package contains several lexers and parsers written in Go.")
(license license:expat)))
+(define-public go-github-com-valyala-fasthttp
+ (package
+ (name "go-github-com-valyala-fasthttp")
+ (version "1.39.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/valyala/fasthttp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12qwx0yk7wjj25v4fswgmj28r69gk94kqdmzavca8k9f0yznniz1"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/valyala/fasthttp"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs #:allow-other-keys #:rest args)
+ (unless
+ ;; Tests hang forever with gccgo.
+ (false-if-exception (search-input-file inputs "/bin/gccgo"))
+ (apply (assoc-ref %standard-phases 'check) args)))))))
+ (propagated-inputs
+ (list go-github-com-andybalholm-brotli
+ go-github-com-klauspost-compress
+ go-github-com-valyala-bytebufferpool
+ go-github-com-valyala-tcplisten
+ go-golang-org-x-crypto
+ go-golang-org-x-net
+ go-golang-org-x-sys))
+ (home-page "https://github.com/valyala/fasthttp")
+ (synopsis "Provides fast HTTP server and client API")
+ (description
+ "This package provides a Go module @code{fasthttp} which may be used as
+replacement for native @code{net/http} module.")
+ (license license:expat)))
+
(define-public go-gopkg-in-square-go-jose-v2
(package
(name "go-gopkg-in-square-go-jose-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 10297c324d..b5f406de83 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11041,46 +11041,6 @@ (define-public go-github-com-valyala-bytebufferpool
anti-fragmentation protection.")
(license license:expat)))
-(define-public go-github-com-valyala-fasthttp
- (package
- (name "go-github-com-valyala-fasthttp")
- (version "1.39.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/valyala/fasthttp")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "12qwx0yk7wjj25v4fswgmj28r69gk94kqdmzavca8k9f0yznniz1"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/valyala/fasthttp"
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys #:rest args)
- (unless
- ;; Tests hang forever with gccgo.
- (false-if-exception (search-input-file inputs "/bin/gccgo"))
- (apply (assoc-ref %standard-phases 'check) args)))))))
- (propagated-inputs
- (list go-golang-org-x-sys
- go-golang-org-x-net
- go-golang-org-x-crypto
- go-github-com-valyala-tcplisten
- go-github-com-valyala-bytebufferpool
- go-github-com-klauspost-compress
- go-github-com-andybalholm-brotli))
- (home-page "https://github.com/valyala/fasthttp")
- (synopsis "Provides fast HTTP server and client API")
- (description
- "This package provides a Go module @code{fasthttp} which may be used as
-replacement for native @code{net/http} module.")
- (license license:expat)))
-
(define-public go-github-com-valyala-tcplisten
(package
(name "go-github-com-valyala-tcplisten")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 34/67] gnu: go-github-com-go-chi-chi-v5: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (31 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 33/67] gnu: go-github-com-valyala-fasthttp: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 35/67] gnu: go-github-com-julienschmidt-httprouter: " Sharlatan Hellseher
` (32 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-go-chi-chi-v5): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I120c2cb142935430443a7e6c9e53aa8544bbaf8e
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++--
gnu/packages/golang.scm | 23 -----------------------
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index f59415452f..2570be62f7 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,17 +1,17 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
-;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
-;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -284,6 +284,29 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-go-chi-chi-v5
+ (package
+ (name "go-github-com-go-chi-chi-v5")
+ (version "5.0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-chi/chi")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0rzrsxz4xj0973c6nxklvq2vmg2m795snhk25836i0gnd1jnx79k"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/go-chi/chi/v5"))
+ (home-page "https://github.com/go-chi/chi")
+ (synopsis "Composable router for HTTP services written in Go")
+ (description
+ "@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user
+decompose request handling into many smaller layers.")
+ (license license:expat)))
+
(define-public go-github-com-google-safehtml
(package
(name "go-github-com-google-safehtml")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b5f406de83..3c1693b0c8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11854,29 +11854,6 @@ (define-public go-github-com-dreamacro-go-shadowsocks2
@end itemize")
(license license:asl2.0)))
-(define-public go-github-com-go-chi-chi-v5
- (package
- (name "go-github-com-go-chi-chi-v5")
- (version "5.0.7")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/go-chi/chi")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0rzrsxz4xj0973c6nxklvq2vmg2m795snhk25836i0gnd1jnx79k"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/go-chi/chi/v5"))
- (home-page "https://github.com/go-chi/chi")
- (synopsis "Composable router for HTTP services written in Go")
- (description
- "@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user
-decompose request handling into many smaller layers.")
- (license license:expat)))
-
(define-public go-sigs-k8s-io-yaml
(package
(name "go-sigs-k8s-io-yaml")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 35/67] gnu: go-github-com-julienschmidt-httprouter: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (32 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 34/67] gnu: go-github-com-go-chi-chi-v5: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 36/67] gnu: go-github-com-emicklei-go-restful: " Sharlatan Hellseher
` (31 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-julienschmidt-httprouter): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/high-availability.scm: Add (gnu packages golang-web) module.
Change-Id: I277e4a7ed835b0dc00f08e102e982e0cd019b828
---
gnu/packages/golang-web.scm | 25 ++++++++++++++++++++++++-
gnu/packages/golang.scm | 23 -----------------------
gnu/packages/high-availability.scm | 1 +
3 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 2570be62f7..c501f55685 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6,9 +6,9 @@
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
-;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2022, 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
@@ -631,6 +631,29 @@ (define-public go-github-com-jcmturner-gokrb5-v8
Microsoft AD PAC authorization data.")
(license license:asl2.0)))
+(define-public go-github-com-julienschmidt-httprouter
+ (package
+ (name "go-github-com-julienschmidt-httprouter")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/julienschmidt/httprouter")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a6sy0ysqknsjssjh7qg1dqn21xmj9a36c57nrk7srfmab4ffmk1"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/julienschmidt/httprouter"))
+ (home-page "https://github.com/julienschmidt/httprouter")
+ (synopsis "High performance HTTP request router")
+ (description
+ "Package @code{httprouter} is a trie based high performance HTTP request
+router.")
+ (license license:bsd-3)))
+
(define-public go-github-com-microcosm-cc-bluemonday
(package
(name "go-github-com-microcosm-cc-bluemonday")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3c1693b0c8..bd70a4271c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9338,29 +9338,6 @@ (define-public go-github-com-juju-ansiterm
for color and styles.")
(license license:lgpl3)))
-(define-public go-github-com-julienschmidt-httprouter
- (package
- (name "go-github-com-julienschmidt-httprouter")
- (version "1.3.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/julienschmidt/httprouter")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1a6sy0ysqknsjssjh7qg1dqn21xmj9a36c57nrk7srfmab4ffmk1"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/julienschmidt/httprouter"))
- (home-page "https://github.com/julienschmidt/httprouter")
- (synopsis "High performance HTTP request router")
- (description
- "Package @code{httprouter} is a trie based high performance HTTP request
-router.")
- (license license:bsd-3)))
-
(define-public go-github-com-kevinburke-ssh-config
(package
(name "go-github-com-kevinburke-ssh-config")
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index 553095cb75..6808bcd597 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -35,6 +35,7 @@ (define-module (gnu packages high-availability)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages hardware)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 36/67] gnu: go-github-com-emicklei-go-restful: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (33 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 35/67] gnu: go-github-com-julienschmidt-httprouter: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 37/67] gnu: go-github-com-tv42-httpunix: " Sharlatan Hellseher
` (30 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-emicklei-go-restful): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Idc88242d2ec3274a0b68244f5e91bbfc2dd8543c
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c501f55685..4cef7b6641 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
+;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
@@ -260,6 +261,29 @@ (define-public go-github-com-coreos-go-oidc-v3
(list go-github-com-go-jose-go-jose-v3
go-golang-org-x-oauth2))))
+(define-public go-github-com-emicklei-go-restful
+ (package
+ (name "go-github-com-emicklei-go-restful")
+ (version "3.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emicklei/go-restful")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/emicklei/go-restful"))
+ (home-page "https://github.com/emicklei/go-restful")
+ (synopsis "Build REST-style web services using Go")
+ (description "This package provides @code{go-restful}, which helps
+developers to use @code{http} methods explicitly and in a way that's
+consistent with the HTTP protocol definition.")
+ (license license:expat)))
+
(define-public go-github-com-felixge-httpsnoop
(package
(name "go-github-com-felixge-httpsnoop")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bd70a4271c..30d32dcba9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4346,30 +4346,6 @@ (define-public go-github-com-blang-semver
(description "Semver is a library for Semantic versioning written in Go.")
(license license:expat))))
-(define-public go-github-com-emicklei-go-restful
- (package
- (name "go-github-com-emicklei-go-restful")
- (version "3.4.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/emicklei/go-restful")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/emicklei/go-restful"))
- (home-page "https://github.com/emicklei/go-restful")
- (synopsis "Build REST-style web services using Go")
- (description "This package provides @code{go-restful}, which helps
-developers to use @code{http} methods explicitly and in a way that's consistent
-with the HTTP protocol definition.")
- (license license:expat)))
-
(define-public go-cloud-google-com-go-compute-metadata
(package
(name "go-cloud-google-com-go-compute-metadata")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 37/67] gnu: go-github-com-tv42-httpunix: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (34 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 36/67] gnu: go-github-com-emicklei-go-restful: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 38/67] gnu: go-github-com-opentracing-opentracing-go: " Sharlatan Hellseher
` (29 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-tv42-httpunix): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I1b81c93afd803dfd68fae5292cb2103855cdba6d
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4cef7b6641..caccb126bc 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
@@ -831,6 +832,30 @@ (define-public go-github-com-tdewolff-parse-v2
"This package contains several lexers and parsers written in Go.")
(license license:expat)))
+(define-public go-github-com-tv42-httpunix
+ (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
+ (revision "0"))
+ (package
+ (name "go-github-com-tv42-httpunix")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tv42/httpunix")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/tv42/httpunix"))
+ (home-page "https://github.com/tv42/httpunix")
+ (synopsis "Go library to talk HTTP over Unix domain sockets")
+ (description "This package is a Go library to talk HTTP over Unix domain
+sockets.")
+ (license license:expat))))
+
(define-public go-github-com-valyala-fasthttp
(package
(name "go-github-com-valyala-fasthttp")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 30d32dcba9..7a85b1ebcd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4298,30 +4298,6 @@ (define-public go-github-com-tomnomnom-gron
absolute \"path\" to it.")
(license license:expat)))
-(define-public go-github-com-tv42-httpunix
- (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
- (revision "0"))
- (package
- (name "go-github-com-tv42-httpunix")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tv42/httpunix")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/tv42/httpunix"))
- (home-page "https://github.com/tv42/httpunix")
- (synopsis "Go library to talk HTTP over Unix domain sockets")
- (description "This package is a Go library to talk HTTP over Unix domain
-sockets.")
- (license license:expat))))
-
(define-public go-github-com-blang-semver
(let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 38/67] gnu: go-github-com-opentracing-opentracing-go: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (35 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 37/67] gnu: go-github-com-tv42-httpunix: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 39/67] gnu: go-github-com-francoispqt-gojay: " Sharlatan Hellseher
` (28 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-opentracing-opentracing-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I87e615589cdb038e2b633ecd63194c81d5864a5b
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index caccb126bc..d021be005f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
@@ -703,6 +704,30 @@ (define-public go-github-com-microcosm-cc-bluemonday
(description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
(license license:bsd-3)))
+(define-public go-github-com-opentracing-opentracing-go
+ (package
+ (name "go-github-com-opentracing-opentracing-go")
+ (version "1.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/opentracing/opentracing-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04rgdwl29kimp2wnm4dycnzp7941hvpj6wym85x23c6fclacm94h"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/opentracing/opentracing-go"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/opentracing/opentracing-go")
+ (synopsis "OpenTracing API for Go")
+ (description "OpenTracing-Go is a Go implementation of the OpenTracing API.")
+ (license license:asl2.0)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7a85b1ebcd..f0c9dcf5e6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1797,30 +1797,6 @@ (define-public go-github-com-mufti1-interconv
(description "InterConv converts interfaces into any data type.")
(license license:expat))))
-(define-public go-github-com-opentracing-opentracing-go
- (package
- (name "go-github-com-opentracing-opentracing-go")
- (version "1.2.0")
- (source
- (origin
- (method git-fetch)
- (uri
- (git-reference
- (url "https://github.com/opentracing/opentracing-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "04rgdwl29kimp2wnm4dycnzp7941hvpj6wym85x23c6fclacm94h"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/opentracing/opentracing-go"))
- (native-inputs
- (list go-github-com-stretchr-testify))
- (home-page "https://github.com/opentracing/opentracing-go")
- (synopsis "OpenTracing API for Go")
- (description "OpenTracing-Go is a Go implementation of the OpenTracing API.")
- (license license:asl2.0)))
-
(define-public go-github-com-operatorfoundation-monolith-go
(package
(name "go-github-com-operatorfoundation-monolith-go")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 39/67] gnu: go-github-com-francoispqt-gojay: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (36 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 38/67] gnu: go-github-com-opentracing-opentracing-go: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 40/67] gnu: go-github-com-francoispqt-gojay: Adjust inputs Sharlatan Hellseher
` (27 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-francoispqt-gojay): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I2ff041a91e2d37d79495a3ebda1b602784161c4a
---
gnu/packages/golang-web.scm | 27 ++++++++++++++++++++++++++-
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d021be005f..2790e2b5aa 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5,9 +5,9 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
-;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
@@ -310,6 +310,31 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-francoispqt-gojay
+ (package
+ (name "go-github-com-francoispqt-gojay")
+ (version "1.2.13")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/francoispqt/gojay")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/francoispqt/gojay"))
+ (propagated-inputs
+ (list go-github-com-stretchr-testify))
+ (synopsis "JSON encoder/decoder with powerful stream API for Golang")
+ (description "GoJay is a performant JSON encoder/decoder for Golang. It has
+a simple API and doesn't use reflection. It relies on small interfaces to
+decode/encode structures and slices.")
+ (home-page "https://github.com/francoispqt/gojay")
+ (license license:expat)))
+
(define-public go-github-com-go-chi-chi-v5
(package
(name "go-github-com-go-chi-chi-v5")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f0c9dcf5e6..4d504e30a2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7241,31 +7241,6 @@ (define-public go-github-com-lunixbochs-vtclean
optionally preserving color.")
(license license:expat)))
-(define-public go-github-com-francoispqt-gojay
- (package
- (name "go-github-com-francoispqt-gojay")
- (version "1.2.13")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/francoispqt/gojay")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/francoispqt/gojay"))
- (propagated-inputs
- (list go-github-com-stretchr-testify))
- (synopsis "JSON encoder/decoder with powerful stream API for Golang")
- (description "GoJay is a performant JSON encoder/decoder for Golang. It has
-a simple API and doesn't use reflection. It relies on small interfaces to
-decode/encode structures and slices.")
- (home-page "https://github.com/francoispqt/gojay")
- (license license:expat)))
-
(define-public go-github-com-pkg-errors
(package
(name "go-github-com-pkg-errors")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 40/67] gnu: go-github-com-francoispqt-gojay: Adjust inputs.
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (37 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 39/67] gnu: go-github-com-francoispqt-gojay: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 41/67] gnu: go-github-com-goccy-go-json: Move to (gnu packages golang-web) Sharlatan Hellseher
` (26 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-francoispqt-gojay):
[propagated-inputs]: Swap to [native-inputs].
Change-Id: Ie83ea13685036b2688f668cde8bbb831ba5cd602
---
gnu/packages/golang-web.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 2790e2b5aa..59312f791a 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -326,7 +326,7 @@ (define-public go-github-com-francoispqt-gojay
(build-system go-build-system)
(arguments
'(#:import-path "github.com/francoispqt/gojay"))
- (propagated-inputs
+ (native-inputs
(list go-github-com-stretchr-testify))
(synopsis "JSON encoder/decoder with powerful stream API for Golang")
(description "GoJay is a performant JSON encoder/decoder for Golang. It has
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 41/67] gnu: go-github-com-goccy-go-json: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (38 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 40/67] gnu: go-github-com-francoispqt-gojay: Adjust inputs Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 42/67] gnu: go-github-com-jmespath-go-jmespath: " Sharlatan Hellseher
` (25 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-goccy-go-json): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I83fc749483f9f60a05c823e2f792efda0481b505
---
gnu/packages/golang-web.scm | 22 ++++++++++++++++++++++
gnu/packages/golang.scm | 22 ----------------------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 59312f791a..e92e04979e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2022 Adam Kandur <kefironpremise@gmail.com>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
@@ -358,6 +359,27 @@ (define-public go-github-com-go-chi-chi-v5
decompose request handling into many smaller layers.")
(license license:expat)))
+(define-public go-github-com-goccy-go-json
+ (package
+ (name "go-github-com-goccy-go-json")
+ (version "0.9.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/goccy/go-json")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1bg8p4c6r8r0kixdxv2m8xmdsmb1zl5sd8czswpccldjk3c358wp"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/goccy/go-json"))
+ (home-page "https://github.com/goccy/go-json")
+ (synopsis "JSON encoder/decoder in Go")
+ (description "Fast JSON encoder/decoder compatible with encoding/json for Go.")
+ (license license:expat)))
+
(define-public go-github-com-google-safehtml
(package
(name "go-github-com-google-safehtml")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4d504e30a2..5b37222c93 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4002,28 +4002,6 @@ (define-public go-github-com-burntsushi-toml
is similar to Go's standard library @code{json} and @code{xml} package.")
(license license:expat)))
-(define-public go-github-com-goccy-go-json
- (package
- (name "go-github-com-goccy-go-json")
- (version "0.9.10")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/goccy/go-json")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1bg8p4c6r8r0kixdxv2m8xmdsmb1zl5sd8czswpccldjk3c358wp"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/goccy/go-json"))
- (home-page "https://github.com/goccy/go-json")
- (synopsis "JSON encoder/decoder in Go")
- (description
- "Fast JSON encoder/decoder compatible with encoding/json for Go.")
- (license license:expat)))
-
(define-public go-github-com-getsentry-raven-go
(let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 42/67] gnu: go-github-com-jmespath-go-jmespath: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (39 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 41/67] gnu: go-github-com-goccy-go-json: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 43/67] gnu: go-github-com-aws-smithy-go: " Sharlatan Hellseher
` (24 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-jmespath-go-jmespath): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I7f16dd3153ca6fd626061f7da5792192a48041bd
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index e92e04979e..9f7b0e39dc 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -704,6 +704,33 @@ (define-public go-github-com-jcmturner-gokrb5-v8
Microsoft AD PAC authorization data.")
(license license:asl2.0)))
+(define-public go-github-com-jmespath-go-jmespath
+ (package
+ (name "go-github-com-jmespath-go-jmespath")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jmespath/go-jmespath")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jmespath/go-jmespath"))
+ (native-inputs
+ (list go-github-com-davecgh-go-spew
+ go-github-com-pmezard-go-difflib
+ go-gopkg-in-yaml-v2))
+ (home-page "https://github.com/jmespath/go-jmespath")
+ (synopsis "Golang implementation of JMESPath")
+ (description
+ "This package implements JMESPath, a query language for JSON. It
+transforms one JSON document into another through a JMESPath expression.")
+ (license license:asl2.0)))
+
(define-public go-github-com-julienschmidt-httprouter
(package
(name "go-github-com-julienschmidt-httprouter")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5b37222c93..ce7047aa0f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8699,33 +8699,6 @@ (define-public go-github-com-alecthomas-chroma
converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
(license license:expat)))
-(define-public go-github-com-jmespath-go-jmespath
- (package
- (name "go-github-com-jmespath-go-jmespath")
- (version "0.4.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jmespath/go-jmespath")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jmespath/go-jmespath"))
- (native-inputs
- (list go-github-com-davecgh-go-spew go-github-com-pmezard-go-difflib
- go-gopkg-in-yaml-v2))
- (home-page "https://github.com/jmespath/go-jmespath")
- (synopsis "Golang implementation of JMESPath")
- (description
- "This package implements JMESPath, a query language for JSON. It
-transforms one JSON document into another through a JMESPath expression.")
- (license license:asl2.0)))
-
(define-public go-github-com-muesli-reflow-wordwrap
(package
(name "go-github-com-muesli-reflow-wordwrap")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 43/67] gnu: go-github-com-aws-smithy-go: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (40 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 42/67] gnu: go-github-com-jmespath-go-jmespath: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 44/67] gnu: go-github-com-aws-smithy-go: Adjust description Sharlatan Hellseher
` (23 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-smithy-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I3a4731ae27cc7365c1704cf5a9eab56ca79974a4
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9f7b0e39dc..c23e6df581 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -104,6 +104,30 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+(define-public go-github-com-aws-smithy-go
+ (package
+ (name "go-github-com-aws-smithy-go")
+ (version "1.13.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/smithy-go")
+ (commit "v1.13.5")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rgyk0m2d3agknnlzjqvac1a61wwdq1pbck7vyl587m38n5zi2cz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/aws/smithy-go"))
+ (propagated-inputs
+ (list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp-cmp))
+ (home-page "https://github.com/aws/smithy-go")
+ (synopsis "Smithy code generators for Go")
+ (description
+ "Package smithy provides the core components for a Smithy SDK.")
+ (license license:asl2.0)))
+
(define-public go-github-com-aymerick-douceur
(package
(name "go-github-com-aymerick-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ce7047aa0f..f0b2007d25 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,30 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-smithy-go
- (package
- (name "go-github-com-aws-smithy-go")
- (version "1.13.5")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/smithy-go")
- (commit "v1.13.5")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1rgyk0m2d3agknnlzjqvac1a61wwdq1pbck7vyl587m38n5zi2cz"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/aws/smithy-go"))
- (propagated-inputs
- (list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp-cmp))
- (home-page "https://github.com/aws/smithy-go")
- (synopsis "Smithy code generators for Go")
- (description
- "Package smithy provides the core components for a Smithy SDK.")
- (license license:asl2.0)))
-
(define-public go-github-com-aws-aws-sdk-go-v2
(package
(name "go-github-com-aws-aws-sdk-go-v2")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 44/67] gnu: go-github-com-aws-smithy-go: Adjust description.
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (41 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 43/67] gnu: go-github-com-aws-smithy-go: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 45/67] gnu: go-github-com-aws-aws-sdk-go-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
` (22 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-aws-smithy-go):[description]
Add link to Smithy.
Change-Id: I3c913db5940dc97fb3fa8874fd8b1bf9baaf4a59
---
gnu/packages/golang-web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c23e6df581..ae9ffd3fd2 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -123,7 +123,8 @@ (define-public go-github-com-aws-smithy-go
(propagated-inputs
(list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp-cmp))
(home-page "https://github.com/aws/smithy-go")
- (synopsis "Smithy code generators for Go")
+ (synopsis "@url{https://smithy.io/2.0/index.html,Smithy} code generators
+for Go")
(description
"Package smithy provides the core components for a Smithy SDK.")
(license license:asl2.0)))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 45/67] gnu: go-github-com-aws-aws-sdk-go-v2: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (42 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 44/67] gnu: go-github-com-aws-smithy-go: Adjust description Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 46/67] gnu: go-github-com-aws-aws-sdk-go: " Sharlatan Hellseher
` (21 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/version-control.scm: Add (gnu packages golang-web) module.
Change-Id: I6e980749d9f9c1373adfc717b0195a1b8c32d6af
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
gnu/packages/version-control.scm | 1 +
3 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index ae9ffd3fd2..1542c409fe 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -104,6 +104,32 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+(define-public go-github-com-aws-aws-sdk-go-v2
+ (package
+ (name "go-github-com-aws-aws-sdk-go-v2")
+ (version "1.17.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/aws-sdk-go-v2")
+ (commit "v1.17.3")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a07xab1cn96iff7zvp5a82fzhqwl0i4bhplkm2h1qbkxgldn6x0"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go
+ go-github-com-google-go-cmp-cmp
+ go-github-com-jmespath-go-jmespath))
+ (home-page "https://github.com/aws/aws-sdk-go-v2")
+ (synopsis "AWS SDK for Go v2")
+ (description
+ "Package sdk is the official AWS SDK v2 for the Go programming language.")
+ (license license:asl2.0)))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f0b2007d25..d983b1bda3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,31 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2
- (package
- (name "go-github-com-aws-aws-sdk-go-v2")
- (version "1.17.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/aws-sdk-go-v2")
- (commit "v1.17.3")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1a07xab1cn96iff7zvp5a82fzhqwl0i4bhplkm2h1qbkxgldn6x0"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-jmespath-go-jmespath
- go-github-com-google-go-cmp-cmp
- go-github-com-aws-smithy-go))
- (home-page "https://github.com/aws/aws-sdk-go-v2")
- (synopsis "AWS SDK for Go v2")
- (description
- "Package sdk is the official AWS SDK v2 for the Go programming language.")
- (license license:asl2.0)))
-
(define-public go-github-com-aws-aws-sdk-go-v2-config
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 76fa8ef5d0..5f60c4400c 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -105,6 +105,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages groff)
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 46/67] gnu: go-github-com-aws-aws-sdk-go: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (43 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 45/67] gnu: go-github-com-aws-aws-sdk-go-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 47/67] gnu: go-github-com-aws-aws-sdk-go-v2-config: " Sharlatan Hellseher
` (20 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic639856afb340c2a7aea6dc917d2bcd32290d1b7
---
gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 28 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1542c409fe..7ecdcbd8b5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Adam Kandur <kefironpremise@gmail.com>
@@ -104,6 +105,33 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+;; XXX: This package might be a duplicate of go-github-com-aws-sdk, it's not
+;; in use anywhere. Keep it here for the farther review.
+(define-public go-github-com-aws-aws-sdk-go
+ (package
+ (name "go-github-com-aws-aws-sdk-go")
+ (version "1.36.18")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/aws-sdk-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "169mkkw1cff1px6326krwvfpfj07sb4y5rbn003gi4bk176h6ry9"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ (list go-github-com-jmespath-go-jmespath))
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go"
+ #:phases %standard-phases))
+ (synopsis "The official AWS SDK for the Go programming language")
+ (description
+ "The official AWS SDK for the Go programming language.")
+ (home-page "https://github.com/aws/aws-sdk-go")
+ (license license:asl2.0)))
+
(define-public go-github-com-aws-aws-sdk-go-v2
(package
(name "go-github-com-aws-aws-sdk-go-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d983b1bda3..27d9006c80 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11423,31 +11423,6 @@ (define-public go-github-com-mtibben-androiddnsfix
(define-public go-github-com-androiddnsfix
(deprecated-package "go-github-com-androiddnsfix" go-github-com-mtibben-androiddnsfix))
-(define-public go-github-com-aws-aws-sdk-go
- (package
- (name "go-github-com-aws-aws-sdk-go")
- (version "1.36.18")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/aws-sdk-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "169mkkw1cff1px6326krwvfpfj07sb4y5rbn003gi4bk176h6ry9"))))
- (build-system go-build-system)
- (propagated-inputs
- (list go-github-com-jmespath-go-jmespath))
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go"
- #:phases %standard-phases))
- (synopsis "The official AWS SDK for the Go programming language")
- (description
- "The official AWS SDK for the Go programming language.")
- (home-page "https://github.com/aws/aws-sdk-go")
- (license license:asl2.0)))
-
(define-public go-gopkg-in-ini
(package
(name "go-gopkg-in-ini")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 47/67] gnu: go-github-com-aws-aws-sdk-go-v2-config: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (44 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 46/67] gnu: go-github-com-aws-aws-sdk-go: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 48/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-iam: " Sharlatan Hellseher
` (19 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-config): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ie775eff088ac4ad0327e2479a63f677ac9c75da2
---
gnu/packages/golang-web.scm | 12 ++++++++++++
gnu/packages/golang.scm | 11 -----------
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 7ecdcbd8b5..fde9a89ea3 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -158,6 +158,18 @@ (define-public go-github-com-aws-aws-sdk-go-v2
"Package sdk is the official AWS SDK v2 for the Go programming language.")
(license license:asl2.0)))
+(define-public go-github-com-aws-aws-sdk-go-v2-config
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-config")
+ (version "1.18.5")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/config"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-google-go-cmp-cmp
+ go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 27d9006c80..645e51b57a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,17 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-config
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-config")
- (version "1.18.5")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/config"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-google-go-cmp-cmp
- go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 48/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-iam: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (45 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 47/67] gnu: go-github-com-aws-aws-sdk-go-v2-config: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 49/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sso: " Sharlatan Hellseher
` (18 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-iam): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Id479cc90005de14f0916cb06fa140127812787b1
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index fde9a89ea3..bfda5ffa31 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -170,6 +170,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-config
(list go-github-com-google-go-cmp-cmp
go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-iam")
+ (version "1.44.161")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/iam"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 645e51b57a..bfdf45d1b3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-iam")
- (version "1.44.161")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/iam"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 49/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sso: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (46 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 48/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-iam: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 50/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-ssooidc: " Sharlatan Hellseher
` (17 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-sso): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I7d9008a277e97adc2b496b11b75d63efd1b839f3
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index bfda5ffa31..5dd73bd4db 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -181,6 +181,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-sso")
+ (version "1.11.27")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sso"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bfdf45d1b3..1134cfa458 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-sso")
- (version "1.11.27")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sso"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 50/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-ssooidc: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (47 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 49/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sso: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 51/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sts: " Sharlatan Hellseher
` (16 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-ssooidc): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I7c1fc41bb4b7ae8b92204e3daee5628602328384
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 5dd73bd4db..4bc9c944cb 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -192,6 +192,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-sso
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-ssooidc")
+ (version "1.13.10")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/ssooidc"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1134cfa458..9c102ad7f0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-ssooidc")
- (version "1.13.10")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/ssooidc"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-sts
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 51/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sts: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (48 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 50/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-ssooidc: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 52/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-s3: " Sharlatan Hellseher
` (15 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-sts): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I3503dbde93a46ff47dcc035243a7f320b7090794
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4bc9c944cb..aadf8ac73e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -203,6 +203,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-sts
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-sts")
+ (version "1.17.7")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sts"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9c102ad7f0..7b254db540 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-sts
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-sts")
- (version "1.17.7")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sts"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-s3
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 52/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-s3: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (49 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 51/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-sts: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 53/67] gnu: go-github-com-aws-aws-sdk-go-v2-feature-s3-manager: " Sharlatan Hellseher
` (14 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-s3): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I11426c93b58f1c0c9c48527621ded345cc4f062b
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index aadf8ac73e..e87634cdaa 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -181,6 +181,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-s3
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-s3")
+ (version "1.30.0")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/s3"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7b254db540..2c331802ff 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-s3
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-s3")
- (version "1.30.0")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/s3"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 53/67] gnu: go-github-com-aws-aws-sdk-go-v2-feature-s3-manager: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (50 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 52/67] gnu: go-github-com-aws-aws-sdk-go-v2-service-s3: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 54/67] gnu: go-github-com-nwidger-jsoncolor: " Sharlatan Hellseher
` (13 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-feature-s3-manager): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ia97de141c3c96e99b4824ea93925c5d2b5d9aa8d
---
gnu/packages/golang-web.scm | 10 ++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index e87634cdaa..616a14fdf1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -170,6 +170,16 @@ (define-public go-github-com-aws-aws-sdk-go-v2-config
(list go-github-com-google-go-cmp-cmp
go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-feature-s3-manager")
+ (version "1.11.44")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/feature/s3/manager"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2c331802ff..efd46895ec 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11173,16 +11173,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-feature-s3-manager")
- (version "1.11.44")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/feature/s3/manager"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public aws-vault
(package
(name "aws-vault")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 54/67] gnu: go-github-com-nwidger-jsoncolor: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (51 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 53/67] gnu: go-github-com-aws-aws-sdk-go-v2-feature-s3-manager: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 55/67] gnu: go-github-com-hjson-hjson-go: " Sharlatan Hellseher
` (12 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-nwidger-jsoncolor): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I924581a553c7b59b1be3e274a1845af68b438bcb
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 616a14fdf1..96873f020c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
@@ -934,6 +935,32 @@ (define-public go-github-com-microcosm-cc-bluemonday
(description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
(license license:bsd-3)))
+(define-public go-github-com-nwidger-jsoncolor
+ (package
+ (name "go-github-com-nwidger-jsoncolor")
+ (version "0.3.0")
+ (home-page "https://github.com/nwidger/jsoncolor")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/nwidger/jsoncolor"))
+ (native-inputs
+ (list go-github-com-fatih-color))
+ (synopsis "Colorized JSON marshalling and encoding")
+ (description
+ "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
+@code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
+which produce colorized output using github.com/fatih/color.")
+ (license license:expat)))
+
(define-public go-github-com-opentracing-opentracing-go
(package
(name "go-github-com-opentracing-opentracing-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index efd46895ec..bf71d0de49 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8786,33 +8786,6 @@ (define-public go-github-com-muesli-termenv
escape sequences and color conversions.")
(license license:expat)))
-(define-public go-github-com-nwidger-jsoncolor
- (package
- (name "go-github-com-nwidger-jsoncolor")
- (version "0.3.0")
- (home-page "https://github.com/nwidger/jsoncolor")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/nwidger/jsoncolor"))
- (native-inputs
- (list go-github-com-fatih-color))
- (synopsis "Colorized JSON marshalling and encoding")
- (description
- "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
-@code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
-which produce colorized output using github.com/fatih/color.")
- (license license:expat)))
-
(define-public go-github-com-olekukonko-tablewriter
(package
(name "go-github-com-olekukonko-tablewriter")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 55/67] gnu: go-github-com-hjson-hjson-go: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (52 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 54/67] gnu: go-github-com-nwidger-jsoncolor: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 56/67] gnu: go-github-com-xeipuuv-gojsonschema: " Sharlatan Hellseher
` (11 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-hjson-hjson-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/networking.scm: Add (gnu packages golang-web) module.
* gnu/packages/uucp.scm: As above.
Change-Id: If1ba5e4d866ce74fa35ae9126c6ba4cd0b149dab
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
gnu/packages/networking.scm | 1 +
gnu/packages/uucp.scm | 1 +
4 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 96873f020c..4771657add 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
@@ -757,6 +758,29 @@ (define-public go-github-com-gorilla-websocket
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-hjson-hjson-go
+ (package
+ (name "go-github-com-hjson-hjson-go")
+ (version "3.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hjson/hjson-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/hjson/hjson-go"))
+ (home-page "https://hjson.org/")
+ (synopsis "Human JSON implementation for Go")
+ (description "Hjson is a syntax extension to JSON. It is intended to be
+used like a user interface for humans, to read and edit before passing the
+JSON data to the machine.")
+ (license license:expat)))
+
(define-public go-github-com-jcmturner-dnsutils-v2
(package
(name "go-github-com-jcmturner-dnsutils-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bf71d0de49..0e608a8eab 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9965,30 +9965,6 @@ (define-public go-github-com-hashicorp-go-syslog
(description "This package is a very simple wrapper around log/syslog")
(license license:expat)))
-(define-public go-github-com-hjson-hjson-go
- (package
- (name "go-github-com-hjson-hjson-go")
- (version "4.3.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/hjson/hjson-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "138vmbnrwzxf64cia27k407clrydvs2jx927dlv6ziydiqyvy7m3"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/hjson/hjson-go"))
- (home-page "https://hjson.org/")
- (synopsis "Human JSON implementation for Go")
- (description "Hjson is a syntax extension to JSON. It is intended to be
-used like a user interface for humans, to read and edit before passing the
-JSON data to the machine.")
- (license license:expat)))
-
(define-public go-golang-zx2c4-com-wireguard
(package
(name "go-golang-zx2c4-com-wireguard")
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index b0381515a5..36d33da42b 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -122,6 +122,7 @@ (define-module (gnu packages networking)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
diff --git a/gnu/packages/uucp.scm b/gnu/packages/uucp.scm
index e10de59aa2..1626c90c36 100644
--- a/gnu/packages/uucp.scm
+++ b/gnu/packages/uucp.scm
@@ -19,6 +19,7 @@
(define-module (gnu packages uucp)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages texinfo)
#:use-module (guix licenses)
#:use-module (guix packages)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 56/67] gnu: go-github-com-xeipuuv-gojsonschema: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (53 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 55/67] gnu: go-github-com-hjson-hjson-go: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 57/67] gnu: go-github-com-xeipuuv-gojsonschema: Adjust inputs Sharlatan Hellseher
` (10 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonschema): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iaf68b653f279c98f62ce9e07f2ce010c8e1741e2
---
gnu/packages/golang-web.scm | 41 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 40 ------------------------------------
2 files changed, 41 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4771657add..c97dfa7757 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1202,6 +1202,47 @@ (define-public go-github-com-valyala-fasthttp
replacement for native @code{net/http} module.")
(license license:expat)))
+(define-public go-github-com-xeipuuv-gojsonschema
+ (let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
+ (revision "0"))
+ (package
+ (name "go-github-com-xeipuuv-gojsonschema")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xeipuuv/gojsonschema")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1q937a6q7canlr3dllqdw0qwa6z2fpwn1w9kycavx8jmwh6q3f69"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/xeipuuv/gojsonschema"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (substitute* "schema_test.go"
+ (("\\{\"phase\": \"remote ref, " all)
+ (string-append "// " all))
+ (("\\{\"phase\": \"valid definition" all)
+ (string-append "// " all))
+ (("\\{\"phase\": \"invalid definition" all)
+ (string-append "// " all)))))))))
+ (propagated-inputs
+ (list go-github-com-xeipuuv-gojsonreference
+ go-github-com-xeipuuv-gojsonpointer
+ go-github-com-stretchr-testify))
+ (home-page "https://github.com/xeipuuv/gojsonschema")
+ (synopsis "Implementation of JSON Schema for Go")
+ (description
+ "This package provides an implementation of JSON Schema for the Go
+programming language, which supports draft-04, draft-06 and draft-07.")
+ (license license:asl2.0))))
+
(define-public go-gopkg-in-square-go-jose-v2
(package
(name "go-gopkg-in-square-go-jose-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0e608a8eab..16b13cd59e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12176,46 +12176,6 @@ (define-public go-github-com-xeipuuv-gojsonreference
programming language.")
(license license:asl2.0))))
-(define-public go-github-com-xeipuuv-gojsonschema
- (let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
- (revision "0"))
- (package
- (name "go-github-com-xeipuuv-gojsonschema")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/xeipuuv/gojsonschema")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1q937a6q7canlr3dllqdw0qwa6z2fpwn1w9kycavx8jmwh6q3f69"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/xeipuuv/gojsonschema"
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'disable-failing-tests
- (lambda* (#:key import-path #:allow-other-keys)
- (with-directory-excursion (string-append "src/" import-path)
- (substitute* "schema_test.go"
- (("\\{\"phase\": \"remote ref, " all)
- (string-append "// " all))
- (("\\{\"phase\": \"valid definition" all)
- (string-append "// " all))
- (("\\{\"phase\": \"invalid definition" all)
- (string-append "// " all)))))))))
- (propagated-inputs (list go-github-com-xeipuuv-gojsonreference
- go-github-com-xeipuuv-gojsonpointer
- go-github-com-stretchr-testify))
- (home-page "https://github.com/xeipuuv/gojsonschema")
- (synopsis "Implementation of JSON Schema for Go")
- (description
- "This package provides an implementation of JSON Schema for the Go
-programming language, which supports draft-04, draft-06 and draft-07.")
- (license license:asl2.0))))
-
(define-public go-github-com-niemeyer-pretty
(package
(name "go-github-com-niemeyer-pretty")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 57/67] gnu: go-github-com-xeipuuv-gojsonschema: Adjust inputs.
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (54 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 56/67] gnu: go-github-com-xeipuuv-gojsonschema: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 58/67] gnu: go-github-com-xeipuuv-gojsonpointer: Move to (gnu packages golang-web) Sharlatan Hellseher
` (9 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-xeipuuv-gojsonschema):
[propagated-inputs]: Move go-github-com-stretchr-testify from here ...
[native-inputs]: ... to here.
Change-Id: Id865d5821060cd847aeb9ccfc7b7a477e12f7b7b
---
gnu/packages/golang-web.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c97dfa7757..346ca87cc7 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1232,10 +1232,11 @@ (define-public go-github-com-xeipuuv-gojsonschema
(string-append "// " all))
(("\\{\"phase\": \"invalid definition" all)
(string-append "// " all)))))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-xeipuuv-gojsonreference
- go-github-com-xeipuuv-gojsonpointer
- go-github-com-stretchr-testify))
+ go-github-com-xeipuuv-gojsonpointer))
(home-page "https://github.com/xeipuuv/gojsonschema")
(synopsis "Implementation of JSON Schema for Go")
(description
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 58/67] gnu: go-github-com-xeipuuv-gojsonpointer: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (55 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 57/67] gnu: go-github-com-xeipuuv-gojsonschema: Adjust inputs Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 59/67] gnu: go-github-com-xeipuuv-gojsonreference: " Sharlatan Hellseher
` (8 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonpointer): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I1c77a5a1b0e85fa57578ff29c9e3c403e4d62bc8
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 346ca87cc7..1f9fe0ffca 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1202,6 +1202,31 @@ (define-public go-github-com-valyala-fasthttp
replacement for native @code{net/http} module.")
(license license:expat)))
+(define-public go-github-com-xeipuuv-gojsonpointer
+ (let ((commit "4e3ac2762d5f479393488629ee9370b50873b3a6")
+ (revision "0"))
+ (package
+ (name "go-github-com-xeipuuv-gojsonpointer")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xeipuuv/gojsonpointer")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13y6iq2nzf9z4ls66bfgnnamj2m3438absmbpqry64bpwjfbsi9q"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/xeipuuv/gojsonpointer"))
+ (home-page "https://github.com/xeipuuv/gojsonpointer")
+ (synopsis "Implementation of JSON Pointer for Go")
+ (description
+ "This package provides an implementation of JSON Pointer for the Go
+programming language.")
+ (license license:asl2.0))))
+
(define-public go-github-com-xeipuuv-gojsonschema
(let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 16b13cd59e..fb01dd4679 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12125,31 +12125,6 @@ (define-public go-github-com-go-test-deep
when comparing complex types like structures and maps.")
(license license:expat)))
-(define-public go-github-com-xeipuuv-gojsonpointer
- (let ((commit "4e3ac2762d5f479393488629ee9370b50873b3a6")
- (revision "0"))
- (package
- (name "go-github-com-xeipuuv-gojsonpointer")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/xeipuuv/gojsonpointer")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "13y6iq2nzf9z4ls66bfgnnamj2m3438absmbpqry64bpwjfbsi9q"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/xeipuuv/gojsonpointer"))
- (home-page "https://github.com/xeipuuv/gojsonpointer")
- (synopsis "Implementation of JSON Pointer for Go")
- (description
- "This package provides an implementation of JSON Pointer for the Go
-programming language.")
- (license license:asl2.0))))
-
(define-public go-github-com-xeipuuv-gojsonreference
(let ((commit "bd5ef7bd5415a7ac448318e64f11a24cd21e594b")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 59/67] gnu: go-github-com-xeipuuv-gojsonreference: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (56 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 58/67] gnu: go-github-com-xeipuuv-gojsonpointer: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 60/67] gnu: go-github-com-whyrusleeping-json-filter: " Sharlatan Hellseher
` (7 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonreference): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iba8903cba4efa0b806cb19237db3ee51a46646c6
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
2 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1f9fe0ffca..7f6ced049c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1227,6 +1227,33 @@ (define-public go-github-com-xeipuuv-gojsonpointer
programming language.")
(license license:asl2.0))))
+(define-public go-github-com-xeipuuv-gojsonreference
+ (let ((commit "bd5ef7bd5415a7ac448318e64f11a24cd21e594b")
+ (revision "0"))
+ (package
+ (name "go-github-com-xeipuuv-gojsonreference")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xeipuuv/gojsonreference")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xby79padc7bmyb8rfbad8wfnfdzpnh51b1n8c0kibch0kwc1db5"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/xeipuuv/gojsonreference"))
+ (propagated-inputs
+ (list go-github-com-xeipuuv-gojsonpointer))
+ (home-page "https://github.com/xeipuuv/gojsonreference")
+ (synopsis "Implementation of JSON Reference for Go")
+ (description
+ "This package provides an implementation of JSON Reference for the Go
+programming language.")
+ (license license:asl2.0))))
+
(define-public go-github-com-xeipuuv-gojsonschema
(let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fb01dd4679..cf2c0dcfc0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12125,32 +12125,6 @@ (define-public go-github-com-go-test-deep
when comparing complex types like structures and maps.")
(license license:expat)))
-(define-public go-github-com-xeipuuv-gojsonreference
- (let ((commit "bd5ef7bd5415a7ac448318e64f11a24cd21e594b")
- (revision "0"))
- (package
- (name "go-github-com-xeipuuv-gojsonreference")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/xeipuuv/gojsonreference")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1xby79padc7bmyb8rfbad8wfnfdzpnh51b1n8c0kibch0kwc1db5"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/xeipuuv/gojsonreference"))
- (propagated-inputs (list go-github-com-xeipuuv-gojsonpointer))
- (home-page "https://github.com/xeipuuv/gojsonreference")
- (synopsis "Implementation of JSON Reference for Go")
- (description
- "This package provides an implementation of JSON Reference for the Go
-programming language.")
- (license license:asl2.0))))
-
(define-public go-github-com-niemeyer-pretty
(package
(name "go-github-com-niemeyer-pretty")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 60/67] gnu: go-github-com-whyrusleeping-json-filter: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (57 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 59/67] gnu: go-github-com-xeipuuv-gojsonreference: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 61/67] gnu: go-github-com-stretchr-objx: " Sharlatan Hellseher
` (6 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-whyrusleeping-json-filter): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I41d725c82adc3f5571c50bdf6a092e9a310e0f6c
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
2 files changed, 25 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 7f6ced049c..fbfa1049a4 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1202,6 +1202,31 @@ (define-public go-github-com-valyala-fasthttp
replacement for native @code{net/http} module.")
(license license:expat)))
+(define-public go-github-com-whyrusleeping-json-filter
+ (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
+ (revision "0"))
+ (package
+ (name "go-github-com-whyrusleeping-json-filter")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/whyrusleeping/json-filter")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path
+ "github.com/whyrusleeping/json-filter"))
+ (home-page "https://github.com/whyrusleeping/json-filter")
+ (synopsis "Library to query JSON objects marshalled into map[string]interface")
+ (description "A library to query JSON objects marshalled into
+@command{map[string]interface{}}.")
+ (license license:expat))))
+
(define-public go-github-com-xeipuuv-gojsonpointer
(let ((commit "4e3ac2762d5f479393488629ee9370b50873b3a6")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cf2c0dcfc0..3f93f6eaee 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6508,32 +6508,6 @@ (define-public go-github-com-pmezard-go-difflib
(description "This package provides unified and context-aware diffs in Go.")
(license license:bsd-3)))
-(define-public go-github-com-whyrusleeping-json-filter
- (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
- (revision "0"))
- (package
- (name "go-github-com-whyrusleeping-json-filter")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/whyrusleeping/json-filter")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path
- "github.com/whyrusleeping/json-filter"))
- (home-page "https://github.com/whyrusleeping/json-filter")
- (synopsis "Library to query JSON objects marshalled into map[string]interface")
- (description "A library to query JSON objects marshalled into
-@command{map[string]interface{}}.")
- (license license:expat))))
-
(define-public go-github-com-whyrusleeping-progmeter
(let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 61/67] gnu: go-github-com-stretchr-objx: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (58 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 60/67] gnu: go-github-com-whyrusleeping-json-filter: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 62/67] gnu: go-github-com-google-go-github: " Sharlatan Hellseher
` (5 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-stretchr-objx,
go-github-com-stretchr-testify-bootstrap): Move from here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I357edfb72b789da67f821ae63afe30f18fc1cb39
---
gnu/packages/golang-check.scm | 51 ++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 52 -----------------------------------
2 files changed, 51 insertions(+), 52 deletions(-)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 42e501a6e3..b74864d808 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -378,6 +378,46 @@ (define-public go-github-com-onsi-ginkgo
Gomega matcher library.")
(license license:expat)))
+(define-public go-github-com-stretchr-objx
+ (package
+ (name "go-github-com-stretchr-objx")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/stretchr/objx")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0dygds32qxx6x1x2mmn7msyjr15qi5r70pyzv8dz8cprxq32nzc1"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "vendor")))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/stretchr/objx"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs #:allow-other-keys #:rest args)
+ (unless
+ ;; The tests fail when run with gccgo.
+ (false-if-exception (search-input-file inputs "/bin/gccgo"))
+ (apply (assoc-ref %standard-phases 'check) args)))))))
+ (propagated-inputs
+ (list go-github-com-davecgh-go-spew
+ go-github-com-pmezard-go-difflib))
+ (inputs
+ (list go-github-com-stretchr-testify-bootstrap))
+ (home-page "https://github.com/stretchr/objx")
+ (synopsis "Go package for dealing with maps, slices, JSON and other data")
+ (description "This package provides a Go library for dealing with maps,
+slices, JSON and other data.")
+ (license license:expat)))
+
(define-public go-github-com-stretchr-testify
(package
(name "go-github-com-stretchr-testify")
@@ -414,6 +454,17 @@ (define-public go-github-com-stretchr-testify
@end itemize")
(license license:expat)))
+(define go-github-com-stretchr-testify-bootstrap
+ (package
+ (inherit go-github-com-stretchr-testify)
+ (arguments
+ '(#:import-path "github.com/stretchr/testify"
+ #:tests? #f
+ #:phases (modify-phases %standard-phases
+ (delete 'build))))
+ (propagated-inputs
+ (list go-gopkg-in-yaml-v3))))
+
(define-public go-github-com-tdewolff-test
(package
(name "go-github-com-tdewolff-test")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3f93f6eaee..feb1295e7b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4110,58 +4110,6 @@ (define-public go-github-com-jpillora-backoff
Go.")
(license license:expat))))
-(define-public go-github-com-stretchr-objx
- (package
- (name "go-github-com-stretchr-objx")
- (version "0.4.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/stretchr/objx")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0dygds32qxx6x1x2mmn7msyjr15qi5r70pyzv8dz8cprxq32nzc1"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file-recursively "vendor")))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/stretchr/objx"
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys #:rest args)
- (unless
- ;; The tests fail when run with gccgo.
- (false-if-exception (search-input-file inputs "/bin/gccgo"))
- (apply (assoc-ref %standard-phases 'check) args)))))))
- (propagated-inputs
- (list go-github-com-davecgh-go-spew
- go-github-com-pmezard-go-difflib))
- (inputs
- (list go-github-com-stretchr-testify-bootstrap))
- (home-page "https://github.com/stretchr/objx")
- (synopsis "Go package for dealing with maps, slices, JSON and other data")
- (description "This package provides a Go library for dealing with maps,
-slices, JSON and other data.")
- (license license:expat)))
-
-(define go-github-com-stretchr-testify-bootstrap
- (package
- (inherit go-github-com-stretchr-testify)
- (arguments
- '(#:import-path "github.com/stretchr/testify"
- #:tests? #f
- #:phases (modify-phases %standard-phases
- (delete 'build))))
- (propagated-inputs
- (list go-gopkg-in-yaml-v3))))
-
(define-public go-github-com-technoweenie-multipartstreamer
(package
(name "go-github-com-technoweenie-multipartstreamer")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 62/67] gnu: go-github-com-google-go-github: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (59 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 61/67] gnu: go-github-com-stretchr-objx: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 63/67] gnu: go-cloud-google-com-go-compute-metadata: " Sharlatan Hellseher
` (4 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-google-go-github): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I17711a8f0bfd58a12cf805f1678688d2946c985b
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index fbfa1049a4..20c3b0f3e1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -538,6 +538,32 @@ (define-public go-github-com-goccy-go-json
(description "Fast JSON encoder/decoder compatible with encoding/json for Go.")
(license license:expat)))
+(define-public go-github-com-google-go-github
+ (package
+ (name "go-github-com-google-go-github")
+ (version "26.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/go-github")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:tests? #f ;application/octet-stream instead of text/plain
+ #:import-path "github.com/google/go-github/v26/github"
+ #:unpack-path "github.com/google/go-github/v26"))
+ (native-inputs
+ (list go-github-com-google-go-querystring go-golang-org-x-crypto))
+ (home-page "https://github.com/google/go-github/")
+ (synopsis "Client library for accessing the GitHub API v3")
+ (description "@code{go-github} is a Go client library for accessing the
+GitHub API v3.")
+ (license license:bsd-3)))
+
(define-public go-github-com-google-safehtml
(package
(name "go-github-com-google-safehtml")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index feb1295e7b..3ffe569ed5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7689,32 +7689,6 @@ (define-public go-github-com-google-go-querystring
into URL query parameters.")
(license license:bsd-3))))
-(define-public go-github-com-google-go-github
- (package
- (name "go-github-com-google-go-github")
- (version "26.1.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/google/go-github")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
- (build-system go-build-system)
- (arguments
- `(#:tests? #f ;application/octet-stream instead of text/plain
- #:import-path "github.com/google/go-github/v26/github"
- #:unpack-path "github.com/google/go-github/v26"))
- (native-inputs
- (list go-github-com-google-go-querystring go-golang-org-x-crypto))
- (home-page "https://github.com/google/go-github/")
- (synopsis "Client library for accessing the GitHub API v3")
- (description "@code{go-github} is a Go client library for accessing the
-GitHub API v3.")
- (license license:bsd-3)))
-
(define-public go-github-com-google-renameio
(package
(name "go-github-com-google-renameio")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 63/67] gnu: go-cloud-google-com-go-compute-metadata: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (60 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 62/67] gnu: go-github-com-google-go-github: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 64/67] gnu: go-github-com-getsentry-raven-go: " Sharlatan Hellseher
` (3 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-cloud-google-com-go-compute-metadata): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/mail.scm: Add (gnu packages golang-web) module.
Change-Id: Ic97e5f4afd26376d37860fbb4758e8037e758f58
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
gnu/packages/mail.scm | 1 +
3 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 20c3b0f3e1..c046e0d46a 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
+;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Adam Kandur <kefironpremise@gmail.com>
@@ -55,6 +56,32 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-cloud-google-com-go-compute-metadata
+ (package
+ (name "go-cloud-google-com-go-compute-metadata")
+ (version "0.81.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googleapis/google-cloud-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15jgynqb5pbxqbj3a7ii970yn4srsw1dbxzxnhpkfkmplalpgyh3"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:unpack-path "cloud.google.com/go"
+ #:import-path "cloud.google.com/go/compute/metadata"))
+ (home-page
+ "https://pkg.go.dev/cloud.google.com/go/compute/metadata")
+ (synopsis
+ "Go wrapper for Google Compute Engine metadata service")
+ (description
+ "This package provides access to Google Compute Engine (GCE) metadata and
+API service accounts for Go.")
+ (license license:asl2.0)))
+
(define-public go-github-com-andybalholm-cascadia
(package
(name "go-github-com-andybalholm-cascadia")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3ffe569ed5..d53fa5864a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4224,33 +4224,6 @@ (define-public go-github-com-blang-semver
(description "Semver is a library for Semantic versioning written in Go.")
(license license:expat))))
-(define-public go-cloud-google-com-go-compute-metadata
- (package
- (name "go-cloud-google-com-go-compute-metadata")
- (version "0.81.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/googleapis/google-cloud-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "15jgynqb5pbxqbj3a7ii970yn4srsw1dbxzxnhpkfkmplalpgyh3"))))
- (build-system go-build-system)
- (arguments
- '(#:unpack-path "cloud.google.com/go"
- #:import-path "cloud.google.com/go/compute/metadata"))
- (home-page
- "https://pkg.go.dev/cloud.google.com/go/compute/metadata")
- (synopsis
- "Go wrapper for Google Compute Engine metadata service")
- (description
- "This package provides access to Google Compute Engine (GCE) metadata and
-API service accounts for Go.")
- (license license:asl2.0)))
-
(define-public go-github-com-google-cadvisor
(let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
(revision "0"))
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 5b5b29a468..d57d1f9980 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -109,6 +109,7 @@ (define-module (gnu packages mail)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages groff)
#:use-module (gnu packages gsasl)
#:use-module (gnu packages gtk)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 64/67] gnu: go-github-com-getsentry-raven-go: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (61 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 63/67] gnu: go-cloud-google-com-go-compute-metadata: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 65/67] gnu: go-github-com-go-telegram-bot-api-telegram-bot-api: " Sharlatan Hellseher
` (2 subsequent siblings)
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-getsentry-raven-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: If7e155b3e85d8bda8fd099f6a4d1eb6b87e9eee3
---
gnu/packages/golang-web.scm | 31 +++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 31 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c046e0d46a..41c8c37a0b 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
+;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
@@ -45,6 +46,7 @@ (define-module (gnu packages golang-web)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages tls)
#:use-module (gnu packages web))
;;; Commentary:
@@ -521,6 +523,35 @@ (define-public go-github-com-francoispqt-gojay
(home-page "https://github.com/francoispqt/gojay")
(license license:expat)))
+;; TODO: This repository has been archived by the owner on Aug 30, 2023. It is
+;; now read-only. The raven-go SDK is no longer maintained and was superseded
+;; by the sentry-go
+(define-public go-github-com-getsentry-raven-go
+ (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
+ (revision "0"))
+ (package
+ (name "go-github-com-getsentry-raven-go")
+ (version (git-version "0.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/getsentry/raven-go")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/getsentry/raven-go"))
+ (propagated-inputs
+ (list go-github-com-certifi-gocertifi go-github-com-pkg-errors))
+ (home-page "https://github.com/getsentry/raven-go")
+ (synopsis "Sentry client in Go")
+ (description "This package is a Go client API for the Sentry event/error
+logging system.")
+ (license license:bsd-3))))
+
(define-public go-github-com-go-chi-chi-v5
(package
(name "go-github-com-go-chi-chi-v5")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d53fa5864a..d4d8d352a5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4002,33 +4002,6 @@ (define-public go-github-com-burntsushi-toml
is similar to Go's standard library @code{json} and @code{xml} package.")
(license license:expat)))
-(define-public go-github-com-getsentry-raven-go
- (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
- (revision "0"))
- (package
- (name "go-github-com-getsentry-raven-go")
- (version (git-version "0.2.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/getsentry/raven-go")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/getsentry/raven-go"))
- (propagated-inputs
- (list go-github-com-certifi-gocertifi go-github-com-pkg-errors))
- (home-page "https://github.com/getsentry/raven-go")
- (synopsis "Sentry client in Go")
- (description "This package is a Go client API for the Sentry event/error
-logging system.")
- (license license:bsd-3))))
-
(define-public go-github-com-hashicorp-go-uuid
(package
(name "go-github-com-hashicorp-go-uuid")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 65/67] gnu: go-github-com-go-telegram-bot-api-telegram-bot-api: Move to (gnu packages golang-web).
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (62 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 64/67] gnu: go-github-com-getsentry-raven-go: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 66/67] gnu: actionlint: Update to 1.6.26 Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 67/67] teams: go-team: Extend scope Sharlatan Hellseher
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang.scm (go-github-com-go-telegram-bot-api-telegram-bot-api): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ia631773394faaff150c18b074c943565f6998e1f
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 41c8c37a0b..7759916c35 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -575,6 +575,31 @@ (define-public go-github-com-go-chi-chi-v5
decompose request handling into many smaller layers.")
(license license:expat)))
+(define-public go-github-com-go-telegram-bot-api-telegram-bot-api
+ (package
+ (name "go-github-com-go-telegram-bot-api-telegram-bot-api")
+ (version "4.6.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-telegram-bot-api/telegram-bot-api")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1x6j0k3aiicsr8l53na99ci10zm3qpn2syz4f60fzh164w5k1l7w"))))
+ (build-system go-build-system)
+ (home-page "https://go-telegram-bot-api.dev/")
+ (arguments
+ (list #:tests? #f ; Upstream tests are broken.
+ #:import-path "github.com/go-telegram-bot-api/telegram-bot-api"))
+ (propagated-inputs
+ (list go-github-com-technoweenie-multipartstreamer))
+ (synopsis "Golang bindings for the Telegram Bot API")
+ (description
+ "This package provides Golang bindings for the Telegram Bot API.")
+ (license license:expat)))
+
(define-public go-github-com-goccy-go-json
(package
(name "go-github-com-goccy-go-json")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d4d8d352a5..740ddbe440 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9921,31 +9921,6 @@ (define-public go-github-com-tekwizely-go-parsing
parsers, and related tools.")
(license license:expat))))
-(define-public go-github-com-go-telegram-bot-api-telegram-bot-api
- (package
- (name "go-github-com-go-telegram-bot-api-telegram-bot-api")
- (version "4.6.4")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/go-telegram-bot-api/telegram-bot-api")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1x6j0k3aiicsr8l53na99ci10zm3qpn2syz4f60fzh164w5k1l7w"))))
- (build-system go-build-system)
- (home-page "https://go-telegram-bot-api.dev/")
- (arguments
- (list #:tests? #f ; Upstream tests are broken.
- #:import-path "github.com/go-telegram-bot-api/telegram-bot-api"))
- (propagated-inputs
- (list go-github-com-technoweenie-multipartstreamer))
- (synopsis "Golang bindings for the Telegram Bot API")
- (description
- "This package provides Golang bindings for the Telegram Bot API.")
- (license license:expat)))
-
(define-public go-github.com-ulikunitz-xz
(package
(name "go-github.com-ulikunitz-xz")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 66/67] gnu: actionlint: Update to 1.6.26.
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (63 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 65/67] gnu: go-github-com-go-telegram-bot-api-telegram-bot-api: " Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
2023-11-08 0:41 ` [bug#66827] [PATCH 67/67] teams: go-team: Extend scope Sharlatan Hellseher
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/check.scm (actionlint): Update to 1.6.26.
[inputs]: Swap go-github-com-robfig-cron-1.2 to go-github-com-robfig-cron
* gnu/packages/golang.scm (go-github-com-robfig-cron-1.2): Delete variable.
Change-Id: Ie2c25254ffefb99f8808f74ae4a9d85bbbcb6437
---
gnu/packages/check.scm | 8 ++++----
gnu/packages/golang.scm | 18 ------------------
2 files changed, 4 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index cf26196a24..fc338394bf 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -39,7 +39,7 @@
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022, 2023 David Elsing <david.elsing@posteo.net>
-;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2022, 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; Copyright © 2023 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
@@ -1069,7 +1069,7 @@ (define-public cpputest
(define-public actionlint
(package
(name "actionlint")
- (version "1.6.23")
+ (version "1.6.26")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1078,7 +1078,7 @@ (define-public actionlint
(file-name (git-file-name name version))
(sha256
(base32
- "07is4920a40zrl7mfldg0az2pisi7f6dv4vh3ijn3nzb4i7fqbni"))))
+ "0j4ni2cryvqn3qim1r6q6sargh0wig6l4vjjwc40cgqvvkrdla04"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/rhysd/actionlint/cmd/actionlint"
@@ -1087,7 +1087,7 @@ (define-public actionlint
(inputs (list go-github-com-fatih-color
go-github-com-mattn-go-colorable
go-github-com-mattn-go-runewidth
- go-github-com-robfig-cron-1.2
+ go-github-com-robfig-cron
go-golang.org-x-sync-errgroup
go-golang.org-x-sync-semaphore
go-gopkg-in-yaml-v3))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 740ddbe440..cdf0f23a90 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7164,24 +7164,6 @@ (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"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH 67/67] teams: go-team: Extend scope.
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (64 preceding siblings ...)
2023-11-08 0:41 ` [bug#66827] [PATCH 66/67] gnu: actionlint: Update to 1.6.26 Sharlatan Hellseher
@ 2023-11-08 0:41 ` Sharlatan Hellseher
65 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-08 0:41 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* etc/teams.scm: Add regex for all gnu/packages/golang.* files. Add
gnu/packages/syncthing.scm.
Change-Id: I47f43ea2c42b5c86f6a07a38fbaa4170743c4203
---
etc/teams.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/etc/teams.scm b/etc/teams.scm
index 2f920a5876..90cfe42811 100755
--- a/etc/teams.scm
+++ b/etc/teams.scm
@@ -299,7 +299,8 @@ (define-team ruby
(define-team go
(team 'go
#:name "Go team"
- #:scope (list "gnu/packages/golang.scm"
+ #:scope (list "gnu/packages/golang(-.+|)\\.scm$"
+ "gnu/packages/syncthing.scm"
"guix/build/go-build-system.scm"
"guix/build-system/go.scm"
"guix/import/go.scm"
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827]
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (69 preceding siblings ...)
2023-11-08 0:40 ` [bug#66827] [PATCH 01/67] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
@ 2023-11-13 20:00 ` Sharlatan Hellseher
2024-01-03 21:44 ` bug#66827: none Maxim Cournoyer
2023-11-20 17:44 ` [bug#66827] Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
72 siblings, 1 reply; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-13 20:00 UTC (permalink / raw)
To: 66827; +Cc: Christopher Baines, Maxim Cournoyer
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
Hi,
Gentle ping here and I might need some encouragement to grasp status
"pending" .
It lists some build failures and lint warnings which were present
previously. I may submit adjustment in separate issue when this one is
merged.
Thanks,
Oleg
[-- Attachment #2: Type: text/html, Size: 412 bytes --]
^ permalink raw reply [flat|nested] 206+ messages in thread
* bug#66827: none
2023-11-13 20:00 ` [bug#66827] Sharlatan Hellseher
@ 2024-01-03 21:44 ` Maxim Cournoyer
0 siblings, 0 replies; 206+ messages in thread
From: Maxim Cournoyer @ 2024-01-03 21:44 UTC (permalink / raw)
To: Sharlatan Hellseher; +Cc: 66827-done, Christopher Baines
Hi,
Sharlatan Hellseher <sharlatanus@gmail.com> writes:
> Hi,
>
> Gentle ping here and I might need some encouragement to grasp status
> "pending" .
> It lists some build failures and lint warnings which were present
> previously. I may submit adjustment in separate issue when this one is
> merged.
I've now merged it, sorry for the delay!
Thank you for this excellent work!
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 206+ messages in thread
* [bug#66827]
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (70 preceding siblings ...)
2023-11-13 20:00 ` [bug#66827] Sharlatan Hellseher
@ 2023-11-20 17:44 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
72 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-20 17:44 UTC (permalink / raw)
To: 66827; +Cc: Christopher Baines, Maxim Cournoyer
[-- Attachment #1: Type: text/plain, Size: 162 bytes --]
Hi Guix,
It looks like QA is still pending here. Probably it needs to be rebased on
a fresh master HEAD. Please, let me know if I need to send v3.
Thanks,
Oleg
[-- Attachment #2: Type: text/html, Size: 298 bytes --]
^ permalink raw reply [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module.
2023-10-30 1:05 [bug#66827] [PATCH 00/67] Split (gnu packages golang) part II Sharlatan Hellseher
` (71 preceding siblings ...)
2023-11-20 17:44 ` [bug#66827] Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 02/66] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web) Sharlatan Hellseher
` (64 more replies)
72 siblings, 65 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm: New file.
* gnu/local.mk: Add to gnu/packages/golang-web.scm scope.
---
gnu/local.mk | 1 +
gnu/packages/golang-web.scm | 39 +++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
create mode 100644 gnu/packages/golang-web.scm
diff --git a/gnu/local.mk b/gnu/local.mk
index a8142bb0f2..aa9403a8eb 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -304,6 +304,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/gobby.scm \
%D%/packages/golang.scm \
%D%/packages/golang-check.scm \
+ %D%/packages/golang-web.scm \
%D%/packages/gperf.scm \
%D%/packages/gpodder.scm \
%D%/packages/gps.scm \
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
new file mode 100644
index 0000000000..feb2854d9c
--- /dev/null
+++ b/gnu/packages/golang-web.scm
@@ -0,0 +1,39 @@
+;;; GNU Guix --- Functional package management for GNU
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages golang-web)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix build-system go)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages golang))
+
+;;; Commentary:
+;;;
+;;; Golang modules (libraries) related to HTML, CSS, SCSS, JavaScript, JSON,
+;;; Web-framework, REST-API or similar functionality.
+;;;
+;;; Please: Try to add new module packages in alphabetic order.
+;;;
+;;; Code:
+\f
+;;;
+;;; Avoid adding new packages to the end of this file. To reduce the chances
+;;; of a merge conflict, place them above by existing packages with similar
+;;; functionality or similar names.
+;;;
base-commit: 62376e3eb67644454bc655bed56be4be965bd13e
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 02/66] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 03/66] gnu: go-github-com-gorilla-css: " Sharlatan Hellseher
` (63 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-gorilla-mux): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/finance.scm: Add (gnu packages golang-web) module.
* gnu/packages/web.scm: As above...
Change-Id: I1cb94377d581af93593dbb29cb60ddf5fb287ada
---
gnu/packages/finance.scm | 1 +
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
gnu/packages/web.scm | 1 +
4 files changed, 27 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index cd419f2102..5ff86bcb72 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -93,6 +93,7 @@ (define-module (gnu packages finance)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages groff)
#:use-module (gnu packages gsasl)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index feb2854d9c..c779600411 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,4 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
+;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,6 +34,29 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-gorilla-mux
+ (package
+ (name "go-github-com-gorilla-mux")
+ (version "1.8.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/mux")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18f0q9qxgq1yh4ji07mqhiydfcwvi56z9d775v7dc7yckj33kpdk"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/mux"))
+ (home-page "https://github.com/gorilla/mux")
+ (synopsis "URL router and dispatcher for Go")
+ (description
+ "Gorilla/Mux implements a request router and dispatcher for matching
+incoming requests with their respective handler.")
+ (license license:bsd-3)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5e9211026b..7e796db5a9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4737,30 +4737,6 @@ (define-public go-github-com-gorilla-context
(description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
(license license:bsd-3))))
-(define-public go-github-com-gorilla-mux
- (package
- (name "go-github-com-gorilla-mux")
- (version "1.8.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/mux")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "18f0q9qxgq1yh4ji07mqhiydfcwvi56z9d775v7dc7yckj33kpdk"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/mux"))
- (home-page "https://github.com/gorilla/mux")
- (synopsis "URL router and dispatcher for Go")
- (description
- "Gorilla/Mux implements a request router and dispatcher for matching
-incoming requests with their respective handler.")
- (license license:bsd-3)))
-
(define-public go-github-com-andybalholm-brotli
(package
(name "go-github-com-andybalholm-brotli")
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 4a4252138b..3837dcb043 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -142,6 +142,7 @@ (define-module (gnu packages web)
#:use-module (gnu packages gnunet)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages gperf)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 03/66] gnu: go-github-com-gorilla-css: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 02/66] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 04/66] gnu: go-github-com-aymerick-douceur: " Sharlatan Hellseher
` (62 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-gorilla-css): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/configuration-management.sc: Add (gnu packages golang-web) module.
* gnu/packages/golang.scm: As above...
Change-Id: I6e387966d05c40321b9116b93d76fce68aad8c7f
---
gnu/packages/configuration-management.scm | 1 +
gnu/packages/golang-web.scm | 23 +++++++++++++++++++++++
gnu/packages/golang.scm | 23 +----------------------
3 files changed, 25 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/configuration-management.scm b/gnu/packages/configuration-management.scm
index 95a7e8615f..296f48dcd5 100644
--- a/gnu/packages/configuration-management.scm
+++ b/gnu/packages/configuration-management.scm
@@ -21,6 +21,7 @@ (define-module (gnu packages configuration-management)
#:use-module (guix build-system go)
#:use-module (guix git-download)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages version-control)
#:use-module (gnu packages textutils)
#:use-module ((guix licenses) #:prefix license:)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c779600411..1d61a76268 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -34,6 +35,28 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-gorilla-css
+ (package
+ (name "go-github-com-gorilla-css")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/css")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/gorilla/css/scanner"
+ #:unpack-path "github.com/gorilla/css"))
+ (home-page "https://github.com/gorilla/css/")
+ (synopsis "CSS3 tokenizer")
+ (description "This package provides a CSS3 tokenizer.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-mux
(package
(name "go-github-com-gorilla-mux")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7e796db5a9..0c7d22281a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -80,6 +80,7 @@ (define-module (gnu packages golang)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages lua)
#:use-module (gnu packages mail)
#:use-module (gnu packages mp3)
@@ -4691,28 +4692,6 @@ (define-public go-github-com-google-cadvisor
containers.")
(license license:asl2.0))))
-(define-public go-github-com-gorilla-css
- (package
- (name "go-github-com-gorilla-css")
- (version "1.0.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/css")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "116fhy3n7bsq3psyn4pa0i4x9zy916kh1zxslmbbp0p9l4i7ysrj"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/gorilla/css/scanner"
- #:unpack-path "github.com/gorilla/css"))
- (home-page "https://github.com/gorilla/css/")
- (synopsis "CSS3 tokenizer")
- (description "This package provides a CSS3 tokenizer.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-context
(let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 04/66] gnu: go-github-com-aymerick-douceur: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 02/66] gnu: go-github-com-gorilla-mux: Move to (gnu packages golang-web) Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 03/66] gnu: go-github-com-gorilla-css: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 05/66] gnu: go-github-com-andybalholm-cascadia: " Sharlatan Hellseher
` (61 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aymerick-douceur): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I2e94858736f88333f56d4eb4301acd35e6bb1a33
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1d61a76268..39a83990ce 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -35,6 +35,32 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-aymerick-douceur
+ (package
+ (name "go-github-com-aymerick-douceur")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aymerick/douceur/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/aymerick/douceur"))
+ (native-inputs
+ (list go-github-com-andybalholm-cascadia
+ go-github-com-gorilla-css
+ go-github-com-puerkitobio-goquery
+ go-golang-org-x-net))
+ (home-page "https://github.com/aymerick/douceur/")
+ (synopsis "CSS parser and inliner")
+ (description "This package provides a CSS parser and inliner.")
+ (license license:expat)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0c7d22281a..3aad98c9ef 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9405,31 +9405,6 @@ (define-public go-github-com-jmespath-go-jmespath
transforms one JSON document into another through a JMESPath expression.")
(license license:asl2.0)))
-(define-public go-github-com-aymerick-douceur
- (package
- (name "go-github-com-aymerick-douceur")
- (version "0.2.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aymerick/douceur/")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/aymerick/douceur"))
- (native-inputs
- (list go-github-com-puerkitobio-goquery
- go-github-com-andybalholm-cascadia go-golang-org-x-net
- go-github-com-gorilla-css))
- (home-page "https://github.com/aymerick/douceur/")
- (synopsis "CSS parser and inliner")
- (description "This package provides a CSS parser and inliner.")
- (license license:expat)))
-
(define-public go-github-com-chris-ramon-douceur
(package
(name "go-github-com-chris-ramon-douceur")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 05/66] gnu: go-github-com-andybalholm-cascadia: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (2 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 04/66] gnu: go-github-com-aymerick-douceur: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 06/66] gnu: go-github-com-puerkitobio-goquery: " Sharlatan Hellseher
` (60 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-andybalholm-cascadia): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I185cb923d21685eb5a3952b9990833d3a0709312
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 39a83990ce..3c1abfff2c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,6 +36,30 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-github-com-andybalholm-cascadia
+ (package
+ (name "go-github-com-andybalholm-cascadia")
+ (version "1.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/andybalholm/cascadia")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zgc9fjkn7d66cnmgnmalr9lrq4ii1spap95pf2x1hln4pflib5s"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/andybalholm/cascadia"))
+ (native-inputs
+ (list go-golang-org-x-net))
+ (home-page "https://github.com/andybalholm/cascadia/")
+ (synopsis "CSS selectors for HTML")
+ (description "The Cascadia package implements CSS selectors for use with
+the parse trees produced by the html package.")
+ (license license:bsd-2)))
+
(define-public go-github-com-aymerick-douceur
(package
(name "go-github-com-aymerick-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3aad98c9ef..a6365a9686 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9330,30 +9330,6 @@ (define-public go-github-com-alecthomas-chroma
converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
(license license:expat)))
-(define-public go-github-com-andybalholm-cascadia
- (package
- (name "go-github-com-andybalholm-cascadia")
- (version "1.3.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/andybalholm/cascadia")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0zgc9fjkn7d66cnmgnmalr9lrq4ii1spap95pf2x1hln4pflib5s"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/andybalholm/cascadia"))
- (native-inputs
- (list go-golang-org-x-net))
- (home-page "https://github.com/andybalholm/cascadia/")
- (synopsis "CSS selectors for HTML")
- (description "The Cascadia package implements CSS selectors for use with
-the parse trees produced by the html package.")
- (license license:bsd-2)))
-
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 06/66] gnu: go-github-com-puerkitobio-goquery: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (3 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 05/66] gnu: go-github-com-andybalholm-cascadia: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 07/66] gnu: go-github-com-chris-ramon-douceur: " Sharlatan Hellseher
` (59 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-puerkitobio-goquery): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic0415a8b280ebd12086a5976c9765c1dbbf50bd2
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3c1abfff2c..8d8b4fb85c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,6 +2,8 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
@@ -131,6 +133,30 @@ (define-public go-github-com-gorilla-mux
incoming requests with their respective handler.")
(license license:bsd-3)))
+(define-public go-github-com-puerkitobio-goquery
+ (package
+ (name "go-github-com-puerkitobio-goquery")
+ (version "1.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/PuerkitoBio/goquery")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0gh1d99l5xc9hvwa4j40pfq3y9vfyq52mnrz6bf1kw2r2zr2gbcc"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/PuerkitoBio/goquery"))
+ (propagated-inputs
+ (list go-github-com-andybalholm-cascadia go-golang-org-x-net))
+ (home-page "https://github.com/PuerkitoBio/goquery")
+ (synopsis "Features similar to jQuery to the Go language")
+ (description "@code{goquery} brings a syntax and a set of features similar
+to jQuery to the Go language.")
+ (license license:bsd-3)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a6365a9686..7868f71206 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9330,30 +9330,6 @@ (define-public go-github-com-alecthomas-chroma
converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
(license license:expat)))
-(define-public go-github-com-puerkitobio-goquery
- (package
- (name "go-github-com-puerkitobio-goquery")
- (version "1.7.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/PuerkitoBio/goquery")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0gh1d99l5xc9hvwa4j40pfq3y9vfyq52mnrz6bf1kw2r2zr2gbcc"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/PuerkitoBio/goquery"))
- (propagated-inputs
- (list go-github-com-andybalholm-cascadia go-golang-org-x-net))
- (home-page "https://github.com/PuerkitoBio/goquery")
- (synopsis "Features similar to jQuery to the Go language")
- (description "@code{goquery} brings a syntax and a set of features similar
-to jQuery to the Go language.")
- (license license:bsd-3)))
-
(define-public go-github-com-jmespath-go-jmespath
(package
(name "go-github-com-jmespath-go-jmespath")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 07/66] gnu: go-github-com-chris-ramon-douceur: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (4 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 06/66] gnu: go-github-com-puerkitobio-goquery: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 08/66] gnu: go-github-com-gorilla-websocket: " Sharlatan Hellseher
` (58 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-chris-ramon-douceur): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I9d0fdccc4ff557870dad60e9ac062ccb2e995979
---
gnu/packages/golang-web.scm | 30 +++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 28 ----------------------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 8d8b4fb85c..79a69bc842 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
-;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
@@ -88,6 +88,34 @@ (define-public go-github-com-aymerick-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-chris-ramon-douceur
+ (package
+ (name "go-github-com-chris-ramon-douceur")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/chris-ramon/douceur")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/chris-ramon/douceur"))
+ (propagated-inputs
+ (list go-github-com-aymerick-douceur
+ go-github-com-gorilla-css))
+ (native-inputs
+ (list go-github-com-puerkitobio-goquery
+ go-github-com-andybalholm-cascadia
+ go-golang-org-x-net))
+ (home-page "https://github.com/chris-ramon/douceur/")
+ (synopsis "CSS parser and inliner")
+ (description "This package provides a CSS parser and inliner.")
+ (license license:expat)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7868f71206..a4f13b8c9d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9357,34 +9357,6 @@ (define-public go-github-com-jmespath-go-jmespath
transforms one JSON document into another through a JMESPath expression.")
(license license:asl2.0)))
-(define-public go-github-com-chris-ramon-douceur
- (package
- (name "go-github-com-chris-ramon-douceur")
- (version "0.2.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/chris-ramon/douceur")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1hfysznib0fqbp8vqxpk0xiggpp0ayk2bsddi36vbg6f8zq5f81n"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/chris-ramon/douceur"))
- (propagated-inputs
- (list go-github-com-aymerick-douceur
- go-github-com-gorilla-css))
- (native-inputs
- (list go-github-com-puerkitobio-goquery
- go-github-com-andybalholm-cascadia
- go-golang-org-x-net))
- (home-page "https://github.com/chris-ramon/douceur/")
- (synopsis "CSS parser and inliner")
- (description "This package provides a CSS parser and inliner.")
- (license license:expat)))
-
(define-public go-github-com-microcosm-cc-bluemonday
(package
(name "go-github-com-microcosm-cc-bluemonday")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 08/66] gnu: go-github-com-gorilla-websocket: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (5 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 07/66] gnu: go-github-com-chris-ramon-douceur: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 09/66] gnu: go-github-com-sourcegraph-jsonrpc2: " Sharlatan Hellseher
` (57 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-gorilla-websocket): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/ipfs.scm: Add (gnu packages golang-web) module.
Change-Id: I844738ec0b178a6a1746b01659c93a20919c2736
---
gnu/packages/golang-web.scm | 23 +++++++++++++++++++++++
gnu/packages/golang.scm | 21 ---------------------
gnu/packages/ipfs.scm | 1 +
3 files changed, 24 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 79a69bc842..0ca70cec38 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2022 muradm <mail@muradm.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -161,6 +162,28 @@ (define-public go-github-com-gorilla-mux
incoming requests with their respective handler.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-websocket
+ (package
+ (name "go-github-com-gorilla-websocket")
+ (version "1.5.0")
+ (home-page "https://github.com/gorilla/websocket")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xrr6snvs9g1nzxxg05w4i4pq6k1xjljl5mvavd838qc468n118i"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/gorilla/websocket"))
+ (synopsis "Fast WebSocket implementation for Go")
+ (description "Gorilla WebSocket is a Go implementation of the WebSocket
+protocol.")
+ (license license:bsd-2)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a4f13b8c9d..a3c6df391b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12773,27 +12773,6 @@ (define-public go-github-com-google-shlex
using shell-style rules for quoting and commenting.")
(license license:asl2.0)))
-(define-public go-github-com-gorilla-websocket
- (package
- (name "go-github-com-gorilla-websocket")
- (version "1.5.0")
- (home-page "https://github.com/gorilla/websocket")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1xrr6snvs9g1nzxxg05w4i4pq6k1xjljl5mvavd838qc468n118i"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/gorilla/websocket"))
- (synopsis "Fast WebSocket implementation for Go")
- (description "Gorilla WebSocket is a Go implementation of the WebSocket protocol.")
- (license license:bsd-2)))
-
(define-public go-github-com-sourcegraph-jsonrpc2
(package
(name "go-github-com-sourcegraph-jsonrpc2")
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index a4c0613e40..fc66582c8a 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -30,6 +30,7 @@ (define-module (gnu packages ipfs)
#:use-module (guix build-system go)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages python)
#:use-module (gnu packages shells)
#:use-module (gnu packages syncthing))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 09/66] gnu: go-github-com-sourcegraph-jsonrpc2: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (6 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 08/66] gnu: go-github-com-gorilla-websocket: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 10/66] gnu: go-github-com-gorilla-handlers: " Sharlatan Hellseher
` (56 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-sourcegraph-jsonrpc2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/databases.scm: Add (gnu packages golang-web) module.
Change-Id: Idda2e18ae5d3e19f72265bdd017eadddc25bcad9
---
gnu/packages/databases.scm | 1 +
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
3 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index f0ea100c3b..eb135b05fd 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -108,6 +108,7 @@ (define-module (gnu packages databases)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages gperf)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 0ca70cec38..f9e7039707 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -208,6 +208,32 @@ (define-public go-github-com-puerkitobio-goquery
to jQuery to the Go language.")
(license license:bsd-3)))
+(define-public go-github-com-sourcegraph-jsonrpc2
+ (package
+ (name "go-github-com-sourcegraph-jsonrpc2")
+ (version "0.1.0")
+ (home-page "https://github.com/sourcegraph/jsonrpc2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dk0w32k96vxrwnmm24wqx337dn8ylch65qwrbc3wh7whw2xx71q"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/sourcegraph/jsonrpc2"))
+ (propagated-inputs
+ (list go-github-com-daviddengcn-go-colortext
+ go-github-com-gorilla-websocket
+ go-github-com-motemen-go-colorine))
+ (synopsis "Provides a client and server implementation of JSON-RPC 2.0")
+ (description
+ "Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a3c6df391b..723550e76e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12773,32 +12773,6 @@ (define-public go-github-com-google-shlex
using shell-style rules for quoting and commenting.")
(license license:asl2.0)))
-(define-public go-github-com-sourcegraph-jsonrpc2
- (package
- (name "go-github-com-sourcegraph-jsonrpc2")
- (version "0.1.0")
- (home-page "https://github.com/sourcegraph/jsonrpc2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1dk0w32k96vxrwnmm24wqx337dn8ylch65qwrbc3wh7whw2xx71q"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/sourcegraph/jsonrpc2"))
- (propagated-inputs
- (list
- go-github-com-daviddengcn-go-colortext
- go-github-com-motemen-go-colorine
- go-github-com-gorilla-websocket))
- (synopsis "Provides a client and server implementation of JSON-RPC 2.0")
- (description
- "Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
- (license license:expat)))
-
(define-public go-github-com-disintegration-imaging
(package
(name "go-github-com-disintegration-imaging")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 10/66] gnu: go-github-com-gorilla-handlers: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (7 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 09/66] gnu: go-github-com-sourcegraph-jsonrpc2: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 11/66] gnu: go-github-com-gorilla-handlers: Remove input labels Sharlatan Hellseher
` (55 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-gorilla-handlers): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/backup.scm: Add (gnu packages golang-web) module.
Change-Id: I7535bdecc681e230f4aee70115a3dea847d40e6f
---
gnu/packages/backup.scm | 1 +
gnu/packages/golang-web.scm | 28 +++++++++++++++++++++++++++-
gnu/packages/golang.scm | 26 --------------------------
3 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 49b0fe2620..bd0373c931 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -71,6 +71,7 @@ (define-module (gnu packages backup)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages gperf)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index f9e7039707..0480f648eb 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,9 +1,10 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
-;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
;;;
@@ -139,6 +140,31 @@ (define-public go-github-com-gorilla-css
(description "This package provides a CSS3 tokenizer.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-handlers
+ (package
+ (name "go-github-com-gorilla-handlers")
+ (version "1.5.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/handlers")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
+ (arguments
+ '(#:tests? #f ; Tries to download from the internet
+ #:import-path "github.com/gorilla/handlers"))
+ (home-page "https://github.com/gorilla/handlers")
+ (synopsis "Middleware for Go HTTP services and web applications")
+ (description "A collection of useful middleware for Go HTTP services and
+web applications.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-mux
(package
(name "go-github-com-gorilla-mux")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 723550e76e..57330a8d7a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4742,32 +4742,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-handlers
- (package
- (name "go-github-com-gorilla-handlers")
- (version "1.5.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/handlers")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
- (build-system go-build-system)
- (propagated-inputs
- `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
- (arguments
- '(#:tests? #f ; Tries to download from the internet
- #:import-path "github.com/gorilla/handlers"))
- (home-page "https://github.com/gorilla/handlers")
- (synopsis "Middleware for Go HTTP services and web applications")
- (description "A collection of useful middleware for Go HTTP services
-and web applications.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-securecookie
(package
(name "go-github-com-gorilla-securecookie")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 11/66] gnu: go-github-com-gorilla-handlers: Remove input labels.
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (8 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 10/66] gnu: go-github-com-gorilla-handlers: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 12/66] gnu: go-github-com-felixge-httpsnoop: Move to (gnu packages golang-web) Sharlatan Hellseher
` (54 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-gorilla-handlers): Remove labels.
Change-Id: I955408970a64d03823327912fdafcac5d7fbda93
---
gnu/packages/golang-web.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 0480f648eb..3a3c5f9621 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -154,11 +154,11 @@ (define-public go-github-com-gorilla-handlers
(sha256
(base32 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s"))))
(build-system go-build-system)
- (propagated-inputs
- `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop)))
(arguments
'(#:tests? #f ; Tries to download from the internet
#:import-path "github.com/gorilla/handlers"))
+ (propagated-inputs
+ (list go-github-com-felixge-httpsnoop))
(home-page "https://github.com/gorilla/handlers")
(synopsis "Middleware for Go HTTP services and web applications")
(description "A collection of useful middleware for Go HTTP services and
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 12/66] gnu: go-github-com-felixge-httpsnoop: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (9 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 11/66] gnu: go-github-com-gorilla-handlers: Remove input labels Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 13/66] gnu: go-github-com-gorilla-securecookie: " Sharlatan Hellseher
` (53 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-felixge-httpsnoop): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic2494b3e45c934ecddaa621f00f474b9079dc5ed
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 3a3c5f9621..c0ceb5b7ce 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -118,6 +118,30 @@ (define-public go-github-com-chris-ramon-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-felixge-httpsnoop
+ (package
+ (name "go-github-com-felixge-httpsnoop")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/felixge/httpsnoop")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/felixge/httpsnoop"))
+ (home-page "https://github.com/felixge/httpsnoop/")
+ (synopsis "Capture http related metrics")
+ (description
+ "Httpsnoop provides an easy way to capture http related
+metrics (i.e. response time, bytes written, and http status code) from your
+application's http.Handlers.")
+ (license license:expat)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 57330a8d7a..a3706ebb2e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5020,31 +5020,6 @@ (define-public go-github-com-spf13-viper
all types of configuration needs and formats.")
(license license:expat)))
-(define-public go-github-com-felixge-httpsnoop
- (package
- (name "go-github-com-felixge-httpsnoop")
- (version "1.0.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/felixge/httpsnoop")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0ncd8lar5zxiwjhsp315s4hsl4bhnm271h49jhyxc66r5yffgmac"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/felixge/httpsnoop"))
- (home-page "https://github.com/felixge/httpsnoop/")
- (synopsis "Capture http related metrics")
- (description
- "Httpsnoop provides an easy way to capture http related
-metrics (i.e. response time, bytes written, and http status code) from your
-application's http.Handlers.")
- (license license:expat)))
-
(define-public go-github-com-fsnotify-fsnotify
(package
(name "go-github-com-fsnotify-fsnotify")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 13/66] gnu: go-github-com-gorilla-securecookie: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (10 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 12/66] gnu: go-github-com-felixge-httpsnoop: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 14/66] gnu: go-github-com-gorilla-sessions: " Sharlatan Hellseher
` (52 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-gorilla-securecookie): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iae8beed5e7a099033585bcab33cd42d237d2746d
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c0ceb5b7ce..1a77e0f6f2 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -212,6 +212,30 @@ (define-public go-github-com-gorilla-mux
incoming requests with their respective handler.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-securecookie
+ (package
+ (name "go-github-com-gorilla-securecookie")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/securecookie")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/securecookie"))
+ (home-page "https://github.com/gorilla/securecookie")
+ (synopsis "Encodes and decodes authenticated and optionally encrypted
+cookie values")
+ (description
+ "Gorilla/securecookie encodes and decodes authenticated and optionally
+encrypted cookie values for Go web applications.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a3706ebb2e..cab67fea65 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4742,31 +4742,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-securecookie
- (package
- (name "go-github-com-gorilla-securecookie")
- (version "1.1.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/securecookie")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/securecookie"))
- (home-page "https://github.com/gorilla/securecookie")
- (synopsis "Encodes and decodes authenticated and optionally encrypted
-cookie values")
- (description
- "Gorilla/securecookie encodes and decodes authenticated and optionally
-encrypted cookie values for Go web applications.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-sessions
(package
(name "go-github-com-gorilla-sessions")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 14/66] gnu: go-github-com-gorilla-sessions: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (11 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 13/66] gnu: go-github-com-gorilla-securecookie: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 15/66] gnu: go-github-com-jcmturner-gokrb5-v8: " Sharlatan Hellseher
` (51 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-gorilla-sessions): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic4cc128724583a7c50102e476c6b96ea4e322bdd
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1a77e0f6f2..971b370115 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -236,6 +237,32 @@ (define-public go-github-com-gorilla-securecookie
encrypted cookie values for Go web applications.")
(license license:bsd-3)))
+(define-public go-github-com-gorilla-sessions
+ (package
+ (name "go-github-com-gorilla-sessions")
+ (version "1.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/sessions")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zjw2s37yggk9231db0vmgs67z8m3am8i8l4gpgz6fvlbv52baxp"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/sessions"))
+ (propagated-inputs
+ (list go-github-com-gorilla-securecookie))
+ (home-page "https://github.com/gorilla/sessions")
+ (synopsis "Manage user sessions in web applications")
+ (description
+ "This package that provides infrastructure for creating and managing user
+sessions in web applications. It supports cookie and filesystem-based
+sessions, flash messages, custom backends, and more.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cab67fea65..1d169ce227 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4742,31 +4742,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-sessions
- (package
- (name "go-github-com-gorilla-sessions")
- (version "1.2.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/sessions")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1zjw2s37yggk9231db0vmgs67z8m3am8i8l4gpgz6fvlbv52baxp"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/sessions"))
- (propagated-inputs (list go-github-com-gorilla-securecookie))
- (home-page "https://github.com/gorilla/sessions")
- (synopsis "Manage user sessions in web applications")
- (description
- "This package that provides infrastructure for creating and
-managing user sessions in web applications. It supports cookie and
-filesystem-based sessions, flash messages, custom backends, and more.")
- (license license:bsd-3)))
-
(define-public go-github-com-gorilla-csrf
(package
(name "go-github-com-gorilla-csrf")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 15/66] gnu: go-github-com-jcmturner-gokrb5-v8: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (12 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 14/66] gnu: go-github-com-gorilla-sessions: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 16/66] gnu: go-github-com-jcmturner-gokrb5-v8: Adjust inputs Sharlatan Hellseher
` (50 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-jcmturner-gokrb5-v8): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ie7833a1f5712cc3899fd140741774e6b71f03967
---
gnu/packages/golang-web.scm | 52 ++++++++++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 48 ----------------------------------
2 files changed, 51 insertions(+), 49 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 971b370115..ae10a86551 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -30,7 +30,8 @@ (define-module (gnu packages golang-web)
#:use-module (guix build-system go)
#:use-module (guix git-download)
#:use-module (gnu packages)
- #:use-module (gnu packages golang))
+ #:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-check))
;;; Commentary:
;;;
@@ -285,6 +286,55 @@ (define-public go-github-com-gorilla-websocket
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-jcmturner-gokrb5-v8
+ (package
+ (name "go-github-com-jcmturner-gokrb5-v8")
+ (version "8.4.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jcmturner/gokrb5")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0w9d1pa3r6qmdblk25bghf78ncs03l15l1sxnh4n536c356rzq4b"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jcmturner/gokrb5/v8"
+ #:unpack-path "github.com/jcmturner/gokrb5"))
+ (propagated-inputs
+ (list go-github-com-gorilla-sessions
+ go-github-com-hashicorp-go-uuid
+ go-github-com-jcmturner-aescts-v2
+ go-github-com-jcmturner-dnsutils-v2
+ go-github-com-jcmturner-gofork
+ go-github-com-jcmturner-goidentity-v6
+ go-github-com-jcmturner-rpc-v2-mstypes
+ go-github-com-jcmturner-rpc-v2-ndr
+ go-github-com-stretchr-testify
+ go-golang-org-x-crypto
+ go-golang-org-x-net))
+ (home-page "https://github.com/jcmturner/gokrb5")
+ (synopsis "Pure Go Kerberos library for clients and services")
+ (description "This package provides a pure Go Kerberos library. It
+features:
+@itemize
+@item Kerberos libraries for custom integration
+@item Parsing Keytab files
+@item Parsing krb5.conf files
+@item Parsing client credentials cache files such as /tmp/krb5cc_$(id -u $(whoami))
+@end itemize
+
+On the client side, it provides a client that can authenticate to an SPNEGO
+Kerberos authenticated web service, and the ability to change client's
+password.
+
+On the server side, the library provides a HTTP handler wrapper implements
+SPNEGO Kerberos authentication, as well as a HTTP handler wrapper decodes
+Microsoft AD PAC authorization data.")
+ (license license:asl2.0)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1d169ce227..b0ae0da3e3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1437,54 +1437,6 @@ (define-public go-github-com-jcmturner-gofork
arounds until issues are addressed in the official distribution.")
(license license:bsd-3)))
-(define-public go-github-com-jcmturner-gokrb5-v8
- (package
- (name "go-github-com-jcmturner-gokrb5-v8")
- (version "8.4.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jcmturner/gokrb5")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0w9d1pa3r6qmdblk25bghf78ncs03l15l1sxnh4n536c356rzq4b"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jcmturner/gokrb5/v8"
- #:unpack-path "github.com/jcmturner/gokrb5"))
- (propagated-inputs (list go-golang-org-x-net
- go-golang-org-x-crypto
- go-github-com-stretchr-testify
- go-github-com-jcmturner-rpc-v2-ndr
- go-github-com-jcmturner-rpc-v2-mstypes
- go-github-com-jcmturner-goidentity-v6
- go-github-com-jcmturner-gofork
- go-github-com-jcmturner-dnsutils-v2
- go-github-com-jcmturner-aescts-v2
- go-github-com-hashicorp-go-uuid
- go-github-com-gorilla-sessions))
- (home-page "https://github.com/jcmturner/gokrb5")
- (synopsis "Pure Go Kerberos library for clients and services")
- (description "This package provides a pure Go Kerberos library. It
-features:
-@itemize
-@item Kerberos libraries for custom integration
-@item Parsing Keytab files
-@item Parsing krb5.conf files
-@item Parsing client credentials cache files such as /tmp/krb5cc_$(id -u $(whoami))
-@end itemize
-
-On the client side, it provides a client that can authenticate to an SPNEGO
-Kerberos authenticated web service, and the ability to change client's
-password.
-
-On the server side, the library provides a HTTP handler wrapper implements
-SPNEGO Kerberos authentication, as well as a HTTP handler wrapper decodes
-Microsoft AD PAC authorization data.")
- (license license:asl2.0)))
-
(define-public go-github-com-jcmturner-rpc
(package
(name "go-github-com-jcmturner-rpc")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 16/66] gnu: go-github-com-jcmturner-gokrb5-v8: Adjust inputs.
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (13 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 15/66] gnu: go-github-com-jcmturner-gokrb5-v8: " Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 17/66] gnu: go-github-com-jcmturner-dnsutils-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
` (49 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-jcmturner-gokrb5-v8)
[propagated-inputs]: go-github-com-stretchr-testify move from here ...
[native-inputs]: ... to here.
Change-Id: I93be99c60c15ba7861dd909e8856c800f8cf8314
---
gnu/packages/golang-web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index ae10a86551..580877f8fe 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -303,6 +303,8 @@ (define-public go-github-com-jcmturner-gokrb5-v8
(arguments
'(#:import-path "github.com/jcmturner/gokrb5/v8"
#:unpack-path "github.com/jcmturner/gokrb5"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-gorilla-sessions
go-github-com-hashicorp-go-uuid
@@ -312,7 +314,6 @@ (define-public go-github-com-jcmturner-gokrb5-v8
go-github-com-jcmturner-goidentity-v6
go-github-com-jcmturner-rpc-v2-mstypes
go-github-com-jcmturner-rpc-v2-ndr
- go-github-com-stretchr-testify
go-golang-org-x-crypto
go-golang-org-x-net))
(home-page "https://github.com/jcmturner/gokrb5")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 17/66] gnu: go-github-com-jcmturner-dnsutils-v2: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (14 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 16/66] gnu: go-github-com-jcmturner-gokrb5-v8: Adjust inputs Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 18/66] gnu: go-github-com-jcmturner-dnsutils-v2: Adjust inputs Sharlatan Hellseher
` (48 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-jcmturner-dnsutils-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I65f87f8e8cd7970a15d3b1e09c5ef4202f0542db
---
gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 580877f8fe..9b2bcd7cbd 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -286,6 +286,34 @@ (define-public go-github-com-gorilla-websocket
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-jcmturner-dnsutils-v2
+ (package
+ (name "go-github-com-jcmturner-dnsutils-v2")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jcmturner/dnsutils")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "116zbgvfj88vv93fnapmmgyd5g8kzy774cdyzsnnzyzng92j61c9"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jcmturner/dnsutils/v2"))
+ (propagated-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/jcmturner/dnsutils")
+ (synopsis "Go library with DNS utils")
+ (description
+ "The dnsutils package provides a Go function to return a map of Service
+Records (SRV) in the order they should be used for a given service, protocol
+and name. The order is determined by the records' priority and randomized
+selection based on their relative weighting. This package is useful for
+network applications that require accessing services using SRV records.")
+ (license license:asl2.0)))
+
(define-public go-github-com-jcmturner-gokrb5-v8
(package
(name "go-github-com-jcmturner-gokrb5-v8")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b0ae0da3e3..d0cde62f61 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1363,33 +1363,6 @@ (define-public go-github-com-jcmturner-aescts-v2
encryption and decryption methods.")
(license license:asl2.0)))
-(define-public go-github-com-jcmturner-dnsutils-v2
- (package
- (name "go-github-com-jcmturner-dnsutils-v2")
- (version "2.0.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jcmturner/dnsutils")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "116zbgvfj88vv93fnapmmgyd5g8kzy774cdyzsnnzyzng92j61c9"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jcmturner/dnsutils/v2"))
- (propagated-inputs (list go-github-com-stretchr-testify))
- (home-page "https://github.com/jcmturner/dnsutils")
- (synopsis "Go library with DNS utils")
- (description
- "The dnsutils package provides a Go function to return a map of Service
-Records (SRV) in the order they should be used for a given service, protocol
-and name. The order is determined by the records' priority and randomized
-selection based on their relative weighting. This package is useful for
-network applications that require accessing services using SRV records.")
- (license license:asl2.0)))
-
(define-public go-github-com-jcmturner-goidentity-v6
(package
(name "go-github-com-jcmturner-goidentity-v6")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 18/66] gnu: go-github-com-jcmturner-dnsutils-v2: Adjust inputs.
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (15 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 17/66] gnu: go-github-com-jcmturner-dnsutils-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 19/66] gnu: go-github-com-jcmturner-goidentity-v6: Move to (gnu packages golang-web) Sharlatan Hellseher
` (47 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-jcmturner-dnsutils-v2):
Swap propagated-inputs to native-inputs.
Change-Id: I1d02b45559214d72828a78437766cf7c1e06f1b0
---
gnu/packages/golang-web.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9b2bcd7cbd..6a832291ab 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -302,7 +302,7 @@ (define-public go-github-com-jcmturner-dnsutils-v2
(build-system go-build-system)
(arguments
'(#:import-path "github.com/jcmturner/dnsutils/v2"))
- (propagated-inputs
+ (native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/jcmturner/dnsutils")
(synopsis "Go library with DNS utils")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 19/66] gnu: go-github-com-jcmturner-goidentity-v6: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (16 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 18/66] gnu: go-github-com-jcmturner-dnsutils-v2: Adjust inputs Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 20/66] gnu: go-github-com-jcmturner-goidentity-v6: Adjust inputs Sharlatan Hellseher
` (46 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-jcmturner-goidentity-v6): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ibd9202efe7fc1002bc34376107a0e88872c888be
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 6a832291ab..751eb41b58 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -314,6 +314,30 @@ (define-public go-github-com-jcmturner-dnsutils-v2
network applications that require accessing services using SRV records.")
(license license:asl2.0)))
+(define-public go-github-com-jcmturner-goidentity-v6
+ (package
+ (name "go-github-com-jcmturner-goidentity-v6")
+ (version "6.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jcmturner/goidentity")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "064ysvxvrvij843s7qj1nkzl5qc6j1qbrsb3s0zmwd1sa7vq8q1n"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jcmturner/goidentity/v6"))
+ (propagated-inputs
+ (list go-github-com-stretchr-testify go-github-com-hashicorp-go-uuid))
+ (home-page "https://github.com/jcmturner/goidentity")
+ (synopsis "Hold authenticated identities and their attributes")
+ (description "This package provides a standard interface for holding
+authenticated identities and their attributes.")
+ (license license:asl2.0)))
+
(define-public go-github-com-jcmturner-gokrb5-v8
(package
(name "go-github-com-jcmturner-gokrb5-v8")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d0cde62f61..ba9d3a80a9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1363,30 +1363,6 @@ (define-public go-github-com-jcmturner-aescts-v2
encryption and decryption methods.")
(license license:asl2.0)))
-(define-public go-github-com-jcmturner-goidentity-v6
- (package
- (name "go-github-com-jcmturner-goidentity-v6")
- (version "6.0.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jcmturner/goidentity")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "064ysvxvrvij843s7qj1nkzl5qc6j1qbrsb3s0zmwd1sa7vq8q1n"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jcmturner/goidentity/v6"))
- (propagated-inputs
- (list go-github-com-stretchr-testify go-github-com-hashicorp-go-uuid))
- (home-page "https://github.com/jcmturner/goidentity")
- (synopsis "Hold authenticated identities and their attributes")
- (description "This package provides a standard interface for holding
-authenticated identities and their attributes.")
- (license license:asl2.0)))
-
(define-public go-github-com-jcmturner-gofork
(package
(name "go-github-com-jcmturner-gofork")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 20/66] gnu: go-github-com-jcmturner-goidentity-v6: Adjust inputs.
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (17 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 19/66] gnu: go-github-com-jcmturner-goidentity-v6: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:34 ` [bug#66827] [PATCH v3 21/66] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web) Sharlatan Hellseher
` (45 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-jcmturner-goidentity-v6):
[propagated-inputs]: Move go-github-com-stretchr-testify from here ...
[native-inputs]: ... to here.
Change-Id: I1e7bd72b3bf1c0879426a6a4c5b3b1de1d316069
---
gnu/packages/golang-web.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 751eb41b58..8ced6a4c6f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -330,8 +330,10 @@ (define-public go-github-com-jcmturner-goidentity-v6
(build-system go-build-system)
(arguments
'(#:import-path "github.com/jcmturner/goidentity/v6"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
- (list go-github-com-stretchr-testify go-github-com-hashicorp-go-uuid))
+ (list go-github-com-hashicorp-go-uuid))
(home-page "https://github.com/jcmturner/goidentity")
(synopsis "Hold authenticated identities and their attributes")
(description "This package provides a standard interface for holding
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 21/66] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (18 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 20/66] gnu: go-github-com-jcmturner-goidentity-v6: Adjust inputs Sharlatan Hellseher
@ 2023-11-29 22:34 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 22/66] gnu: go-github-com-tdewolff-minify-v2: " Sharlatan Hellseher
` (44 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:34 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-gorilla-csrf): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I77bcbdaf515152b95418f9e2632d810202a1e23a
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 26 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 8ced6a4c6f..5be08caf2e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -144,6 +144,32 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-gorilla-csrf
+ (package
+ (name "go-github-com-gorilla-csrf")
+ (version "1.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/csrf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
+ ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
+ (arguments
+ '(#:import-path "github.com/gorilla/csrf"))
+ (home-page "https://github.com/gorilla/csrf")
+ (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
+ (description
+ "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
+middleware for Go web applications and services.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-css
(package
(name "go-github-com-gorilla-css")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ba9d3a80a9..15c32b9b6a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4643,33 +4643,6 @@ (define-public go-github-com-andybalholm-brotli
@url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.")
(license license:expat)))
-(define-public go-github-com-gorilla-csrf
- (package
- (name "go-github-com-gorilla-csrf")
- (version "1.7.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/csrf")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0iryq0z48yi7crfbd8jxyn7lh1gsglpiglvjgnf23bz6xfisssav"))))
- (build-system go-build-system)
- (propagated-inputs
- `(("github.com/gorilla/securecookie" ,go-github-com-gorilla-securecookie)
- ("github.com/pkg/errors" ,go-github-com-pkg-errors)))
- (arguments
- '(#:import-path "github.com/gorilla/csrf"))
- (home-page "https://github.com/gorilla/csrf")
- (synopsis "Cross Site Request Forgery (CSRF) prevention middleware")
- (description
- "Gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention
-middleware for Go web applications and services.")
- (license license:bsd-3)))
-
(define-public go-github-com-jonboulle-clockwork
(let ((commit "e3653ace2d63753697e0e5b07b9393971c0bba9d")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 22/66] gnu: go-github-com-tdewolff-minify-v2: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (19 preceding siblings ...)
2023-11-29 22:34 ` [bug#66827] [PATCH v3 21/66] gnu: go-github-com-gorilla-csrf: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 23/66] gnu: go-github-com-tdewolff-parse-v2: " Sharlatan Hellseher
` (43 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-tdewolff-minify-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I4cee7a25e618cc7427d8669c4b17d028817e378f
---
gnu/packages/golang-web.scm | 43 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 40 ----------------------------------
2 files changed, 43 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 5be08caf2e..d82cac46b9 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
@@ -28,6 +29,7 @@ (define-module (gnu packages golang-web)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix build-system go)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
@@ -466,6 +468,47 @@ (define-public go-github-com-sourcegraph-jsonrpc2
"Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.")
(license license:expat)))
+(define-public go-github-com-tdewolff-minify-v2
+ (package
+ (name "go-github-com-tdewolff-minify-v2")
+ (version "2.12.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/minify")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qhslaq885zbqs83nvbi29yh09b89kkb6ycami8lz28wkwrlayap"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tdewolff/minify/v2"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'regenerate-hash
+ (lambda* (#:key import-path #:allow-other-keys)
+ (for-each
+ (lambda (dir)
+ (with-directory-excursion
+ (format #f "src/~a/~a" import-path dir)
+ (make-file-writable "hash.go")
+ (format #t "Generating `hash.go' for ~a...~%" dir)
+ (invoke "go" "generate")))
+ '("css" "html" "svg")))))))
+ (propagated-inputs
+ (list go-github-com-tdewolff-parse-v2))
+ (native-inputs
+ (list go-github-com-tdewolff-hasher
+ go-github-com-tdewolff-test))
+ (home-page "https://go.tacodewolff.nl/minify")
+ (synopsis "Go minifiers for web formats")
+ (description
+ "This package provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and
+an interface to implement any other minifier.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 15c32b9b6a..202abb196b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3437,46 +3437,6 @@ (define-public go-github-com-tdewolff-hasher
@code{string} to @code{uint32} mapper.")
(license license:bsd-3)))
-(define-public go-github-com-tdewolff-minify-v2
- (package
- (name "go-github-com-tdewolff-minify-v2")
- (version "2.12.7")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tdewolff/minify")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0qhslaq885zbqs83nvbi29yh09b89kkb6ycami8lz28wkwrlayap"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/tdewolff/minify/v2"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'regenerate-hash
- (lambda* (#:key import-path #:allow-other-keys)
- (for-each
- (lambda (dir)
- (with-directory-excursion
- (format #f "src/~a/~a" import-path dir)
- (make-file-writable "hash.go")
- (format #t "Generating `hash.go' for ~a...~%" dir)
- (invoke "go" "generate")))
- '("css" "html" "svg")))))))
- (propagated-inputs
- (list go-github-com-tdewolff-parse-v2))
- (native-inputs
- (list go-github-com-tdewolff-hasher
- go-github-com-tdewolff-test))
- (home-page "https://go.tacodewolff.nl/minify")
- (synopsis "Go minifiers for web formats")
- (description
- "This package provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and
-an interface to implement any other minifier.")
- (license license:expat)))
-
(define-public go-github-com-tdewolff-parse-v2
(package
(name "go-github-com-tdewolff-parse-v2")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 23/66] gnu: go-github-com-tdewolff-parse-v2: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (20 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 22/66] gnu: go-github-com-tdewolff-minify-v2: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 24/66] gnu: go-github-com-gorilla-context: " Sharlatan Hellseher
` (42 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-tdewolff-parse-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Id58c54359f1bf55c6fc8178ce142bf985858bb87
---
gnu/packages/golang-web.scm | 38 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 37 ------------------------------------
2 files changed, 38 insertions(+), 37 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d82cac46b9..9e68e96baf 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -509,6 +509,44 @@ (define-public go-github-com-tdewolff-minify-v2
an interface to implement any other minifier.")
(license license:expat)))
+(define-public go-github-com-tdewolff-parse-v2
+ (package
+ (name "go-github-com-tdewolff-parse-v2")
+ (version "2.6.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tdewolff/parse")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dqki9ima079k9a3l72igmx5dml8qsl9z8rzw8a433f4gjhlv320"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tdewolff/parse/v2"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'regenerate-hash
+ (lambda* (#:key import-path #:allow-other-keys)
+ (for-each
+ (lambda (dir)
+ (with-directory-excursion
+ (format #f "src/~a/~a" import-path dir)
+ (make-file-writable "hash.go")
+ (format #t "Generating `hash.go' for ~a...~%" dir)
+ (invoke "go" "generate")))
+ '("css" "html")))))))
+ (native-inputs
+ (list go-github-com-tdewolff-hasher
+ go-github-com-tdewolff-test))
+ (home-page "https://github.com/tdewolff/parse")
+ (synopsis "Go parsers for web formats")
+ (description
+ "This package contains several lexers and parsers written in Go.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 202abb196b..786752a0ad 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3437,43 +3437,6 @@ (define-public go-github-com-tdewolff-hasher
@code{string} to @code{uint32} mapper.")
(license license:bsd-3)))
-(define-public go-github-com-tdewolff-parse-v2
- (package
- (name "go-github-com-tdewolff-parse-v2")
- (version "2.6.6")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tdewolff/parse")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1dqki9ima079k9a3l72igmx5dml8qsl9z8rzw8a433f4gjhlv320"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/tdewolff/parse/v2"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'regenerate-hash
- (lambda* (#:key import-path #:allow-other-keys)
- (for-each
- (lambda (dir)
- (with-directory-excursion
- (format #f "src/~a/~a" import-path dir)
- (make-file-writable "hash.go")
- (format #t "Generating `hash.go' for ~a...~%" dir)
- (invoke "go" "generate")))
- '("css" "html")))))))
- (native-inputs
- (list go-github-com-tdewolff-hasher
- go-github-com-tdewolff-test))
- (home-page "https://github.com/tdewolff/parse")
- (synopsis "Go parsers for web formats")
- (description
- "This package contains several lexers and parsers written in Go.")
- (license license:expat)))
-
(define-public go-github-com-tj-docopt
(package
(name "go-github-com-tj-docopt")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 24/66] gnu: go-github-com-gorilla-context: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (21 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 23/66] gnu: go-github-com-tdewolff-parse-v2: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 25/66] gnu: go-github-com-microcosm-cc-bluemonday: " Sharlatan Hellseher
` (41 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-gorilla-context): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I22ba5493a48fe619ef2aca185c559da3a81f8d81
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9e68e96baf..012ed0429c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -146,6 +146,32 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-gorilla-context
+ (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
+ (revision "0"))
+ (package
+ (name "go-github-com-gorilla-context")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gorilla/context")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/gorilla/context"))
+ (home-page "https://github.com/gorilla/context")
+ (synopsis "Go registry for request variables")
+ (description
+ "This package provides @code{gorilla/context}, which is a general
+purpose registry for global request variables in the Go programming
+language.")
+ (license license:bsd-3))))
+
(define-public go-github-com-gorilla-csrf
(package
(name "go-github-com-gorilla-csrf")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 786752a0ad..c48484da11 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4516,30 +4516,6 @@ (define-public go-github-com-google-cadvisor
containers.")
(license license:asl2.0))))
-(define-public go-github-com-gorilla-context
- (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
- (revision "0"))
- (package
- (name "go-github-com-gorilla-context")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gorilla/context")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/gorilla/context"))
- (home-page "https://github.com/gorilla/context")
- (synopsis "Go registry for request variables")
- (description "This package provides @code{gorilla/context}, which is a general purpose registry for global request variables in the Go programming language.")
- (license license:bsd-3))))
-
(define-public go-github-com-andybalholm-brotli
(package
(name "go-github-com-andybalholm-brotli")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 25/66] gnu: go-github-com-microcosm-cc-bluemonday: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (22 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 24/66] gnu: go-github-com-gorilla-context: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 26/66] gnu: go-github-com-google-safehtml: " Sharlatan Hellseher
` (40 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-microcosm-cc-bluemonday): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ie5122f8afb2a29574c0e0bb5eb96665ecb77176b
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 012ed0429c..117742dc07 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -444,6 +444,30 @@ (define-public go-github-com-jcmturner-gokrb5-v8
Microsoft AD PAC authorization data.")
(license license:asl2.0)))
+(define-public go-github-com-microcosm-cc-bluemonday
+ (package
+ (name "go-github-com-microcosm-cc-bluemonday")
+ (version "1.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/microcosm-cc/bluemonday")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/microcosm-cc/bluemonday"))
+ (propagated-inputs
+ (list go-github-com-chris-ramon-douceur
+ go-golang-org-x-net))
+ (home-page "https://github.com/microcosm-cc/bluemonday/")
+ (synopsis "HTML sanitizer")
+ (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
+ (license license:bsd-3)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c48484da11..f110da8d99 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9029,30 +9029,6 @@ (define-public go-github-com-jmespath-go-jmespath
transforms one JSON document into another through a JMESPath expression.")
(license license:asl2.0)))
-(define-public go-github-com-microcosm-cc-bluemonday
- (package
- (name "go-github-com-microcosm-cc-bluemonday")
- (version "1.0.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/microcosm-cc/bluemonday")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/microcosm-cc/bluemonday"))
- (propagated-inputs
- (list go-github-com-chris-ramon-douceur
- go-golang-org-x-net))
- (home-page "https://github.com/microcosm-cc/bluemonday/")
- (synopsis "HTML sanitizer")
- (description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
- (license license:bsd-3)))
-
(define-public go-github-com-muesli-reflow-wordwrap
(package
(name "go-github-com-muesli-reflow-wordwrap")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 26/66] gnu: go-github-com-google-safehtml: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (23 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 25/66] gnu: go-github-com-microcosm-cc-bluemonday: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 27/66] gnu: go-github-com-google-safehtml: Remove input labels Sharlatan Hellseher
` (39 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-google-safehtml): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ia1f14486f262d3695077c8e2f409f4928874c4f8
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 117742dc07..ce95d1b467 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
@@ -146,6 +147,31 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-google-safehtml
+ (package
+ (name "go-github-com-google-safehtml")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/safehtml")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/google/safehtml"))
+ (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text)))
+ (home-page "https://github.com/google/safehtml")
+ (synopsis "Safe HTML for Go")
+ (description
+ "Package safehtml provides immutable string-like types which represent
+values that are guaranteed to be safe, by construction or by escaping or
+sanitization, to use in various HTML contexts and with various DOM APIs.")
+ (license license:bsd-3)))
+
(define-public go-github-com-gorilla-context
(let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f110da8d99..89aeead50a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12374,31 +12374,6 @@ (define-public go-github-com-google-go-jsonnet
implementation.")
(license license:asl2.0)))
-(define-public go-github-com-google-safehtml
- (package
- (name "go-github-com-google-safehtml")
- (version "0.1.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/google/safehtml")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/google/safehtml"))
- (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text)))
- (home-page "https://github.com/google/safehtml")
- (synopsis "Safe HTML for Go")
- (description
- "Package safehtml provides immutable string-like types which represent values
-that are guaranteed to be safe, by construction or by escaping or sanitization,
-to use in various HTML contexts and with various DOM APIs.")
- (license license:bsd-3)))
-
(define-public go-github-com-google-shlex
(package
(name "go-github-com-google-shlex")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 27/66] gnu: go-github-com-google-safehtml: Remove input labels.
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (24 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 26/66] gnu: go-github-com-google-safehtml: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 28/66] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web) Sharlatan Hellseher
` (38 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web (go-github-com-google-safehtml): Remove labels.
Change-Id: I20f5748496988c9e64fa0783bb51507c6cfa933e
---
gnu/packages/golang-web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index ce95d1b467..9aa3fe8233 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -163,7 +163,8 @@ (define-public go-github-com-google-safehtml
(build-system go-build-system)
(arguments
'(#:import-path "github.com/google/safehtml"))
- (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text)))
+ (propagated-inputs
+ (list go-golang-org-x-text))
(home-page "https://github.com/google/safehtml")
(synopsis "Safe HTML for Go")
(description
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 28/66] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (25 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 27/66] gnu: go-github-com-google-safehtml: Remove input labels Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 29/66] gnu: go-gopkg-in-square-go-jose-v2: " Sharlatan Hellseher
` (37 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-bep-golibsass): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I514ae05a8c04eea2084cbcb7e4d84c83b6b71bb4
---
gnu/packages/golang-web.scm | 61 ++++++++++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 58 -----------------------------------
2 files changed, 60 insertions(+), 59 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9aa3fe8233..72f2a7d84c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
@@ -34,7 +35,8 @@ (define-module (gnu packages golang-web)
#:use-module (guix git-download)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
- #:use-module (gnu packages golang-check))
+ #:use-module (gnu packages golang-check)
+ #:use-module (gnu packages web))
;;; Commentary:
;;;
@@ -95,6 +97,63 @@ (define-public go-github-com-aymerick-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-bep-golibsass
+ (package
+ (name "go-github-com-bep-golibsass")
+ (version "0.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bep/golibsass")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "libsass_src")
+ #t))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/bep/golibsass/libsass"
+ #:unpack-path "github.com/bep/golibsass"
+ ;; The dev build tag modifies the build to link to system libsass
+ ;; instead of including the bundled one (which we remove.)
+ ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
+ #:build-flags '("-tags" "dev")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-bindings
+ ;; Generate bindings for system libsass, replacing the
+ ;; pre-generated bindings.
+ (lambda* (#:key inputs unpack-path #:allow-other-keys)
+ (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
+ (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
+ (substitute* (string-append "src/" unpack-path "/gen/main.go")
+ (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
+ (string-append "\"" libsass-src "\""))
+ (("../../libsass_src/src/")
+ libsass-src)))
+ (invoke "go" "generate" (string-append unpack-path "/gen"))
+ #t))
+ (replace 'check
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ (if tests?
+ (invoke "go" "test" import-path "-tags" "dev"))
+ #t)))))
+ (propagated-inputs
+ (list libsass))
+ (native-inputs
+ `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
+ ("libsass-src" ,(package-source libsass))))
+ (home-page "https://github.com/bep/golibsass")
+ (synopsis "Easy to use Go bindings for LibSass")
+ (description
+ "This package provides SCSS compiler support for Go applications.")
+ (license license:expat)))
+
(define-public go-github-com-chris-ramon-douceur
(package
(name "go-github-com-chris-ramon-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 89aeead50a..11032a6e7d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10372,64 +10372,6 @@ (define-public go-github-com-gologme-log
additions.")
(license license:bsd-3))))
-(define-public go-github-com-bep-golibsass
- (package
- (name "go-github-com-bep-golibsass")
- (version "0.7.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/bep/golibsass")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0xk3m2ynbydzx87dz573ihwc4ryq0r545vz937szz175ivgfrhh3"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file-recursively "libsass_src")
- #t))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/bep/golibsass/libsass"
- #:unpack-path "github.com/bep/golibsass"
- ;; The dev build tag modifies the build to link to system libsass
- ;; instead of including the bundled one (which we remove.)
- ;; https://github.com/bep/golibsass/blob/v0.7.0/internal/libsass/a__cgo_dev.go
- #:build-flags '("-tags" "dev")
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'generate-bindings
- ;; Generate bindings for system libsass, replacing the
- ;; pre-generated bindings.
- (lambda* (#:key inputs unpack-path #:allow-other-keys)
- (mkdir-p (string-append "src/" unpack-path "/internal/libsass"))
- (let ((libsass-src (string-append (assoc-ref inputs "libsass-src") "/src")))
- (substitute* (string-append "src/" unpack-path "/gen/main.go")
- (("filepath.Join\\(rootDir, \"libsass_src\", \"src\"\\)")
- (string-append "\"" libsass-src "\""))
- (("../../libsass_src/src/")
- libsass-src)))
- (invoke "go" "generate" (string-append unpack-path "/gen"))
- #t))
- (replace 'check
- (lambda* (#:key tests? import-path #:allow-other-keys)
- (if tests?
- (invoke "go" "test" import-path "-tags" "dev"))
- #t)))))
- (propagated-inputs
- (list libsass))
- (native-inputs
- `(("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
- ("libsass-src" ,(package-source libsass))))
- (home-page "https://github.com/bep/golibsass")
- (synopsis "Easy to use Go bindings for LibSass")
- (description
- "This package provides SCSS compiler support for Go applications.")
- (license license:expat)))
-
(define-public go-github-com-hashicorp-go-syslog
(package
(name "go-github-com-hashicorp-go-syslog")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 29/66] gnu: go-gopkg-in-square-go-jose-v2: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (26 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 28/66] gnu: go-github-com-bep-golibsass: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 30/66] gnu: go-github-com-coreos-go-oidc: " Sharlatan Hellseher
` (36 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-gopkg-in-square-go-jose-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ifdc5b240c2f3af874d6b4b8b0422dfd9326348a3
---
gnu/packages/golang-web.scm | 29 +++++++++++++++++++++++++++++
gnu/packages/golang.scm | 29 -----------------------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 72f2a7d84c..976179f44e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -683,6 +683,35 @@ (define-public go-github-com-tdewolff-parse-v2
"This package contains several lexers and parsers written in Go.")
(license license:expat)))
+(define-public go-gopkg-in-square-go-jose-v2
+ (package
+ (name "go-gopkg-in-square-go-jose-v2")
+ (version "2.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/square/go-jose")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1b1nhqxfmhzwrfk7pkvp2w3z3d0pf5ir00vizmy2d4xdbnldn70r"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "gopkg.in/square/go-jose.v2"))
+ (propagated-inputs
+ (list go-golang-org-x-crypto))
+ (native-inputs
+ (list go-github-com-google-go-cmp-cmp
+ go-github-com-stretchr-testify))
+ (home-page "https://gopkg.in/square/go-jose.v2")
+ (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go")
+ (description
+ "This package aims to provide an implementation of the Javascript Object
+Signing and Encryption set of standards. This includes support for JSON Web
+Encryption, JSON Web Signature, and JSON Web Token standards.")
+ (license license:asl2.0)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 11032a6e7d..d85612c800 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3223,35 +3223,6 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
-(define-public go-gopkg-in-square-go-jose-v2
- (package
- (name "go-gopkg-in-square-go-jose-v2")
- (version "2.6.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/square/go-jose")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1b1nhqxfmhzwrfk7pkvp2w3z3d0pf5ir00vizmy2d4xdbnldn70r"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "gopkg.in/square/go-jose.v2"))
- (propagated-inputs
- (list go-golang-org-x-crypto))
- (native-inputs
- (list go-github-com-google-go-cmp-cmp
- go-github-com-stretchr-testify))
- (home-page "https://gopkg.in/square/go-jose.v2")
- (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go")
- (description
- "This package aims to provide an implementation of the Javascript Object
-Signing and Encryption set of standards. This includes support for JSON Web
-Encryption, JSON Web Signature, and JSON Web Token standards.")
- (license license:asl2.0)))
-
(define-public go-github-com-go-jose-go-jose-v3
(package
(inherit go-gopkg-in-square-go-jose-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 30/66] gnu: go-github-com-coreos-go-oidc: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (27 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 29/66] gnu: go-gopkg-in-square-go-jose-v2: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 31/66] gnu: go-github-com-coreos-go-oidc-v3: " Sharlatan Hellseher
` (35 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-coreos-go-oidc): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iadefbc9c3df2aa291a3eb4c8cc31a5fdf562e138
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 976179f44e..792406ab97 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -182,6 +182,33 @@ (define-public go-github-com-chris-ramon-douceur
(description "This package provides a CSS parser and inliner.")
(license license:expat)))
+(define-public go-github-com-coreos-go-oidc
+ (package
+ (name "go-github-com-coreos-go-oidc")
+ (version "2.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/coreos/go-oidc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "11m6slbpi33ynffml7812piq4anhjlf1qszjlsf26f5y7x3qh8n5"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/coreos/go-oidc"))
+ (propagated-inputs
+ (list go-github-com-pquerna-cachecontrol
+ go-golang-org-x-oauth2
+ go-gopkg-in-square-go-jose-v2))
+ (home-page "https://github.com/coreos/go-oidc")
+ (synopsis "OpenID Connect support for Go")
+ (description
+ "This package enables OpenID Connect support for the
+@code{go-golang-org-x-oauth2} package.")
+ (license license:asl2.0)))
+
(define-public go-github-com-felixge-httpsnoop
(package
(name "go-github-com-felixge-httpsnoop")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d85612c800..92b01a696f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9243,33 +9243,6 @@ (define-public go-github-com-charmbracelet-glamour
use one of our glamorous default themes.")
(license license:expat)))
-(define-public go-github-com-coreos-go-oidc
- (package
- (name "go-github-com-coreos-go-oidc")
- (version "2.2.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/coreos/go-oidc")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "11m6slbpi33ynffml7812piq4anhjlf1qszjlsf26f5y7x3qh8n5"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/coreos/go-oidc"))
- (propagated-inputs
- (list go-github-com-pquerna-cachecontrol
- go-golang-org-x-oauth2
- go-gopkg-in-square-go-jose-v2))
- (home-page "https://github.com/coreos/go-oidc")
- (synopsis "OpenID Connect support for Go")
- (description
- "This package enables OpenID Connect support for the
-@code{go-golang-org-x-oauth2} package.")
- (license license:asl2.0)))
-
(define-public go-github-com-coreos-go-oidc-v3
(package
(inherit go-github-com-coreos-go-oidc)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 31/66] gnu: go-github-com-coreos-go-oidc-v3: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (28 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 30/66] gnu: go-github-com-coreos-go-oidc: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 32/66] gnu: go-github-com-aws-sdk: " Sharlatan Hellseher
` (34 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-coreos-go-oidc-v3): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: If049d6172219bf144d3f30877f3c9f5138bcc78c
---
gnu/packages/golang-web.scm | 22 ++++++++++++++++++++++
gnu/packages/golang.scm | 22 ----------------------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 792406ab97..0219ffb5e5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -209,6 +209,28 @@ (define-public go-github-com-coreos-go-oidc
@code{go-golang-org-x-oauth2} package.")
(license license:asl2.0)))
+(define-public go-github-com-coreos-go-oidc-v3
+ (package
+ (inherit go-github-com-coreos-go-oidc)
+ (name "go-github-com-coreos-go-oidc-v3")
+ (version "3.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/coreos/go-oidc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1sbm6n3lp48lymn0g921afhq2j6inb38w3wy5rhyx9h8gpzhnxx9"))))
+ (arguments
+ (list ;; no Go files in [...]/src/github.com/coreos/go-oidc/v3.
+ #:import-path "github.com/coreos/go-oidc/v3/oidc"
+ #:unpack-path "github.com/coreos/go-oidc/v3"))
+ (propagated-inputs
+ (list go-github-com-go-jose-go-jose-v3
+ go-golang-org-x-oauth2))))
+
(define-public go-github-com-felixge-httpsnoop
(package
(name "go-github-com-felixge-httpsnoop")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 92b01a696f..ad2bdf099d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9243,28 +9243,6 @@ (define-public go-github-com-charmbracelet-glamour
use one of our glamorous default themes.")
(license license:expat)))
-(define-public go-github-com-coreos-go-oidc-v3
- (package
- (inherit go-github-com-coreos-go-oidc)
- (name "go-github-com-coreos-go-oidc-v3")
- (version "3.6.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/coreos/go-oidc")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1sbm6n3lp48lymn0g921afhq2j6inb38w3wy5rhyx9h8gpzhnxx9"))))
- (arguments
- (list ;; no Go files in [...]/src/github.com/coreos/go-oidc/v3.
- #:import-path "github.com/coreos/go-oidc/v3/oidc"
- #:unpack-path "github.com/coreos/go-oidc/v3"))
- (propagated-inputs
- (list go-github-com-go-jose-go-jose-v3
- go-golang-org-x-oauth2))))
-
(define-public go-github-com-coreos-go-semver
(package
(name "go-github-com-coreos-go-semver")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 32/66] gnu: go-github-com-aws-sdk: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (29 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 31/66] gnu: go-github-com-coreos-go-oidc-v3: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 33/66] gnu: go-github-com-valyala-fasthttp: " Sharlatan Hellseher
` (33 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-sdk): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I8e82019c75b115548c2e0eea54b261ff8c3dd4a7
---
gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/golang.scm | 28 ----------------------------
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 0219ffb5e5..352c831e41 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -71,6 +71,34 @@ (define-public go-github-com-andybalholm-cascadia
the parse trees produced by the html package.")
(license license:bsd-2)))
+(define-public go-github-com-aws-sdk
+ (package
+ (name "go-github-com-aws-sdk")
+ (version "1.35.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/aws-sdk-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ky5lw2s2zpslnnqcs6hgsrwvwbxwgflb5jwf16dd4aga3vrg10c"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go/aws"
+ #:unpack-path "github.com/aws/aws-sdk-go"))
+ (propagated-inputs
+ (list go-github-com-go-sql-driver-mysql
+ go-github-com-jmespath-go-jmespath
+ go-github-com-pkg-errors
+ go-golang-org-x-net))
+ (home-page "https://github.com/aws/aws-sdk-go")
+ (synopsis "Library to access Amazon Web Services (AWS)")
+ (description
+ "This is the official AWS SDK for the Go programming language.")
+ (license license:asl2.0)))
+
(define-public go-github-com-aymerick-douceur
(package
(name "go-github-com-aymerick-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ad2bdf099d..1f1ca8694c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3195,34 +3195,6 @@ (define-public go-github-com-hebcal-hebcal-go
and anniversaries.")
(license license:gpl2+))))
-(define-public go-github-com-aws-sdk
- (package
- (name "go-github-com-aws-sdk")
- (version "1.35.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/aws-sdk-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1ky5lw2s2zpslnnqcs6hgsrwvwbxwgflb5jwf16dd4aga3vrg10c"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go/aws"
- #:unpack-path "github.com/aws/aws-sdk-go"))
- (propagated-inputs
- (list go-github-com-go-sql-driver-mysql
- go-github-com-jmespath-go-jmespath go-github-com-pkg-errors
- go-golang-org-x-net))
- (home-page "https://github.com/aws/aws-sdk-go")
- (synopsis "Library to access Amazon Web Services (AWS)")
- (description
- "This is the official AWS SDK for the Go programming language.")
- (license license:asl2.0)))
-
(define-public go-github-com-go-jose-go-jose-v3
(package
(inherit go-gopkg-in-square-go-jose-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 33/66] gnu: go-github-com-valyala-fasthttp: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (30 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 32/66] gnu: go-github-com-aws-sdk: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 34/66] gnu: go-github-com-go-chi-chi-v5: " Sharlatan Hellseher
` (32 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-valyala-fasthttp): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I60676c0204e198c6050724efa5410c5b695f88fb
---
gnu/packages/golang-web.scm | 41 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 40 ------------------------------------
2 files changed, 41 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 352c831e41..f59415452f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -760,6 +761,46 @@ (define-public go-github-com-tdewolff-parse-v2
"This package contains several lexers and parsers written in Go.")
(license license:expat)))
+(define-public go-github-com-valyala-fasthttp
+ (package
+ (name "go-github-com-valyala-fasthttp")
+ (version "1.39.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/valyala/fasthttp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12qwx0yk7wjj25v4fswgmj28r69gk94kqdmzavca8k9f0yznniz1"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/valyala/fasthttp"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs #:allow-other-keys #:rest args)
+ (unless
+ ;; Tests hang forever with gccgo.
+ (false-if-exception (search-input-file inputs "/bin/gccgo"))
+ (apply (assoc-ref %standard-phases 'check) args)))))))
+ (propagated-inputs
+ (list go-github-com-andybalholm-brotli
+ go-github-com-klauspost-compress
+ go-github-com-valyala-bytebufferpool
+ go-github-com-valyala-tcplisten
+ go-golang-org-x-crypto
+ go-golang-org-x-net
+ go-golang-org-x-sys))
+ (home-page "https://github.com/valyala/fasthttp")
+ (synopsis "Provides fast HTTP server and client API")
+ (description
+ "This package provides a Go module @code{fasthttp} which may be used as
+replacement for native @code{net/http} module.")
+ (license license:expat)))
+
(define-public go-gopkg-in-square-go-jose-v2
(package
(name "go-gopkg-in-square-go-jose-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1f1ca8694c..100e59e154 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11168,46 +11168,6 @@ (define-public go-github-com-valyala-bytebufferpool
anti-fragmentation protection.")
(license license:expat)))
-(define-public go-github-com-valyala-fasthttp
- (package
- (name "go-github-com-valyala-fasthttp")
- (version "1.39.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/valyala/fasthttp")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "12qwx0yk7wjj25v4fswgmj28r69gk94kqdmzavca8k9f0yznniz1"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/valyala/fasthttp"
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys #:rest args)
- (unless
- ;; Tests hang forever with gccgo.
- (false-if-exception (search-input-file inputs "/bin/gccgo"))
- (apply (assoc-ref %standard-phases 'check) args)))))))
- (propagated-inputs
- (list go-golang-org-x-sys
- go-golang-org-x-net
- go-golang-org-x-crypto
- go-github-com-valyala-tcplisten
- go-github-com-valyala-bytebufferpool
- go-github-com-klauspost-compress
- go-github-com-andybalholm-brotli))
- (home-page "https://github.com/valyala/fasthttp")
- (synopsis "Provides fast HTTP server and client API")
- (description
- "This package provides a Go module @code{fasthttp} which may be used as
-replacement for native @code{net/http} module.")
- (license license:expat)))
-
(define-public go-github-com-valyala-tcplisten
(package
(name "go-github-com-valyala-tcplisten")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 34/66] gnu: go-github-com-go-chi-chi-v5: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (31 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 33/66] gnu: go-github-com-valyala-fasthttp: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 35/66] gnu: go-github-com-julienschmidt-httprouter: " Sharlatan Hellseher
` (31 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-go-chi-chi-v5): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I120c2cb142935430443a7e6c9e53aa8544bbaf8e
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++--
gnu/packages/golang.scm | 23 -----------------------
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index f59415452f..2570be62f7 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,17 +1,17 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
-;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
-;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -284,6 +284,29 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-go-chi-chi-v5
+ (package
+ (name "go-github-com-go-chi-chi-v5")
+ (version "5.0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-chi/chi")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0rzrsxz4xj0973c6nxklvq2vmg2m795snhk25836i0gnd1jnx79k"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/go-chi/chi/v5"))
+ (home-page "https://github.com/go-chi/chi")
+ (synopsis "Composable router for HTTP services written in Go")
+ (description
+ "@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user
+decompose request handling into many smaller layers.")
+ (license license:expat)))
+
(define-public go-github-com-google-safehtml
(package
(name "go-github-com-google-safehtml")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 100e59e154..ce67f02387 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11981,29 +11981,6 @@ (define-public go-github-com-dreamacro-go-shadowsocks2
@end itemize")
(license license:asl2.0)))
-(define-public go-github-com-go-chi-chi-v5
- (package
- (name "go-github-com-go-chi-chi-v5")
- (version "5.0.7")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/go-chi/chi")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0rzrsxz4xj0973c6nxklvq2vmg2m795snhk25836i0gnd1jnx79k"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/go-chi/chi/v5"))
- (home-page "https://github.com/go-chi/chi")
- (synopsis "Composable router for HTTP services written in Go")
- (description
- "@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user
-decompose request handling into many smaller layers.")
- (license license:expat)))
-
(define-public go-sigs-k8s-io-yaml
(package
(name "go-sigs-k8s-io-yaml")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 35/66] gnu: go-github-com-julienschmidt-httprouter: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (32 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 34/66] gnu: go-github-com-go-chi-chi-v5: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 36/66] gnu: go-github-com-emicklei-go-restful: " Sharlatan Hellseher
` (30 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-julienschmidt-httprouter): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/high-availability.scm: Add (gnu packages golang-web) module.
Change-Id: I277e4a7ed835b0dc00f08e102e982e0cd019b828
---
gnu/packages/golang-web.scm | 25 ++++++++++++++++++++++++-
gnu/packages/golang.scm | 23 -----------------------
gnu/packages/high-availability.scm | 1 +
3 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 2570be62f7..c501f55685 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6,9 +6,9 @@
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
-;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2022, 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
@@ -631,6 +631,29 @@ (define-public go-github-com-jcmturner-gokrb5-v8
Microsoft AD PAC authorization data.")
(license license:asl2.0)))
+(define-public go-github-com-julienschmidt-httprouter
+ (package
+ (name "go-github-com-julienschmidt-httprouter")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/julienschmidt/httprouter")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a6sy0ysqknsjssjh7qg1dqn21xmj9a36c57nrk7srfmab4ffmk1"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/julienschmidt/httprouter"))
+ (home-page "https://github.com/julienschmidt/httprouter")
+ (synopsis "High performance HTTP request router")
+ (description
+ "Package @code{httprouter} is a trie based high performance HTTP request
+router.")
+ (license license:bsd-3)))
+
(define-public go-github-com-microcosm-cc-bluemonday
(package
(name "go-github-com-microcosm-cc-bluemonday")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ce67f02387..b39548d478 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9465,29 +9465,6 @@ (define-public go-github-com-juju-ansiterm
for color and styles.")
(license license:lgpl3)))
-(define-public go-github-com-julienschmidt-httprouter
- (package
- (name "go-github-com-julienschmidt-httprouter")
- (version "1.3.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/julienschmidt/httprouter")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1a6sy0ysqknsjssjh7qg1dqn21xmj9a36c57nrk7srfmab4ffmk1"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/julienschmidt/httprouter"))
- (home-page "https://github.com/julienschmidt/httprouter")
- (synopsis "High performance HTTP request router")
- (description
- "Package @code{httprouter} is a trie based high performance HTTP request
-router.")
- (license license:bsd-3)))
-
(define-public go-github-com-kevinburke-ssh-config
(package
(name "go-github-com-kevinburke-ssh-config")
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index 553095cb75..6808bcd597 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -35,6 +35,7 @@ (define-module (gnu packages high-availability)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages hardware)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 36/66] gnu: go-github-com-emicklei-go-restful: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (33 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 35/66] gnu: go-github-com-julienschmidt-httprouter: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 37/66] gnu: go-github-com-tv42-httpunix: " Sharlatan Hellseher
` (29 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-emicklei-go-restful): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Idc88242d2ec3274a0b68244f5e91bbfc2dd8543c
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c501f55685..4cef7b6641 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
+;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
@@ -260,6 +261,29 @@ (define-public go-github-com-coreos-go-oidc-v3
(list go-github-com-go-jose-go-jose-v3
go-golang-org-x-oauth2))))
+(define-public go-github-com-emicklei-go-restful
+ (package
+ (name "go-github-com-emicklei-go-restful")
+ (version "3.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emicklei/go-restful")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/emicklei/go-restful"))
+ (home-page "https://github.com/emicklei/go-restful")
+ (synopsis "Build REST-style web services using Go")
+ (description "This package provides @code{go-restful}, which helps
+developers to use @code{http} methods explicitly and in a way that's
+consistent with the HTTP protocol definition.")
+ (license license:expat)))
+
(define-public go-github-com-felixge-httpsnoop
(package
(name "go-github-com-felixge-httpsnoop")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b39548d478..d3c6252c88 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4382,30 +4382,6 @@ (define-public go-github-com-blang-semver
(description "Semver is a library for Semantic versioning written in Go.")
(license license:expat))))
-(define-public go-github-com-emicklei-go-restful
- (package
- (name "go-github-com-emicklei-go-restful")
- (version "3.4.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/emicklei/go-restful")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0m1y5a6xr6hmdj77afrvyh2llkbhn1166lcrgis654shl8zs9qhz"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/emicklei/go-restful"))
- (home-page "https://github.com/emicklei/go-restful")
- (synopsis "Build REST-style web services using Go")
- (description "This package provides @code{go-restful}, which helps
-developers to use @code{http} methods explicitly and in a way that's consistent
-with the HTTP protocol definition.")
- (license license:expat)))
-
(define-public go-cloud-google-com-go-compute-metadata
(package
(name "go-cloud-google-com-go-compute-metadata")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 37/66] gnu: go-github-com-tv42-httpunix: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (34 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 36/66] gnu: go-github-com-emicklei-go-restful: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 38/66] gnu: go-github-com-opentracing-opentracing-go: " Sharlatan Hellseher
` (28 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-tv42-httpunix): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I1b81c93afd803dfd68fae5292cb2103855cdba6d
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4cef7b6641..caccb126bc 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
+;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
@@ -831,6 +832,30 @@ (define-public go-github-com-tdewolff-parse-v2
"This package contains several lexers and parsers written in Go.")
(license license:expat)))
+(define-public go-github-com-tv42-httpunix
+ (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
+ (revision "0"))
+ (package
+ (name "go-github-com-tv42-httpunix")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tv42/httpunix")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/tv42/httpunix"))
+ (home-page "https://github.com/tv42/httpunix")
+ (synopsis "Go library to talk HTTP over Unix domain sockets")
+ (description "This package is a Go library to talk HTTP over Unix domain
+sockets.")
+ (license license:expat))))
+
(define-public go-github-com-valyala-fasthttp
(package
(name "go-github-com-valyala-fasthttp")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d3c6252c88..310c2ba8f4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4334,30 +4334,6 @@ (define-public go-github-com-tomnomnom-gron
absolute \"path\" to it.")
(license license:expat)))
-(define-public go-github-com-tv42-httpunix
- (let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
- (revision "0"))
- (package
- (name "go-github-com-tv42-httpunix")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tv42/httpunix")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0xbwpip2hsfhd2kd878jn5ndl8y1i9658lggha4x3xb5m1rsds9w"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/tv42/httpunix"))
- (home-page "https://github.com/tv42/httpunix")
- (synopsis "Go library to talk HTTP over Unix domain sockets")
- (description "This package is a Go library to talk HTTP over Unix domain
-sockets.")
- (license license:expat))))
-
(define-public go-github-com-blang-semver
(let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 38/66] gnu: go-github-com-opentracing-opentracing-go: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (35 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 37/66] gnu: go-github-com-tv42-httpunix: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 39/66] gnu: go-github-com-francoispqt-gojay: " Sharlatan Hellseher
` (27 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-opentracing-opentracing-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I87e615589cdb038e2b633ecd63194c81d5864a5b
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index caccb126bc..d021be005f 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
@@ -703,6 +704,30 @@ (define-public go-github-com-microcosm-cc-bluemonday
(description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
(license license:bsd-3)))
+(define-public go-github-com-opentracing-opentracing-go
+ (package
+ (name "go-github-com-opentracing-opentracing-go")
+ (version "1.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/opentracing/opentracing-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04rgdwl29kimp2wnm4dycnzp7941hvpj6wym85x23c6fclacm94h"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/opentracing/opentracing-go"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/opentracing/opentracing-go")
+ (synopsis "OpenTracing API for Go")
+ (description "OpenTracing-Go is a Go implementation of the OpenTracing API.")
+ (license license:asl2.0)))
+
(define-public go-github-com-puerkitobio-goquery
(package
(name "go-github-com-puerkitobio-goquery")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 310c2ba8f4..69efe7c6bf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1798,30 +1798,6 @@ (define-public go-github-com-mufti1-interconv
(description "InterConv converts interfaces into any data type.")
(license license:expat))))
-(define-public go-github-com-opentracing-opentracing-go
- (package
- (name "go-github-com-opentracing-opentracing-go")
- (version "1.2.0")
- (source
- (origin
- (method git-fetch)
- (uri
- (git-reference
- (url "https://github.com/opentracing/opentracing-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "04rgdwl29kimp2wnm4dycnzp7941hvpj6wym85x23c6fclacm94h"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/opentracing/opentracing-go"))
- (native-inputs
- (list go-github-com-stretchr-testify))
- (home-page "https://github.com/opentracing/opentracing-go")
- (synopsis "OpenTracing API for Go")
- (description "OpenTracing-Go is a Go implementation of the OpenTracing API.")
- (license license:asl2.0)))
-
(define-public go-github-com-operatorfoundation-monolith-go
(package
(name "go-github-com-operatorfoundation-monolith-go")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 39/66] gnu: go-github-com-francoispqt-gojay: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (36 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 38/66] gnu: go-github-com-opentracing-opentracing-go: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 40/66] gnu: go-github-com-francoispqt-gojay: Adjust inputs Sharlatan Hellseher
` (26 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-francoispqt-gojay): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I2ff041a91e2d37d79495a3ebda1b602784161c4a
---
gnu/packages/golang-web.scm | 27 ++++++++++++++++++++++++++-
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d021be005f..2790e2b5aa 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5,9 +5,9 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
-;;; Copyright © 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
@@ -310,6 +310,31 @@ (define-public go-github-com-felixge-httpsnoop
application's http.Handlers.")
(license license:expat)))
+(define-public go-github-com-francoispqt-gojay
+ (package
+ (name "go-github-com-francoispqt-gojay")
+ (version "1.2.13")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/francoispqt/gojay")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/francoispqt/gojay"))
+ (propagated-inputs
+ (list go-github-com-stretchr-testify))
+ (synopsis "JSON encoder/decoder with powerful stream API for Golang")
+ (description "GoJay is a performant JSON encoder/decoder for Golang. It has
+a simple API and doesn't use reflection. It relies on small interfaces to
+decode/encode structures and slices.")
+ (home-page "https://github.com/francoispqt/gojay")
+ (license license:expat)))
+
(define-public go-github-com-go-chi-chi-v5
(package
(name "go-github-com-go-chi-chi-v5")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 69efe7c6bf..1b5f7be13b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7354,31 +7354,6 @@ (define-public go-github-com-lunixbochs-vtclean
optionally preserving color.")
(license license:expat)))
-(define-public go-github-com-francoispqt-gojay
- (package
- (name "go-github-com-francoispqt-gojay")
- (version "1.2.13")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/francoispqt/gojay")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1ix95qdyajfmxhf9y52vjrih63f181pjs4v5as8905s4d5vmkd06"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/francoispqt/gojay"))
- (propagated-inputs
- (list go-github-com-stretchr-testify))
- (synopsis "JSON encoder/decoder with powerful stream API for Golang")
- (description "GoJay is a performant JSON encoder/decoder for Golang. It has
-a simple API and doesn't use reflection. It relies on small interfaces to
-decode/encode structures and slices.")
- (home-page "https://github.com/francoispqt/gojay")
- (license license:expat)))
-
(define-public go-github-com-pkg-errors
(package
(name "go-github-com-pkg-errors")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 40/66] gnu: go-github-com-francoispqt-gojay: Adjust inputs.
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (37 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 39/66] gnu: go-github-com-francoispqt-gojay: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 41/66] gnu: go-github-com-goccy-go-json: Move to (gnu packages golang-web) Sharlatan Hellseher
` (25 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-francoispqt-gojay):
[propagated-inputs]: Swap to [native-inputs].
Change-Id: Ie83ea13685036b2688f668cde8bbb831ba5cd602
---
gnu/packages/golang-web.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 2790e2b5aa..59312f791a 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -326,7 +326,7 @@ (define-public go-github-com-francoispqt-gojay
(build-system go-build-system)
(arguments
'(#:import-path "github.com/francoispqt/gojay"))
- (propagated-inputs
+ (native-inputs
(list go-github-com-stretchr-testify))
(synopsis "JSON encoder/decoder with powerful stream API for Golang")
(description "GoJay is a performant JSON encoder/decoder for Golang. It has
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 41/66] gnu: go-github-com-goccy-go-json: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (38 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 40/66] gnu: go-github-com-francoispqt-gojay: Adjust inputs Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 42/66] gnu: go-github-com-jmespath-go-jmespath: " Sharlatan Hellseher
` (24 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-goccy-go-json): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I83fc749483f9f60a05c823e2f792efda0481b505
---
gnu/packages/golang-web.scm | 22 ++++++++++++++++++++++
gnu/packages/golang.scm | 22 ----------------------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 59312f791a..e92e04979e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
+;;; Copyright © 2022 Adam Kandur <kefironpremise@gmail.com>
;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2022 jgart via Guix-patches via <guix-patches@gnu.org>
;;; Copyright © 2022 muradm <mail@muradm.net>
@@ -358,6 +359,27 @@ (define-public go-github-com-go-chi-chi-v5
decompose request handling into many smaller layers.")
(license license:expat)))
+(define-public go-github-com-goccy-go-json
+ (package
+ (name "go-github-com-goccy-go-json")
+ (version "0.9.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/goccy/go-json")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1bg8p4c6r8r0kixdxv2m8xmdsmb1zl5sd8czswpccldjk3c358wp"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/goccy/go-json"))
+ (home-page "https://github.com/goccy/go-json")
+ (synopsis "JSON encoder/decoder in Go")
+ (description "Fast JSON encoder/decoder compatible with encoding/json for Go.")
+ (license license:expat)))
+
(define-public go-github-com-google-safehtml
(package
(name "go-github-com-google-safehtml")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1b5f7be13b..aa1a82f92d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4038,28 +4038,6 @@ (define-public go-github-com-burntsushi-toml
is similar to Go's standard library @code{json} and @code{xml} package.")
(license license:expat)))
-(define-public go-github-com-goccy-go-json
- (package
- (name "go-github-com-goccy-go-json")
- (version "0.9.10")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/goccy/go-json")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1bg8p4c6r8r0kixdxv2m8xmdsmb1zl5sd8czswpccldjk3c358wp"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/goccy/go-json"))
- (home-page "https://github.com/goccy/go-json")
- (synopsis "JSON encoder/decoder in Go")
- (description
- "Fast JSON encoder/decoder compatible with encoding/json for Go.")
- (license license:expat)))
-
(define-public go-github-com-getsentry-raven-go
(let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 42/66] gnu: go-github-com-jmespath-go-jmespath: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (39 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 41/66] gnu: go-github-com-goccy-go-json: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 43/66] gnu: go-github-com-aws-smithy-go: " Sharlatan Hellseher
` (23 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-jmespath-go-jmespath): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I7f16dd3153ca6fd626061f7da5792192a48041bd
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index e92e04979e..9f7b0e39dc 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -704,6 +704,33 @@ (define-public go-github-com-jcmturner-gokrb5-v8
Microsoft AD PAC authorization data.")
(license license:asl2.0)))
+(define-public go-github-com-jmespath-go-jmespath
+ (package
+ (name "go-github-com-jmespath-go-jmespath")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jmespath/go-jmespath")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/jmespath/go-jmespath"))
+ (native-inputs
+ (list go-github-com-davecgh-go-spew
+ go-github-com-pmezard-go-difflib
+ go-gopkg-in-yaml-v2))
+ (home-page "https://github.com/jmespath/go-jmespath")
+ (synopsis "Golang implementation of JMESPath")
+ (description
+ "This package implements JMESPath, a query language for JSON. It
+transforms one JSON document into another through a JMESPath expression.")
+ (license license:asl2.0)))
+
(define-public go-github-com-julienschmidt-httprouter
(package
(name "go-github-com-julienschmidt-httprouter")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index aa1a82f92d..b493000159 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8826,33 +8826,6 @@ (define-public go-github-com-alecthomas-chroma
converts it into syntax highlighted HTML, ANSI-coloured text, etc.")
(license license:expat)))
-(define-public go-github-com-jmespath-go-jmespath
- (package
- (name "go-github-com-jmespath-go-jmespath")
- (version "0.4.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/jmespath/go-jmespath")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/jmespath/go-jmespath"))
- (native-inputs
- (list go-github-com-davecgh-go-spew go-github-com-pmezard-go-difflib
- go-gopkg-in-yaml-v2))
- (home-page "https://github.com/jmespath/go-jmespath")
- (synopsis "Golang implementation of JMESPath")
- (description
- "This package implements JMESPath, a query language for JSON. It
-transforms one JSON document into another through a JMESPath expression.")
- (license license:asl2.0)))
-
(define-public go-github-com-muesli-reflow-wordwrap
(package
(name "go-github-com-muesli-reflow-wordwrap")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 43/66] gnu: go-github-com-aws-smithy-go: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (40 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 42/66] gnu: go-github-com-jmespath-go-jmespath: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 44/66] gnu: go-github-com-aws-smithy-go: Adjust description Sharlatan Hellseher
` (22 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-smithy-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I3a4731ae27cc7365c1704cf5a9eab56ca79974a4
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 9f7b0e39dc..c23e6df581 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -104,6 +104,30 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+(define-public go-github-com-aws-smithy-go
+ (package
+ (name "go-github-com-aws-smithy-go")
+ (version "1.13.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/smithy-go")
+ (commit "v1.13.5")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rgyk0m2d3agknnlzjqvac1a61wwdq1pbck7vyl587m38n5zi2cz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/aws/smithy-go"))
+ (propagated-inputs
+ (list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp-cmp))
+ (home-page "https://github.com/aws/smithy-go")
+ (synopsis "Smithy code generators for Go")
+ (description
+ "Package smithy provides the core components for a Smithy SDK.")
+ (license license:asl2.0)))
+
(define-public go-github-com-aymerick-douceur
(package
(name "go-github-com-aymerick-douceur")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b493000159..0e821306f2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11300,30 +11300,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-smithy-go
- (package
- (name "go-github-com-aws-smithy-go")
- (version "1.13.5")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/smithy-go")
- (commit "v1.13.5")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1rgyk0m2d3agknnlzjqvac1a61wwdq1pbck7vyl587m38n5zi2cz"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/aws/smithy-go"))
- (propagated-inputs
- (list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp-cmp))
- (home-page "https://github.com/aws/smithy-go")
- (synopsis "Smithy code generators for Go")
- (description
- "Package smithy provides the core components for a Smithy SDK.")
- (license license:asl2.0)))
-
(define-public go-github-com-aws-aws-sdk-go-v2
(package
(name "go-github-com-aws-aws-sdk-go-v2")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 44/66] gnu: go-github-com-aws-smithy-go: Adjust description.
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (41 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 43/66] gnu: go-github-com-aws-smithy-go: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 45/66] gnu: go-github-com-aws-aws-sdk-go-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
` (21 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-aws-smithy-go):[description]
Add link to Smithy.
Change-Id: I3c913db5940dc97fb3fa8874fd8b1bf9baaf4a59
---
gnu/packages/golang-web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c23e6df581..ae9ffd3fd2 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -123,7 +123,8 @@ (define-public go-github-com-aws-smithy-go
(propagated-inputs
(list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp-cmp))
(home-page "https://github.com/aws/smithy-go")
- (synopsis "Smithy code generators for Go")
+ (synopsis "@url{https://smithy.io/2.0/index.html,Smithy} code generators
+for Go")
(description
"Package smithy provides the core components for a Smithy SDK.")
(license license:asl2.0)))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 45/66] gnu: go-github-com-aws-aws-sdk-go-v2: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (42 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 44/66] gnu: go-github-com-aws-smithy-go: Adjust description Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 46/66] gnu: go-github-com-aws-aws-sdk-go: " Sharlatan Hellseher
` (20 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/version-control.scm: Add (gnu packages golang-web) module.
Change-Id: I6e980749d9f9c1373adfc717b0195a1b8c32d6af
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
gnu/packages/version-control.scm | 1 +
3 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index ae9ffd3fd2..1542c409fe 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -104,6 +104,32 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+(define-public go-github-com-aws-aws-sdk-go-v2
+ (package
+ (name "go-github-com-aws-aws-sdk-go-v2")
+ (version "1.17.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/aws-sdk-go-v2")
+ (commit "v1.17.3")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a07xab1cn96iff7zvp5a82fzhqwl0i4bhplkm2h1qbkxgldn6x0"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go
+ go-github-com-google-go-cmp-cmp
+ go-github-com-jmespath-go-jmespath))
+ (home-page "https://github.com/aws/aws-sdk-go-v2")
+ (synopsis "AWS SDK for Go v2")
+ (description
+ "Package sdk is the official AWS SDK v2 for the Go programming language.")
+ (license license:asl2.0)))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0e821306f2..a02da0fb49 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11300,31 +11300,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2
- (package
- (name "go-github-com-aws-aws-sdk-go-v2")
- (version "1.17.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/aws-sdk-go-v2")
- (commit "v1.17.3")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1a07xab1cn96iff7zvp5a82fzhqwl0i4bhplkm2h1qbkxgldn6x0"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-jmespath-go-jmespath
- go-github-com-google-go-cmp-cmp
- go-github-com-aws-smithy-go))
- (home-page "https://github.com/aws/aws-sdk-go-v2")
- (synopsis "AWS SDK for Go v2")
- (description
- "Package sdk is the official AWS SDK v2 for the Go programming language.")
- (license license:asl2.0)))
-
(define-public go-github-com-aws-aws-sdk-go-v2-config
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index cf9a2f7a4c..ffd4feb73d 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -105,6 +105,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages groff)
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 46/66] gnu: go-github-com-aws-aws-sdk-go: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (43 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 45/66] gnu: go-github-com-aws-aws-sdk-go-v2: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 47/66] gnu: go-github-com-aws-aws-sdk-go-v2-config: " Sharlatan Hellseher
` (19 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ic639856afb340c2a7aea6dc917d2bcd32290d1b7
---
gnu/packages/golang-web.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 28 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1542c409fe..7ecdcbd8b5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Adam Kandur <kefironpremise@gmail.com>
@@ -104,6 +105,33 @@ (define-public go-github-com-aws-sdk
"This is the official AWS SDK for the Go programming language.")
(license license:asl2.0)))
+;; XXX: This package might be a duplicate of go-github-com-aws-sdk, it's not
+;; in use anywhere. Keep it here for the farther review.
+(define-public go-github-com-aws-aws-sdk-go
+ (package
+ (name "go-github-com-aws-aws-sdk-go")
+ (version "1.36.18")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aws/aws-sdk-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "169mkkw1cff1px6326krwvfpfj07sb4y5rbn003gi4bk176h6ry9"))))
+ (build-system go-build-system)
+ (propagated-inputs
+ (list go-github-com-jmespath-go-jmespath))
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go"
+ #:phases %standard-phases))
+ (synopsis "The official AWS SDK for the Go programming language")
+ (description
+ "The official AWS SDK for the Go programming language.")
+ (home-page "https://github.com/aws/aws-sdk-go")
+ (license license:asl2.0)))
+
(define-public go-github-com-aws-aws-sdk-go-v2
(package
(name "go-github-com-aws-aws-sdk-go-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a02da0fb49..d631973702 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11550,31 +11550,6 @@ (define-public go-github-com-mtibben-androiddnsfix
(define-public go-github-com-androiddnsfix
(deprecated-package "go-github-com-androiddnsfix" go-github-com-mtibben-androiddnsfix))
-(define-public go-github-com-aws-aws-sdk-go
- (package
- (name "go-github-com-aws-aws-sdk-go")
- (version "1.36.18")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/aws/aws-sdk-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "169mkkw1cff1px6326krwvfpfj07sb4y5rbn003gi4bk176h6ry9"))))
- (build-system go-build-system)
- (propagated-inputs
- (list go-github-com-jmespath-go-jmespath))
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go"
- #:phases %standard-phases))
- (synopsis "The official AWS SDK for the Go programming language")
- (description
- "The official AWS SDK for the Go programming language.")
- (home-page "https://github.com/aws/aws-sdk-go")
- (license license:asl2.0)))
-
(define-public go-gopkg-in-ini
(package
(name "go-gopkg-in-ini")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 47/66] gnu: go-github-com-aws-aws-sdk-go-v2-config: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (44 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 46/66] gnu: go-github-com-aws-aws-sdk-go: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 48/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-iam: " Sharlatan Hellseher
` (18 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-config): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ie775eff088ac4ad0327e2479a63f677ac9c75da2
---
gnu/packages/golang-web.scm | 12 ++++++++++++
gnu/packages/golang.scm | 11 -----------
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 7ecdcbd8b5..fde9a89ea3 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -158,6 +158,18 @@ (define-public go-github-com-aws-aws-sdk-go-v2
"Package sdk is the official AWS SDK v2 for the Go programming language.")
(license license:asl2.0)))
+(define-public go-github-com-aws-aws-sdk-go-v2-config
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-config")
+ (version "1.18.5")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/config"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-google-go-cmp-cmp
+ go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d631973702..98753c17b4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11300,17 +11300,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-config
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-config")
- (version "1.18.5")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/config"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-google-go-cmp-cmp
- go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 48/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-iam: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (45 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 47/66] gnu: go-github-com-aws-aws-sdk-go-v2-config: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 49/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-sso: " Sharlatan Hellseher
` (17 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-iam): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Id479cc90005de14f0916cb06fa140127812787b1
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index fde9a89ea3..bfda5ffa31 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -170,6 +170,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-config
(list go-github-com-google-go-cmp-cmp
go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-iam")
+ (version "1.44.161")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/iam"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 98753c17b4..0099531302 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11300,16 +11300,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-iam")
- (version "1.44.161")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/iam"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 49/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-sso: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (46 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 48/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-iam: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 50/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-ssooidc: " Sharlatan Hellseher
` (16 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-sso): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I7d9008a277e97adc2b496b11b75d63efd1b839f3
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index bfda5ffa31..5dd73bd4db 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -181,6 +181,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-sso")
+ (version "1.11.27")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sso"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0099531302..32756ad0ce 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11300,16 +11300,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-sso")
- (version "1.11.27")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sso"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 50/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-ssooidc: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (47 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 49/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-sso: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 51/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-sts: " Sharlatan Hellseher
` (15 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-ssooidc): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I7c1fc41bb4b7ae8b92204e3daee5628602328384
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 5dd73bd4db..4bc9c944cb 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -192,6 +192,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-sso
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-ssooidc")
+ (version "1.13.10")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/ssooidc"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 32756ad0ce..0ef1ba4edf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11300,16 +11300,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-ssooidc")
- (version "1.13.10")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/ssooidc"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-sts
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 51/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-sts: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (48 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 50/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-ssooidc: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 52/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-s3: " Sharlatan Hellseher
` (14 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-sts): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I3503dbde93a46ff47dcc035243a7f320b7090794
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4bc9c944cb..aadf8ac73e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -203,6 +203,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-ssooidc
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-sts
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-sts")
+ (version "1.17.7")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sts"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0ef1ba4edf..5aedd1d51e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11300,16 +11300,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-sts
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-sts")
- (version "1.17.7")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/sts"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-service-s3
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 52/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-s3: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (49 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 51/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-sts: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 53/66] gnu: go-github-com-aws-aws-sdk-go-v2-feature-s3-manager: " Sharlatan Hellseher
` (13 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-service-s3): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I11426c93b58f1c0c9c48527621ded345cc4f062b
---
gnu/packages/golang-web.scm | 11 +++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index aadf8ac73e..e87634cdaa 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -181,6 +181,17 @@ (define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(propagated-inputs
(list go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-service-s3
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-service-s3")
+ (version "1.30.0")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/service/s3"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs
+ (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-aws-sdk-go-v2-service-sso
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5aedd1d51e..05d072f1e5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11300,16 +11300,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-service-s3
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-service-s3")
- (version "1.30.0")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/service/s3"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 53/66] gnu: go-github-com-aws-aws-sdk-go-v2-feature-s3-manager: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (50 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 52/66] gnu: go-github-com-aws-aws-sdk-go-v2-service-s3: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 54/66] gnu: go-github-com-nwidger-jsoncolor: " Sharlatan Hellseher
` (12 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-aws-aws-sdk-go-v2-feature-s3-manager): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ia97de141c3c96e99b4824ea93925c5d2b5d9aa8d
---
gnu/packages/golang-web.scm | 10 ++++++++++
gnu/packages/golang.scm | 10 ----------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index e87634cdaa..616a14fdf1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -170,6 +170,16 @@ (define-public go-github-com-aws-aws-sdk-go-v2-config
(list go-github-com-google-go-cmp-cmp
go-github-com-aws-smithy-go))))
+(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
+ (package
+ (inherit go-github-com-aws-aws-sdk-go-v2)
+ (name "go-github-com-aws-aws-sdk-go-v2-feature-s3-manager")
+ (version "1.11.44")
+ (arguments
+ '(#:import-path "github.com/aws/aws-sdk-go-v2/feature/s3/manager"
+ #:unpack-path "github.com/aws/aws-sdk-go-v2"))
+ (propagated-inputs (list go-github-com-aws-smithy-go))))
+
(define-public go-github-com-aws-aws-sdk-go-v2-service-iam
(package
(inherit go-github-com-aws-aws-sdk-go-v2)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 05d072f1e5..205987cf36 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11300,16 +11300,6 @@ (define-public go-github-com-dvsekhvalnov-jose2go
(home-page "https://github.com/dvsekhvalnov/jose2go")
(license license:expat)))
-(define-public go-github-com-aws-aws-sdk-go-v2-feature-s3-manager
- (package
- (inherit go-github-com-aws-aws-sdk-go-v2)
- (name "go-github-com-aws-aws-sdk-go-v2-feature-s3-manager")
- (version "1.11.44")
- (arguments
- '(#:import-path "github.com/aws/aws-sdk-go-v2/feature/s3/manager"
- #:unpack-path "github.com/aws/aws-sdk-go-v2"))
- (propagated-inputs (list go-github-com-aws-smithy-go))))
-
(define-public aws-vault
(package
(name "aws-vault")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 54/66] gnu: go-github-com-nwidger-jsoncolor: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (51 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 53/66] gnu: go-github-com-aws-aws-sdk-go-v2-feature-s3-manager: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 55/66] gnu: go-github-com-hjson-hjson-go: " Sharlatan Hellseher
` (11 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-nwidger-jsoncolor): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I924581a553c7b59b1be3e274a1845af68b438bcb
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 616a14fdf1..96873f020c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
@@ -934,6 +935,32 @@ (define-public go-github-com-microcosm-cc-bluemonday
(description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
(license license:bsd-3)))
+(define-public go-github-com-nwidger-jsoncolor
+ (package
+ (name "go-github-com-nwidger-jsoncolor")
+ (version "0.3.0")
+ (home-page "https://github.com/nwidger/jsoncolor")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/nwidger/jsoncolor"))
+ (native-inputs
+ (list go-github-com-fatih-color))
+ (synopsis "Colorized JSON marshalling and encoding")
+ (description
+ "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
+@code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
+which produce colorized output using github.com/fatih/color.")
+ (license license:expat)))
+
(define-public go-github-com-opentracing-opentracing-go
(package
(name "go-github-com-opentracing-opentracing-go")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 205987cf36..3236abdec6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8913,33 +8913,6 @@ (define-public go-github-com-muesli-termenv
escape sequences and color conversions.")
(license license:expat)))
-(define-public go-github-com-nwidger-jsoncolor
- (package
- (name "go-github-com-nwidger-jsoncolor")
- (version "0.3.0")
- (home-page "https://github.com/nwidger/jsoncolor")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "13rd146pnj7qm70r1333gyd1f61x40nafxlpvdxlci9h7mx8c5p8"))))
- (build-system go-build-system)
- (arguments
- `(#:import-path "github.com/nwidger/jsoncolor"))
- (native-inputs
- (list go-github-com-fatih-color))
- (synopsis "Colorized JSON marshalling and encoding")
- (description
- "@code{jsoncolor} is a drop-in replacement for @code{encoding/json}'s
-@code{Marshal} and @code{MarshalIndent} functions and @code{Encoder} type
-which produce colorized output using github.com/fatih/color.")
- (license license:expat)))
-
(define-public go-github-com-olekukonko-tablewriter
(package
(name "go-github-com-olekukonko-tablewriter")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 55/66] gnu: go-github-com-hjson-hjson-go: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (52 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 54/66] gnu: go-github-com-nwidger-jsoncolor: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 56/66] gnu: go-github-com-xeipuuv-gojsonschema: " Sharlatan Hellseher
` (10 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-hjson-hjson-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/networking.scm: Add (gnu packages golang-web) module.
* gnu/packages/uucp.scm: As above.
Change-Id: If1ba5e4d866ce74fa35ae9126c6ba4cd0b149dab
---
gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++
gnu/packages/golang.scm | 24 ------------------------
gnu/packages/networking.scm | 1 +
gnu/packages/uucp.scm | 1 +
4 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 96873f020c..4771657add 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
@@ -757,6 +758,29 @@ (define-public go-github-com-gorilla-websocket
protocol.")
(license license:bsd-2)))
+(define-public go-github-com-hjson-hjson-go
+ (package
+ (name "go-github-com-hjson-hjson-go")
+ (version "3.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hjson/hjson-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dfdiahimg6z9idg8jiqxwnlwjnmasbjccx8gnag49cz4yfqskaz"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/hjson/hjson-go"))
+ (home-page "https://hjson.org/")
+ (synopsis "Human JSON implementation for Go")
+ (description "Hjson is a syntax extension to JSON. It is intended to be
+used like a user interface for humans, to read and edit before passing the
+JSON data to the machine.")
+ (license license:expat)))
+
(define-public go-github-com-jcmturner-dnsutils-v2
(package
(name "go-github-com-jcmturner-dnsutils-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3236abdec6..38398b111b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10092,30 +10092,6 @@ (define-public go-github-com-hashicorp-go-syslog
(description "This package is a very simple wrapper around log/syslog")
(license license:expat)))
-(define-public go-github-com-hjson-hjson-go
- (package
- (name "go-github-com-hjson-hjson-go")
- (version "4.3.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/hjson/hjson-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "138vmbnrwzxf64cia27k407clrydvs2jx927dlv6ziydiqyvy7m3"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/hjson/hjson-go"))
- (home-page "https://hjson.org/")
- (synopsis "Human JSON implementation for Go")
- (description "Hjson is a syntax extension to JSON. It is intended to be
-used like a user interface for humans, to read and edit before passing the
-JSON data to the machine.")
- (license license:expat)))
-
(define-public go-golang-zx2c4-com-wireguard
(package
(name "go-golang-zx2c4-com-wireguard")
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 6b415076e8..2366dd5fc5 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -123,6 +123,7 @@ (define-module (gnu packages networking)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
diff --git a/gnu/packages/uucp.scm b/gnu/packages/uucp.scm
index e10de59aa2..1626c90c36 100644
--- a/gnu/packages/uucp.scm
+++ b/gnu/packages/uucp.scm
@@ -19,6 +19,7 @@
(define-module (gnu packages uucp)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages texinfo)
#:use-module (guix licenses)
#:use-module (guix packages)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 56/66] gnu: go-github-com-xeipuuv-gojsonschema: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (53 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 55/66] gnu: go-github-com-hjson-hjson-go: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 57/66] gnu: go-github-com-xeipuuv-gojsonschema: Adjust inputs Sharlatan Hellseher
` (9 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonschema): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iaf68b653f279c98f62ce9e07f2ce010c8e1741e2
---
gnu/packages/golang-web.scm | 41 +++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 40 ------------------------------------
2 files changed, 41 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 4771657add..c97dfa7757 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1202,6 +1202,47 @@ (define-public go-github-com-valyala-fasthttp
replacement for native @code{net/http} module.")
(license license:expat)))
+(define-public go-github-com-xeipuuv-gojsonschema
+ (let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
+ (revision "0"))
+ (package
+ (name "go-github-com-xeipuuv-gojsonschema")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xeipuuv/gojsonschema")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1q937a6q7canlr3dllqdw0qwa6z2fpwn1w9kycavx8jmwh6q3f69"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/xeipuuv/gojsonschema"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (substitute* "schema_test.go"
+ (("\\{\"phase\": \"remote ref, " all)
+ (string-append "// " all))
+ (("\\{\"phase\": \"valid definition" all)
+ (string-append "// " all))
+ (("\\{\"phase\": \"invalid definition" all)
+ (string-append "// " all)))))))))
+ (propagated-inputs
+ (list go-github-com-xeipuuv-gojsonreference
+ go-github-com-xeipuuv-gojsonpointer
+ go-github-com-stretchr-testify))
+ (home-page "https://github.com/xeipuuv/gojsonschema")
+ (synopsis "Implementation of JSON Schema for Go")
+ (description
+ "This package provides an implementation of JSON Schema for the Go
+programming language, which supports draft-04, draft-06 and draft-07.")
+ (license license:asl2.0))))
+
(define-public go-gopkg-in-square-go-jose-v2
(package
(name "go-gopkg-in-square-go-jose-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 38398b111b..ee4cef4887 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12303,46 +12303,6 @@ (define-public go-github-com-xeipuuv-gojsonreference
programming language.")
(license license:asl2.0))))
-(define-public go-github-com-xeipuuv-gojsonschema
- (let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
- (revision "0"))
- (package
- (name "go-github-com-xeipuuv-gojsonschema")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/xeipuuv/gojsonschema")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1q937a6q7canlr3dllqdw0qwa6z2fpwn1w9kycavx8jmwh6q3f69"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/xeipuuv/gojsonschema"
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'disable-failing-tests
- (lambda* (#:key import-path #:allow-other-keys)
- (with-directory-excursion (string-append "src/" import-path)
- (substitute* "schema_test.go"
- (("\\{\"phase\": \"remote ref, " all)
- (string-append "// " all))
- (("\\{\"phase\": \"valid definition" all)
- (string-append "// " all))
- (("\\{\"phase\": \"invalid definition" all)
- (string-append "// " all)))))))))
- (propagated-inputs (list go-github-com-xeipuuv-gojsonreference
- go-github-com-xeipuuv-gojsonpointer
- go-github-com-stretchr-testify))
- (home-page "https://github.com/xeipuuv/gojsonschema")
- (synopsis "Implementation of JSON Schema for Go")
- (description
- "This package provides an implementation of JSON Schema for the Go
-programming language, which supports draft-04, draft-06 and draft-07.")
- (license license:asl2.0))))
-
(define-public go-github-com-niemeyer-pretty
(package
(name "go-github-com-niemeyer-pretty")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 57/66] gnu: go-github-com-xeipuuv-gojsonschema: Adjust inputs.
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (54 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 56/66] gnu: go-github-com-xeipuuv-gojsonschema: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 58/66] gnu: go-github-com-xeipuuv-gojsonpointer: Move to (gnu packages golang-web) Sharlatan Hellseher
` (8 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher
* gnu/packages/golang-web.scm (go-github-com-xeipuuv-gojsonschema):
[propagated-inputs]: Move go-github-com-stretchr-testify from here ...
[native-inputs]: ... to here.
Change-Id: Id865d5821060cd847aeb9ccfc7b7a477e12f7b7b
---
gnu/packages/golang-web.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c97dfa7757..346ca87cc7 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1232,10 +1232,11 @@ (define-public go-github-com-xeipuuv-gojsonschema
(string-append "// " all))
(("\\{\"phase\": \"invalid definition" all)
(string-append "// " all)))))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-xeipuuv-gojsonreference
- go-github-com-xeipuuv-gojsonpointer
- go-github-com-stretchr-testify))
+ go-github-com-xeipuuv-gojsonpointer))
(home-page "https://github.com/xeipuuv/gojsonschema")
(synopsis "Implementation of JSON Schema for Go")
(description
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 58/66] gnu: go-github-com-xeipuuv-gojsonpointer: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (55 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 57/66] gnu: go-github-com-xeipuuv-gojsonschema: Adjust inputs Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 59/66] gnu: go-github-com-xeipuuv-gojsonreference: " Sharlatan Hellseher
` (7 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonpointer): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I1c77a5a1b0e85fa57578ff29c9e3c403e4d62bc8
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 346ca87cc7..1f9fe0ffca 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1202,6 +1202,31 @@ (define-public go-github-com-valyala-fasthttp
replacement for native @code{net/http} module.")
(license license:expat)))
+(define-public go-github-com-xeipuuv-gojsonpointer
+ (let ((commit "4e3ac2762d5f479393488629ee9370b50873b3a6")
+ (revision "0"))
+ (package
+ (name "go-github-com-xeipuuv-gojsonpointer")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xeipuuv/gojsonpointer")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13y6iq2nzf9z4ls66bfgnnamj2m3438absmbpqry64bpwjfbsi9q"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/xeipuuv/gojsonpointer"))
+ (home-page "https://github.com/xeipuuv/gojsonpointer")
+ (synopsis "Implementation of JSON Pointer for Go")
+ (description
+ "This package provides an implementation of JSON Pointer for the Go
+programming language.")
+ (license license:asl2.0))))
+
(define-public go-github-com-xeipuuv-gojsonschema
(let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ee4cef4887..feb1161e3f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12252,31 +12252,6 @@ (define-public go-github-com-go-test-deep
when comparing complex types like structures and maps.")
(license license:expat)))
-(define-public go-github-com-xeipuuv-gojsonpointer
- (let ((commit "4e3ac2762d5f479393488629ee9370b50873b3a6")
- (revision "0"))
- (package
- (name "go-github-com-xeipuuv-gojsonpointer")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/xeipuuv/gojsonpointer")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "13y6iq2nzf9z4ls66bfgnnamj2m3438absmbpqry64bpwjfbsi9q"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/xeipuuv/gojsonpointer"))
- (home-page "https://github.com/xeipuuv/gojsonpointer")
- (synopsis "Implementation of JSON Pointer for Go")
- (description
- "This package provides an implementation of JSON Pointer for the Go
-programming language.")
- (license license:asl2.0))))
-
(define-public go-github-com-xeipuuv-gojsonreference
(let ((commit "bd5ef7bd5415a7ac448318e64f11a24cd21e594b")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 59/66] gnu: go-github-com-xeipuuv-gojsonreference: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (56 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 58/66] gnu: go-github-com-xeipuuv-gojsonpointer: Move to (gnu packages golang-web) Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 60/66] gnu: go-github-com-whyrusleeping-json-filter: " Sharlatan Hellseher
` (6 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonreference): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Iba8903cba4efa0b806cb19237db3ee51a46646c6
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
2 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 1f9fe0ffca..7f6ced049c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1227,6 +1227,33 @@ (define-public go-github-com-xeipuuv-gojsonpointer
programming language.")
(license license:asl2.0))))
+(define-public go-github-com-xeipuuv-gojsonreference
+ (let ((commit "bd5ef7bd5415a7ac448318e64f11a24cd21e594b")
+ (revision "0"))
+ (package
+ (name "go-github-com-xeipuuv-gojsonreference")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xeipuuv/gojsonreference")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xby79padc7bmyb8rfbad8wfnfdzpnh51b1n8c0kibch0kwc1db5"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/xeipuuv/gojsonreference"))
+ (propagated-inputs
+ (list go-github-com-xeipuuv-gojsonpointer))
+ (home-page "https://github.com/xeipuuv/gojsonreference")
+ (synopsis "Implementation of JSON Reference for Go")
+ (description
+ "This package provides an implementation of JSON Reference for the Go
+programming language.")
+ (license license:asl2.0))))
+
(define-public go-github-com-xeipuuv-gojsonschema
(let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index feb1161e3f..00a0e4c933 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12252,32 +12252,6 @@ (define-public go-github-com-go-test-deep
when comparing complex types like structures and maps.")
(license license:expat)))
-(define-public go-github-com-xeipuuv-gojsonreference
- (let ((commit "bd5ef7bd5415a7ac448318e64f11a24cd21e594b")
- (revision "0"))
- (package
- (name "go-github-com-xeipuuv-gojsonreference")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/xeipuuv/gojsonreference")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1xby79padc7bmyb8rfbad8wfnfdzpnh51b1n8c0kibch0kwc1db5"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/xeipuuv/gojsonreference"))
- (propagated-inputs (list go-github-com-xeipuuv-gojsonpointer))
- (home-page "https://github.com/xeipuuv/gojsonreference")
- (synopsis "Implementation of JSON Reference for Go")
- (description
- "This package provides an implementation of JSON Reference for the Go
-programming language.")
- (license license:asl2.0))))
-
(define-public go-github-com-niemeyer-pretty
(package
(name "go-github-com-niemeyer-pretty")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 60/66] gnu: go-github-com-whyrusleeping-json-filter: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (57 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 59/66] gnu: go-github-com-xeipuuv-gojsonreference: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 61/66] gnu: go-github-com-stretchr-objx: " Sharlatan Hellseher
` (5 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-whyrusleeping-json-filter): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I41d725c82adc3f5571c50bdf6a092e9a310e0f6c
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
2 files changed, 25 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 7f6ced049c..fbfa1049a4 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -1202,6 +1202,31 @@ (define-public go-github-com-valyala-fasthttp
replacement for native @code{net/http} module.")
(license license:expat)))
+(define-public go-github-com-whyrusleeping-json-filter
+ (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
+ (revision "0"))
+ (package
+ (name "go-github-com-whyrusleeping-json-filter")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/whyrusleeping/json-filter")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path
+ "github.com/whyrusleeping/json-filter"))
+ (home-page "https://github.com/whyrusleeping/json-filter")
+ (synopsis "Library to query JSON objects marshalled into map[string]interface")
+ (description "A library to query JSON objects marshalled into
+@command{map[string]interface{}}.")
+ (license license:expat))))
+
(define-public go-github-com-xeipuuv-gojsonpointer
(let ((commit "4e3ac2762d5f479393488629ee9370b50873b3a6")
(revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 00a0e4c933..1fb656c547 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6546,32 +6546,6 @@ (define-public go-github-com-pmezard-go-difflib
(description "This package provides unified and context-aware diffs in Go.")
(license license:bsd-3)))
-(define-public go-github-com-whyrusleeping-json-filter
- (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b")
- (revision "0"))
- (package
- (name "go-github-com-whyrusleeping-json-filter")
- (version (git-version "0.0.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/whyrusleeping/json-filter")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path
- "github.com/whyrusleeping/json-filter"))
- (home-page "https://github.com/whyrusleeping/json-filter")
- (synopsis "Library to query JSON objects marshalled into map[string]interface")
- (description "A library to query JSON objects marshalled into
-@command{map[string]interface{}}.")
- (license license:expat))))
-
(define-public go-github-com-whyrusleeping-progmeter
(let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04")
(revision "0"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 61/66] gnu: go-github-com-stretchr-objx: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (58 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 60/66] gnu: go-github-com-whyrusleeping-json-filter: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 62/66] gnu: go-github-com-google-go-github: " Sharlatan Hellseher
` (4 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-stretchr-objx,
go-github-com-stretchr-testify-bootstrap): Move from here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I357edfb72b789da67f821ae63afe30f18fc1cb39
---
gnu/packages/golang-check.scm | 51 ++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 52 -----------------------------------
2 files changed, 51 insertions(+), 52 deletions(-)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 42e501a6e3..b74864d808 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -378,6 +378,46 @@ (define-public go-github-com-onsi-ginkgo
Gomega matcher library.")
(license license:expat)))
+(define-public go-github-com-stretchr-objx
+ (package
+ (name "go-github-com-stretchr-objx")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/stretchr/objx")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0dygds32qxx6x1x2mmn7msyjr15qi5r70pyzv8dz8cprxq32nzc1"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "vendor")))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/stretchr/objx"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs #:allow-other-keys #:rest args)
+ (unless
+ ;; The tests fail when run with gccgo.
+ (false-if-exception (search-input-file inputs "/bin/gccgo"))
+ (apply (assoc-ref %standard-phases 'check) args)))))))
+ (propagated-inputs
+ (list go-github-com-davecgh-go-spew
+ go-github-com-pmezard-go-difflib))
+ (inputs
+ (list go-github-com-stretchr-testify-bootstrap))
+ (home-page "https://github.com/stretchr/objx")
+ (synopsis "Go package for dealing with maps, slices, JSON and other data")
+ (description "This package provides a Go library for dealing with maps,
+slices, JSON and other data.")
+ (license license:expat)))
+
(define-public go-github-com-stretchr-testify
(package
(name "go-github-com-stretchr-testify")
@@ -414,6 +454,17 @@ (define-public go-github-com-stretchr-testify
@end itemize")
(license license:expat)))
+(define go-github-com-stretchr-testify-bootstrap
+ (package
+ (inherit go-github-com-stretchr-testify)
+ (arguments
+ '(#:import-path "github.com/stretchr/testify"
+ #:tests? #f
+ #:phases (modify-phases %standard-phases
+ (delete 'build))))
+ (propagated-inputs
+ (list go-gopkg-in-yaml-v3))))
+
(define-public go-github-com-tdewolff-test
(package
(name "go-github-com-tdewolff-test")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1fb656c547..1870eadb9c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4146,58 +4146,6 @@ (define-public go-github-com-jpillora-backoff
Go.")
(license license:expat))))
-(define-public go-github-com-stretchr-objx
- (package
- (name "go-github-com-stretchr-objx")
- (version "0.4.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/stretchr/objx")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0dygds32qxx6x1x2mmn7msyjr15qi5r70pyzv8dz8cprxq32nzc1"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file-recursively "vendor")))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/stretchr/objx"
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys #:rest args)
- (unless
- ;; The tests fail when run with gccgo.
- (false-if-exception (search-input-file inputs "/bin/gccgo"))
- (apply (assoc-ref %standard-phases 'check) args)))))))
- (propagated-inputs
- (list go-github-com-davecgh-go-spew
- go-github-com-pmezard-go-difflib))
- (inputs
- (list go-github-com-stretchr-testify-bootstrap))
- (home-page "https://github.com/stretchr/objx")
- (synopsis "Go package for dealing with maps, slices, JSON and other data")
- (description "This package provides a Go library for dealing with maps,
-slices, JSON and other data.")
- (license license:expat)))
-
-(define go-github-com-stretchr-testify-bootstrap
- (package
- (inherit go-github-com-stretchr-testify)
- (arguments
- '(#:import-path "github.com/stretchr/testify"
- #:tests? #f
- #:phases (modify-phases %standard-phases
- (delete 'build))))
- (propagated-inputs
- (list go-gopkg-in-yaml-v3))))
-
(define-public go-github-com-technoweenie-multipartstreamer
(package
(name "go-github-com-technoweenie-multipartstreamer")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 62/66] gnu: go-github-com-google-go-github: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (59 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 61/66] gnu: go-github-com-stretchr-objx: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 63/66] gnu: go-cloud-google-com-go-compute-metadata: " Sharlatan Hellseher
` (3 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-google-go-github): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: I17711a8f0bfd58a12cf805f1678688d2946c985b
---
gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
gnu/packages/golang.scm | 26 --------------------------
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index fbfa1049a4..20c3b0f3e1 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -538,6 +538,32 @@ (define-public go-github-com-goccy-go-json
(description "Fast JSON encoder/decoder compatible with encoding/json for Go.")
(license license:expat)))
+(define-public go-github-com-google-go-github
+ (package
+ (name "go-github-com-google-go-github")
+ (version "26.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/go-github")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:tests? #f ;application/octet-stream instead of text/plain
+ #:import-path "github.com/google/go-github/v26/github"
+ #:unpack-path "github.com/google/go-github/v26"))
+ (native-inputs
+ (list go-github-com-google-go-querystring go-golang-org-x-crypto))
+ (home-page "https://github.com/google/go-github/")
+ (synopsis "Client library for accessing the GitHub API v3")
+ (description "@code{go-github} is a Go client library for accessing the
+GitHub API v3.")
+ (license license:bsd-3)))
+
(define-public go-github-com-google-safehtml
(package
(name "go-github-com-google-safehtml")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1870eadb9c..b4bfe4986a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7810,32 +7810,6 @@ (define-public go-github-com-google-go-querystring
into URL query parameters.")
(license license:bsd-3))))
-(define-public go-github-com-google-go-github
- (package
- (name "go-github-com-google-go-github")
- (version "26.1.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/google/go-github")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0x0zz1vcmllp6r6l2qin9b2llm5cxbf6n84rf99h8wrmhvzs2ipi"))))
- (build-system go-build-system)
- (arguments
- `(#:tests? #f ;application/octet-stream instead of text/plain
- #:import-path "github.com/google/go-github/v26/github"
- #:unpack-path "github.com/google/go-github/v26"))
- (native-inputs
- (list go-github-com-google-go-querystring go-golang-org-x-crypto))
- (home-page "https://github.com/google/go-github/")
- (synopsis "Client library for accessing the GitHub API v3")
- (description "@code{go-github} is a Go client library for accessing the
-GitHub API v3.")
- (license license:bsd-3)))
-
(define-public go-github-com-google-renameio
(package
(name "go-github-com-google-renameio")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 63/66] gnu: go-cloud-google-com-go-compute-metadata: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (60 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 62/66] gnu: go-github-com-google-go-github: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 64/66] gnu: go-github-com-getsentry-raven-go: " Sharlatan Hellseher
` (2 subsequent siblings)
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-cloud-google-com-go-compute-metadata): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
* gnu/packages/mail.scm: Add (gnu packages golang-web) module.
Change-Id: Ic97e5f4afd26376d37860fbb4758e8037e758f58
---
gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
gnu/packages/mail.scm | 1 +
3 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 20c3b0f3e1..c046e0d46a 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
+;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Adam Kandur <kefironpremise@gmail.com>
@@ -55,6 +56,32 @@ (define-module (gnu packages golang-web)
;;;
;;; Code:
\f
+(define-public go-cloud-google-com-go-compute-metadata
+ (package
+ (name "go-cloud-google-com-go-compute-metadata")
+ (version "0.81.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googleapis/google-cloud-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15jgynqb5pbxqbj3a7ii970yn4srsw1dbxzxnhpkfkmplalpgyh3"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:unpack-path "cloud.google.com/go"
+ #:import-path "cloud.google.com/go/compute/metadata"))
+ (home-page
+ "https://pkg.go.dev/cloud.google.com/go/compute/metadata")
+ (synopsis
+ "Go wrapper for Google Compute Engine metadata service")
+ (description
+ "This package provides access to Google Compute Engine (GCE) metadata and
+API service accounts for Go.")
+ (license license:asl2.0)))
+
(define-public go-github-com-andybalholm-cascadia
(package
(name "go-github-com-andybalholm-cascadia")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b4bfe4986a..7dcd2a00ac 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4260,33 +4260,6 @@ (define-public go-github-com-blang-semver
(description "Semver is a library for Semantic versioning written in Go.")
(license license:expat))))
-(define-public go-cloud-google-com-go-compute-metadata
- (package
- (name "go-cloud-google-com-go-compute-metadata")
- (version "0.81.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/googleapis/google-cloud-go")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "15jgynqb5pbxqbj3a7ii970yn4srsw1dbxzxnhpkfkmplalpgyh3"))))
- (build-system go-build-system)
- (arguments
- '(#:unpack-path "cloud.google.com/go"
- #:import-path "cloud.google.com/go/compute/metadata"))
- (home-page
- "https://pkg.go.dev/cloud.google.com/go/compute/metadata")
- (synopsis
- "Go wrapper for Google Compute Engine metadata service")
- (description
- "This package provides access to Google Compute Engine (GCE) metadata and
-API service accounts for Go.")
- (license license:asl2.0)))
-
(define-public go-github-com-google-cadvisor
(let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
(revision "0"))
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 1676acf2f9..bb3fe1b3be 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -109,6 +109,7 @@ (define-module (gnu packages mail)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-web)
#:use-module (gnu packages groff)
#:use-module (gnu packages gsasl)
#:use-module (gnu packages gtk)
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 64/66] gnu: go-github-com-getsentry-raven-go: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (61 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 63/66] gnu: go-cloud-google-com-go-compute-metadata: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 65/66] gnu: go-github-com-go-telegram-bot-api-telegram-bot-api: " Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 66/66] gnu: actionlint: Update to 1.6.26 Sharlatan Hellseher
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-getsentry-raven-go): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: If7e155b3e85d8bda8fd099f6a4d1eb6b87e9eee3
---
gnu/packages/golang-web.scm | 31 +++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 27 ---------------------------
2 files changed, 31 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c046e0d46a..41c8c37a0b 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
+;;; Copyright © 2021 Leo Famulari <leo@famulari.name>
;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
@@ -45,6 +46,7 @@ (define-module (gnu packages golang-web)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages tls)
#:use-module (gnu packages web))
;;; Commentary:
@@ -521,6 +523,35 @@ (define-public go-github-com-francoispqt-gojay
(home-page "https://github.com/francoispqt/gojay")
(license license:expat)))
+;; TODO: This repository has been archived by the owner on Aug 30, 2023. It is
+;; now read-only. The raven-go SDK is no longer maintained and was superseded
+;; by the sentry-go
+(define-public go-github-com-getsentry-raven-go
+ (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
+ (revision "0"))
+ (package
+ (name "go-github-com-getsentry-raven-go")
+ (version (git-version "0.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/getsentry/raven-go")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/getsentry/raven-go"))
+ (propagated-inputs
+ (list go-github-com-certifi-gocertifi go-github-com-pkg-errors))
+ (home-page "https://github.com/getsentry/raven-go")
+ (synopsis "Sentry client in Go")
+ (description "This package is a Go client API for the Sentry event/error
+logging system.")
+ (license license:bsd-3))))
+
(define-public go-github-com-go-chi-chi-v5
(package
(name "go-github-com-go-chi-chi-v5")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7dcd2a00ac..2f3bdf5993 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4038,33 +4038,6 @@ (define-public go-github-com-burntsushi-toml
is similar to Go's standard library @code{json} and @code{xml} package.")
(license license:expat)))
-(define-public go-github-com-getsentry-raven-go
- (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
- (revision "0"))
- (package
- (name "go-github-com-getsentry-raven-go")
- (version (git-version "0.2.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/getsentry/raven-go")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0lvc376sq8r8jhy2v1m6rf1wyld61pvbk0x6j9xpg56ivqy69xs7"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "github.com/getsentry/raven-go"))
- (propagated-inputs
- (list go-github-com-certifi-gocertifi go-github-com-pkg-errors))
- (home-page "https://github.com/getsentry/raven-go")
- (synopsis "Sentry client in Go")
- (description "This package is a Go client API for the Sentry event/error
-logging system.")
- (license license:bsd-3))))
-
(define-public go-github-com-hashicorp-go-uuid
(package
(name "go-github-com-hashicorp-go-uuid")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 65/66] gnu: go-github-com-go-telegram-bot-api-telegram-bot-api: Move to (gnu packages golang-web).
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (62 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 64/66] gnu: go-github-com-getsentry-raven-go: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
2023-11-29 22:35 ` [bug#66827] [PATCH v3 66/66] gnu: actionlint: Update to 1.6.26 Sharlatan Hellseher
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/golang.scm (go-github-com-go-telegram-bot-api-telegram-bot-api): Move from
here...
* gnu/packages/golang-web.scm: ...to here.
Change-Id: Ia631773394faaff150c18b074c943565f6998e1f
---
gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++
gnu/packages/golang.scm | 25 -------------------------
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 41c8c37a0b..7759916c35 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -575,6 +575,31 @@ (define-public go-github-com-go-chi-chi-v5
decompose request handling into many smaller layers.")
(license license:expat)))
+(define-public go-github-com-go-telegram-bot-api-telegram-bot-api
+ (package
+ (name "go-github-com-go-telegram-bot-api-telegram-bot-api")
+ (version "4.6.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-telegram-bot-api/telegram-bot-api")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1x6j0k3aiicsr8l53na99ci10zm3qpn2syz4f60fzh164w5k1l7w"))))
+ (build-system go-build-system)
+ (home-page "https://go-telegram-bot-api.dev/")
+ (arguments
+ (list #:tests? #f ; Upstream tests are broken.
+ #:import-path "github.com/go-telegram-bot-api/telegram-bot-api"))
+ (propagated-inputs
+ (list go-github-com-technoweenie-multipartstreamer))
+ (synopsis "Golang bindings for the Telegram Bot API")
+ (description
+ "This package provides Golang bindings for the Telegram Bot API.")
+ (license license:expat)))
+
(define-public go-github-com-goccy-go-json
(package
(name "go-github-com-goccy-go-json")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2f3bdf5993..77a0d98c6e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10048,31 +10048,6 @@ (define-public go-github-com-tekwizely-go-parsing
parsers, and related tools.")
(license license:expat))))
-(define-public go-github-com-go-telegram-bot-api-telegram-bot-api
- (package
- (name "go-github-com-go-telegram-bot-api-telegram-bot-api")
- (version "4.6.4")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/go-telegram-bot-api/telegram-bot-api")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1x6j0k3aiicsr8l53na99ci10zm3qpn2syz4f60fzh164w5k1l7w"))))
- (build-system go-build-system)
- (home-page "https://go-telegram-bot-api.dev/")
- (arguments
- (list #:tests? #f ; Upstream tests are broken.
- #:import-path "github.com/go-telegram-bot-api/telegram-bot-api"))
- (propagated-inputs
- (list go-github-com-technoweenie-multipartstreamer))
- (synopsis "Golang bindings for the Telegram Bot API")
- (description
- "This package provides Golang bindings for the Telegram Bot API.")
- (license license:expat)))
-
(define-public go-github.com-ulikunitz-xz
(package
(name "go-github.com-ulikunitz-xz")
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread
* [bug#66827] [PATCH v3 66/66] gnu: actionlint: Update to 1.6.26.
2023-11-29 22:34 ` [bug#66827] [PATCH v3 01/66] gnu: Add (gnu packages golang-web) module Sharlatan Hellseher
` (63 preceding siblings ...)
2023-11-29 22:35 ` [bug#66827] [PATCH v3 65/66] gnu: go-github-com-go-telegram-bot-api-telegram-bot-api: " Sharlatan Hellseher
@ 2023-11-29 22:35 ` Sharlatan Hellseher
64 siblings, 0 replies; 206+ messages in thread
From: Sharlatan Hellseher @ 2023-11-29 22:35 UTC (permalink / raw)
To: 66827; +Cc: Sharlatan Hellseher, Katherine Cox-Buday
* gnu/packages/check.scm (actionlint): Update to 1.6.26.
[inputs]: Swap go-github-com-robfig-cron-1.2 to go-github-com-robfig-cron
* gnu/packages/golang.scm (go-github-com-robfig-cron-1.2): Delete variable.
Change-Id: Ie2c25254ffefb99f8808f74ae4a9d85bbbcb6437
---
gnu/packages/check.scm | 8 ++++----
gnu/packages/golang.scm | 18 ------------------
2 files changed, 4 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 1f5b886977..a2fdde903e 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -39,7 +39,7 @@
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022, 2023 David Elsing <david.elsing@posteo.net>
-;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2022, 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; Copyright © 2023 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
@@ -1069,7 +1069,7 @@ (define-public cpputest
(define-public actionlint
(package
(name "actionlint")
- (version "1.6.23")
+ (version "1.6.26")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1078,7 +1078,7 @@ (define-public actionlint
(file-name (git-file-name name version))
(sha256
(base32
- "07is4920a40zrl7mfldg0az2pisi7f6dv4vh3ijn3nzb4i7fqbni"))))
+ "0j4ni2cryvqn3qim1r6q6sargh0wig6l4vjjwc40cgqvvkrdla04"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/rhysd/actionlint/cmd/actionlint"
@@ -1087,7 +1087,7 @@ (define-public actionlint
(inputs (list go-github-com-fatih-color
go-github-com-mattn-go-colorable
go-github-com-mattn-go-runewidth
- go-github-com-robfig-cron-1.2
+ go-github-com-robfig-cron
go-golang.org-x-sync-errgroup
go-golang.org-x-sync-semaphore
go-gopkg-in-yaml-v3))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 77a0d98c6e..2262f6011d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7277,24 +7277,6 @@ (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"))
--
2.41.0
^ permalink raw reply related [flat|nested] 206+ messages in thread