unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Troy Figiel <troy@troyfigiel.com>
To: 69047@debbugs.gnu.org
Subject: [bug#69047] [PATCH v2] gnu: go-github-com-oneofone-xxhash: Remove benchmarks.
Date: Sun, 11 Feb 2024 12:17:59 +0100	[thread overview]
Message-ID: <87zfw5bcco.fsf@troyfigiel.com> (raw)
In-Reply-To: <87o7cn9rde.fsf@troyfigiel.com>

* gnu/packages/golang.scm (go-github-com-oneofone-xxhash): 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..2d52dbaa19 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10228,7 +10228,13 @@ (define-public go-github-com-oneofone-xxhash
          "0f98qk83l2fhpclvrgyxsa9b8m4pipf11fah85bnjl01wy4lvybw"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/OneOfOne/xxhash"))
+     (list
+      #:import-path "github.com/OneOfOne/xxhash"
+      #: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")))))))
     (home-page "https://github.com/OneOfOne/xxhash")
     (synopsis "Go implementation of xxHash")
     (description "This is a native Go implementation of the

base-commit: 16d2be641424815a1779119bb64bc6ba1be1161b
-- 
2.42.0





  reply	other threads:[~2024-02-12 21:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-11 11:17 [bug#69047] [PATCH] gnu: go-github-com-oneofone-xxhash: Remove benchmarks Troy Figiel
2024-02-11 11:17 ` Troy Figiel [this message]
2024-02-13 21:37 ` bug#69047: " Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zfw5bcco.fsf@troyfigiel.com \
    --to=troy@troyfigiel.com \
    --cc=69047@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).