gnu: go-github-com-gorilla-handlers: Move to (gnu packages golang-web).

* 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
This commit is contained in:
Sharlatan Hellseher 2023-11-29 22:34:48 +00:00 committed by Maxim Cournoyer
parent e0060729b5
commit fae3b9d598
No known key found for this signature in database
GPG key ID: 1260E46482E63562
3 changed files with 28 additions and 27 deletions

View file

@ -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)

View file

@ -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")

View file

@ -4867,32 +4867,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")