guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

33/37: gnu: go-github-com-hashicorp-go-version: Move to golang-xyz.


From: guix-commits
Subject: 33/37: gnu: go-github-com-hashicorp-go-version: Move to golang-xyz.
Date: Wed, 6 Mar 2024 18:46:21 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit f3914c1a7bee3f552d2ce653f7fb8ac07829063a
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Mar 6 23:12:57 2024 +0000

    gnu: go-github-com-hashicorp-go-version: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-hashicorp-go-version): Move
    from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: Ica0c069e90ade97efbbb201f36d92ff70bad1c8b
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 30 ------------------------------
 2 files changed, 29 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c6c1c4bb24..27216e745d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -871,6 +871,35 @@ representation of a 128-bit value.  It can also parse 
UUID-format strings into
 their component bytes.")
     (license license:mpl2.0)))
 
+(define-public go-github-com-hashicorp-go-version
+  (let ((commit
+         "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
+        (revision "0"))
+    (package
+      (name "go-github-com-hashicorp-go-version")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/hashicorp/go-version";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/hashicorp/go-version"))
+      (home-page "https://github.com/hashicorp/go-version";)
+      (synopsis "Go library for parsing and verifying versions and version
+constraints")
+      (description
+       "This package is a library for parsing versions and version
+constraints, and verifying versions against a set of constraints.  It can sort
+a collection of versions properly, handles prerelease/beta versions, can
+increment versions.")
+      (license license:mpl2.0))))
+
 (define-public go-github-com-hhrutter-tiff
   (package
     (name "go-github-com-hhrutter-tiff")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 74fc08f83d..d1f6bada15 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3500,36 +3500,6 @@ editor.")
  spec in Go.")
       (license license:bsd-3))))
 
-(define-public go-github-com-hashicorp-go-version
-  (let ((commit
-         "03c5bf6be031b6dd45afec16b1cf94fc8938bc77")
-        (revision "0"))
-    (package
-      (name "go-github-com-hashicorp-go-version")
-      (version (git-version "0.0.0" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/hashicorp/go-version";)
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "0sjq57gpfznaqdrbyb2p0bn90g9h661cvr0jrk6ngags4pbw14ik"))))
-      (build-system go-build-system)
-      (arguments
-       '(#:import-path "github.com/hashicorp/go-version"))
-      (home-page
-       "https://github.com/hashicorp/go-version";)
-      (synopsis "Go library for parsing and verifying versions and version
-constraints")
-      (description "This package is a library for parsing versions and version
-constraints, and verifying versions against a set of constraints.  It can sort
-a collection of versions properly, handles prerelease/beta versions, can
-increment versions.")
-      (license license:mpl2.0))))
-
 (define-public go-github-com-jpillora-backoff
   (let ((commit
          "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]