unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 69042@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#69042] [PATCH 17/30] gnu: go-golang-org-x-mod: Move to (gnu packages-build).
Date: Sun, 11 Feb 2024 10:53:06 +0000	[thread overview]
Message-ID: <d6ef4a733b6c0f0cd62de3be3e4be603d401de3a.1707646257.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1707646257.git.sharlatanus@gmail.com>

* gnu/packages/golang.scm (go-golang-org-x-mod): Move from here ...
* gnu/packages/golang-build.scm: ... to here.

* gnu/packages/shellutils.scm: Add (gnu packages golang-build) module.

Change-Id: I88ce7ac1e264cb545a272f9c8a485747e84f7c82
---
 gnu/packages/golang-build.scm | 36 +++++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm       | 34 ---------------------------------
 gnu/packages/shellutils.scm   |  1 +
 3 files changed, 37 insertions(+), 34 deletions(-)

diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index ffedc946c2..a8e97e7acb 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -1,5 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2021 hackeryarn <artemchernyak@gmail.com>
 ;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
 ;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
@@ -67,6 +69,40 @@ (define-public go-golang-org-x-exp
 @code{old} directory) packages.")
     (license license:bsd-3)))
 
+(define-public go-golang-org-x-mod
+  (let ((commit "7c05a442b7c1d1a107879b4a090bb5a38d3774a1")
+        (revision "0"))
+    (package
+      (name "go-golang-org-x-mod")
+      (version (git-version "0.7.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/golang/mod")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "14r24fq3kn84k2y2jvvg8hwpy52a3q429pimrdwl5zwknbr2awmh"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "golang.org/x/mod/"
+         #:tests? #f
+         #:phases (modify-phases %standard-phases
+                    ;; Source-only package
+                    (delete 'build))))
+      (home-page "https://golang.org/x/mod")
+      (synopsis "Tools to work directly with Go module mechanics")
+      (description
+       "This repository holds packages for writing tools that work directly
+with Go module mechanics.  That is, it is for direct manipulation of Go
+modules themselves.
+
+The specific case of loading packages should still be done by invoking the
+@command{go} command, which remains the single point of truth for package
+loading algorithms.")
+      (license license:bsd-3))))
+
 (define-public go-golang-org-x-net
   (let ((commit "8e0e7d8d38f2b6d21d742845570dde2902d06a1d")
         (revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index dd0ac7e3e8..e7b98028a5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3699,40 +3699,6 @@ (define-public go-golang-org-x-xerrors
       (home-page "https://godoc.org/golang.org/x/xerrors")
       (license license:bsd-3))))
 
-(define-public go-golang-org-x-mod
-  (let ((commit "7c05a442b7c1d1a107879b4a090bb5a38d3774a1")
-        (revision "0"))
-    (package
-      (name "go-golang-org-x-mod")
-      (version (git-version "0.7.0" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/golang/mod")
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "14r24fq3kn84k2y2jvvg8hwpy52a3q429pimrdwl5zwknbr2awmh"))))
-      (build-system go-build-system)
-      (arguments
-       '(#:import-path "golang.org/x/mod/"
-         #:tests? #f
-         #:phases (modify-phases %standard-phases
-                    ;; Source-only package
-                    (delete 'build))))
-      (home-page "https://golang.org/x/mod")
-      (synopsis "Tools to work directly with Go module mechanics")
-      (description
-       "This repository holds packages for writing tools that work directly
-with Go module mechanics.  That is, it is for direct manipulation of Go modules
-themselves.
-
-The specific case of loading packages should still be done by invoking the
-@command{go} command, which remains the single point of truth for package
-loading algorithms.")
-      (license license:bsd-3))))
-
 (define-public go-github-com-hashicorp-go-uuid
   (package
     (name "go-github-com-hashicorp-go-uuid")
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 48c5250c8c..e58e9e61fc 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -51,6 +51,7 @@ (define-module (gnu packages shellutils)
   #:use-module (gnu packages check)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages golang-build)
   #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages libunistring)
   #:use-module (gnu packages ncurses)
-- 
2.41.0





  parent reply	other threads:[~2024-02-11 10:55 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-11 10:36 [bug#69042] [PATCH 00/30] Split (gnu packages golang) part IV Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 01/30] gnu: Add (gnu packages golang-build) module Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 02/30] gnu: Add (gnu packages golang-compression) module Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 03/30] gnu: go-golang-org-x-net: Move to (gnu packages golang-build) Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 04/30] gnu: go-github-com-golang-snappy: Mmove to (gnu packages golang-compression) Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 05/30] gnu: go-github-com-mreiferson-go-options: Move to (gnu packages golang-xyz) Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 06/30] gnu: go-golang-org-x-sys: Move to (gnu packages golang-build) Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 07/30] gnu: go-github-com-mreiferson-go-svc: Move to (gnu packages golang-xyz) Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 08/30] gnu: go-github-com-nsqio-go-nsq: " Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 09/30] gnu: go-github-com-nsqio-go-diskqueue: " Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 10/30] gnu: go-github-com-davecgh-go-spew: Move to (gnu packages golang-check) Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 11/30] gnu: go-github-com-burntsushi-toml: Move to (gnu packages golang-xyz) Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 12/30] gnu: go-github-com-bmizerany-perks-quantile: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 13/30] gnu: go-github-com-blang-semver: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 14/30] gnu: go-github-com-bitly-timer-metrics: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 15/30] gnu: go-github-com-bitly-go-hostpool: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 16/30] gnu: go-golang-org-x-exp: Move to (gnu packages golang-build) Sharlatan Hellseher
2024-02-11 10:53 ` Sharlatan Hellseher [this message]
2024-02-11 10:53 ` [bug#69042] [PATCH 18/30] gnu: go-golang-org-x-xerrors: Move to (gnu packages-build) Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 19/30] gnu: go-golang.org-x-sync-errgroup: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 20/30] gnu: go-golang-org-x-sync: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 21/30] gnu: go-golang-org-x-term: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 22/30] gnu: go-golang-org-x-time: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 23/30] gnu: go-golang-org-x-text: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 24/30] gnu: go-github-com-yuin-goldmark: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 25/30] gnu: go-golang-org-x-tools: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 26/30] gnu: go-golang-org-x-image: " Sharlatan Hellseher
2024-02-12 13:57   ` Liliana Marie Prikler
2024-02-11 10:53 ` [bug#69042] [PATCH 27/30] gnu: go-golang-org-x-crypto: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 28/30] gnu: go-github-com-klauspost-compress: Move to (gnu packages-compression) Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 29/30] gnu: go-github-com-andybalholm-brotli: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 30/30] gnu: go-github.com-ulikunitz-xz: " Sharlatan Hellseher
2024-02-12 15:08 ` [bug#69042] [PATCH 00/30] Split (gnu packages golang) part IV Sharlatan Hellseher
2024-02-12 18:48 ` [bug#69042] [PATCH v2 01/30] gnu: Add (gnu packages golang-build) module Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 02/30] gnu: Add (gnu packages golang-compression) module Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 03/30] gnu: go-golang-org-x-net: Move to golang-build Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 04/30] gnu: go-github-com-golang-snappy: Mmove to golang-compression Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 05/30] gnu: go-github-com-mreiferson-go-options: Move to golang-xyz Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 06/30] gnu: go-golang-org-x-sys: Move to golang-build Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 07/30] gnu: go-github-com-mreiferson-go-svc: Move to golang-xyz Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 08/30] gnu: go-github-com-nsqio-go-nsq: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 09/30] gnu: go-github-com-nsqio-go-diskqueue: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 10/30] gnu: go-github-com-davecgh-go-spew: Move to golang-check Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 11/30] gnu: go-github-com-burntsushi-toml: Move to golang-xyz Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 12/30] gnu: go-github-com-bmizerany-perks-quantile: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 13/30] gnu: go-github-com-blang-semver: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 14/30] gnu: go-github-com-bitly-timer-metrics: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 15/30] gnu: go-github-com-bitly-go-hostpool: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 16/30] gnu: go-golang-org-x-exp: Move to golang-build Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 17/30] gnu: go-golang-org-x-mod: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 18/30] gnu: go-golang-org-x-xerrors: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 19/30] gnu: go-golang.org-x-sync-errgroup: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 20/30] gnu: go-golang-org-x-sync: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 21/30] gnu: go-golang-org-x-term: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 22/30] gnu: go-golang-org-x-time: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 23/30] gnu: go-golang-org-x-text: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 24/30] gnu: go-github-com-yuin-goldmark: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 25/30] gnu: go-golang-org-x-tools: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 26/30] gnu: go-golang-org-x-image: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 27/30] gnu: go-golang-org-x-crypto: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 28/30] gnu: go-github-com-klauspost-compress: Move to golang-compression Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 29/30] gnu: go-github-com-andybalholm-brotli: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 30/30] gnu: go-github.com-ulikunitz-xz: " Sharlatan Hellseher
2024-02-13 14:48 ` bug#69042: [PATCH 00/30] Split (gnu packages golang) part IV 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=d6ef4a733b6c0f0cd62de3be3e4be603d401de3a.1707646257.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=69042@debbugs.gnu.org \
    --cc=cox.katherine.e+guix@gmail.com \
    /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).