1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 20:10:39 +02:00

gnu: go-github-com-coder-websocket: Delete submodule.

* gnu/packages/golang-web.scm (go-github-com-coder-websocket)
[source] <snippet>: Delete submodule which would be packaged separately.
[native-inputs]: Add go-golang-org-x-time.

Change-Id: Ia4b491f94e29b4bd4a0365433ddaf0fe781024ee
This commit is contained in:
Sharlatan Hellseher 2024-12-26 21:37:22 +00:00
parent dc7d7642d8
commit 4f97dbd2bd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1068,10 +1068,19 @@ browser window.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "172v9mqghswf50ga512qghb6ii0ivz5fi2iyjzdnbm42g0cr4fjj")))) (base32 "172v9mqghswf50ga512qghb6ii0ivz5fi2iyjzdnbm42g0cr4fjj"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodules with their own go.mod files and packaged separately:
;;
;; - github.com/coder/websocket/internal/thirdparty
(delete-file-recursively "internal/thirdparty")))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list #:import-path "github.com/coder/websocket")) (list #:import-path "github.com/coder/websocket"))
(native-inputs
(list go-golang-org-x-time)) ; for examples
(home-page "https://github.com/coder/websocket") (home-page "https://github.com/coder/websocket")
(synopsis "WebSocket library for Go") (synopsis "WebSocket library for Go")
(description (description