unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 69608@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#69608] [PATCH 3/7] gnu: Add go-github-com-blang-semver-v4.
Date: Thu,  7 Mar 2024 12:18:34 +0000	[thread overview]
Message-ID: <3ed67f81b7a93d06484822244a346624804d2cb5.1709812934.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1709812934.git.sharlatanus@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-blang-semver-v4): New variable.

Change-Id: I87132b1b727b7e6ef4d46bb08dc5ad509db4e2e4
---
 gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 425a6f15af..2b0aa97f99 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -306,6 +306,31 @@ (define-public go-github-com-blang-semver
      "Semver is a library for Semantic versioning written in Go.")
     (license license:expat)))
 
+(define-public go-github-com-blang-semver-v4
+  (package
+    (inherit go-github-com-blang-semver)
+    (name "go-github-com-blang-semver-v4")
+    (version "4.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/blang/semver")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14h9ys4n4kx9cbj42lkdf4i5k3nkll6sd62jcvl7cs565v6fiknz"))))
+    (arguments
+     (list
+      #:import-path "github.com/blang/semver/v4"
+      #:unpack-path "github.com/blang/semver"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-examples
+            (lambda* (#:key import-path #:allow-other-keys)
+              (delete-file-recursively
+               (string-append "src/" import-path "/examples")))))))))
+
 (define-public go-github-com-bmizerany-perks-quantile
   (package
     (name "go-github-com-bmizerany-perks-quantile")
-- 
2.41.0





  parent reply	other threads:[~2024-03-07 12:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07 12:17 [bug#69608] [PATCH 0/7] gnu: kubo: Unbundle more packages Sharlatan Hellseher
2024-03-07 12:18 ` [bug#69608] [PATCH 1/7] gnu: go-github-com-blang-semver: Update to 3.8.0 Sharlatan Hellseher
2024-03-07 12:18 ` [bug#69608] [PATCH 2/7] gnu: go-github-com-blang-semver: Fix indentation Sharlatan Hellseher
2024-03-07 12:18 ` Sharlatan Hellseher [this message]
2024-03-07 12:18 ` [bug#69608] [PATCH 4/7] gnu: kubo: Sort inputs alphabetically Sharlatan Hellseher
2024-03-07 12:18 ` [bug#69608] [PATCH 5/7] gnu: go-github-com-beorn7-perks-quantile: Update to 1.0.1 Sharlatan Hellseher
2024-03-07 12:18 ` [bug#69608] [PATCH 6/7] gnu: go-github-com-beorn7-perks-quantile: Fix indentation Sharlatan Hellseher
2024-03-07 12:18 ` [bug#69608] [PATCH 7/7] gnu: kubo: Unbundle more packages Sharlatan Hellseher
2024-03-07 15:57   ` Troy Figiel
2024-03-16  0:04 ` bug#69608: [PATCH 0/7] " 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=3ed67f81b7a93d06484822244a346624804d2cb5.1709812934.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=69608@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).