From f75f38057edc8bc4a3df3281f1abd2bed313e975 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 26 Dec 2024 15:17:54 +0000 Subject: [PATCH] gnu: go-github-com-go-jose-go-jose-v3: Delete submodule. * gnu/packages/golang-web.scm (go-github-com-go-jose-go-jose-v3) [source] : Delete submodule which needs to be packages separately. Change-Id: If5490cd8218e917649ab46a7786fa8beaeb8dbf3 --- gnu/packages/golang-web.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 48fccc14f3..4fbade8bae 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1932,15 +1932,23 @@ (define-public go-github-com-go-jose-go-jose-v3 (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0kbkplhzqv9ai28r4smhdsxxwh20d96srr3am37pwwnh48ivwch8")))) + (base32 "0kbkplhzqv9ai28r4smhdsxxwh20d96srr3am37pwwnh48ivwch8")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Submodules with their own go.mod files and packaged separatly: + ;; + ;; - github.com/go-jose/go-jose/jose-util + (delete-file-recursively "jose-util"))))) (build-system go-build-system) (arguments - '( #:import-path "github.com/go-jose/go-jose/v3")) - (propagated-inputs - (list go-golang-org-x-crypto)) + (list + #:import-path "github.com/go-jose/go-jose/v3")) (native-inputs (list go-github-com-google-go-cmp go-github-com-stretchr-testify)) + (propagated-inputs + (list go-golang-org-x-crypto)) (home-page "https://github.com/go-jose/go-jose") (synopsis "Implementation of JOSE standards (JWE, JWS, JWT) in Go") (description