all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69046] [PATCH] gnu: go-github-com-goccy-yaml: Remove benchmarks.
@ 2024-02-11 10:44 Troy Figiel
  2024-02-11 10:44 ` [bug#69046] [PATCH v2] " Troy Figiel
  2024-02-13 21:38 ` bug#69046: [PATCH] " Sharlatan Hellseher
  0 siblings, 2 replies; 3+ messages in thread
From: Troy Figiel @ 2024-02-11 10:44 UTC (permalink / raw)
  To: 69046

* gnu/packages/golang.scm (go-github-com-goccy-yaml)[source]: Remove benchmarks.
---
 gnu/packages/golang.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 163691a1e6..6084175e88 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9626,7 +9626,9 @@ (define-public go-github-com-goccy-yaml
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1nps58dwkd915mx35h5f0dc05b880b4fdl6dcjxpfmmbzyinvg38"))))
+        (base32 "1nps58dwkd915mx35h5f0dc05b880b4fdl6dcjxpfmmbzyinvg38"))
+       (modules '((guix build utils)))
+       (snippet '(delete-file-recursively "benchmarks"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/goccy/go-yaml"))

base-commit: 9edbb2d7a40c9da7583a1046e39b87633459f656
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#69046] [PATCH v2] gnu: go-github-com-goccy-yaml: Remove benchmarks.
  2024-02-11 10:44 [bug#69046] [PATCH] gnu: go-github-com-goccy-yaml: Remove benchmarks Troy Figiel
@ 2024-02-11 10:44 ` Troy Figiel
  2024-02-13 21:38 ` bug#69046: [PATCH] " Sharlatan Hellseher
  1 sibling, 0 replies; 3+ messages in thread
From: Troy Figiel @ 2024-02-11 10:44 UTC (permalink / raw)
  To: 69046

* gnu/packages/golang.scm (go-github-com-goccy-yaml): Remove benchmarks.
[arguments]<#:phases>: Add remove-benchmarks phase.
---
 gnu/packages/golang.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 163691a1e6..42450fbc4b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9629,7 +9629,13 @@ (define-public go-github-com-goccy-yaml
         (base32 "1nps58dwkd915mx35h5f0dc05b880b4fdl6dcjxpfmmbzyinvg38"))))
     (build-system go-build-system)
     (arguments
-     `(#:import-path "github.com/goccy/go-yaml"))
+     (list
+      #:import-path "github.com/goccy/go-yaml"
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'remove-benchmarks
+                     (lambda* (#:key import-path #:allow-other-keys)
+                       (delete-file-recursively
+                        (string-append "src/" import-path "/benchmarks")))))))
     (propagated-inputs
      (list go-github-com-fatih-color go-golang-org-x-xerrors))
     (native-inputs

base-commit: 16d2be641424815a1779119bb64bc6ba1be1161b
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#69046: [PATCH] gnu: go-github-com-goccy-yaml: Remove benchmarks.
  2024-02-11 10:44 [bug#69046] [PATCH] gnu: go-github-com-goccy-yaml: Remove benchmarks Troy Figiel
  2024-02-11 10:44 ` [bug#69046] [PATCH v2] " Troy Figiel
@ 2024-02-13 21:38 ` Sharlatan Hellseher
  1 sibling, 0 replies; 3+ messages in thread
From: Sharlatan Hellseher @ 2024-02-13 21:38 UTC (permalink / raw)
  To: 69046-done

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]


Hi,

Pushed as 0f19437ab8c1c4b6e26cdd78ba89f1a0cd18b86b to master.

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-13 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-11 10:44 [bug#69046] [PATCH] gnu: go-github-com-goccy-yaml: Remove benchmarks Troy Figiel
2024-02-11 10:44 ` [bug#69046] [PATCH v2] " Troy Figiel
2024-02-13 21:38 ` bug#69046: [PATCH] " Sharlatan Hellseher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.