[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/17: gnu: go-github-com-go-git-go-git-v5: Move to golang-vcs.
From: |
guix-commits |
Subject: |
05/17: gnu: go-github-com-go-git-go-git-v5: Move to golang-vcs. |
Date: |
Thu, 9 Jan 2025 09:04:11 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 1cab55f97118e0a903e541ff19b55651cb73b8e1
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Jan 9 11:25:39 2025 +0000
gnu: go-github-com-go-git-go-git-v5: Move to golang-vcs.
* gnu/packages/version-control.scm (go-github-com-go-git-go-git-v5):
Move from here ...
* gnu/packages/golang-vcs.scm: ... to here.
Add golang-crypto and version-control modules.
* gnu/packages/configuration-management.scm: Remove version-control, add
golang-vcs module.
Change-Id: I0125943bcb2ab719ad5667678b72ece7650f5e4b
---
gnu/packages/configuration-management.scm | 2 +-
gnu/packages/golang-vcs.scm | 65 ++++++++++++++++++++++++++++++-
gnu/packages/version-control.scm | 61 -----------------------------
3 files changed, 65 insertions(+), 63 deletions(-)
diff --git a/gnu/packages/configuration-management.scm
b/gnu/packages/configuration-management.scm
index b654975a42..3482e327f7 100644
--- a/gnu/packages/configuration-management.scm
+++ b/gnu/packages/configuration-management.scm
@@ -25,9 +25,9 @@
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-vcs)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz)
- #:use-module (gnu packages version-control)
#:use-module (gnu packages textutils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
diff --git a/gnu/packages/golang-vcs.scm b/gnu/packages/golang-vcs.scm
index 967b5ea93d..2c2dcc2d11 100644
--- a/gnu/packages/golang-vcs.scm
+++ b/gnu/packages/golang-vcs.scm
@@ -26,8 +26,10 @@
#:use-module (gnu packages)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-web)
- #:use-module (gnu packages golang-xyz))
+ #:use-module (gnu packages golang-xyz)
+ #:use-module (gnu packages version-control))
;;; Commentary:
;;;
@@ -67,6 +69,67 @@
(description "Gcfg reads INI-style configuration files into Go structs.")
(license license:bsd-3)))
+(define-public go-github-com-go-git-go-git-v5
+ (package
+ (name "go-github-com-go-git-go-git-v5")
+ (version "5.13.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-git/go-git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1mgzwwmq1awai9n8vkjp8xpq26hvivl53g57f1k2cgg6bkj13r2a"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:tests? #f ;requires network connection
+ #:import-path "github.com/go-git/go-git/v5"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'setup
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((git #$(this-package-native-input "git-minimal"))
+ (git-bin (string-append git "/bin"))
+ (git-exe (string-append git-bin "/git")))
+ (setenv "GIT_DIST_PATH=" git)
+ (setenv "GIT_EXEC_PATH=" git-bin)
+ (setenv "HOME" (getcwd))
+ (invoke git-exe "config" "--global" "user.email"
"gha@example.com")
+ (invoke git-exe "config" "--global" "user.name" "GitHub
Actions")))))))
+ (native-inputs
+ (list git-minimal/pinned
+ go-github-com-stretchr-testify
+ go-gopkg-in-check-v1))
+ (propagated-inputs
+ (list go-dario-cat-mergo
+ go-github-com-armon-go-socks5
+ go-github-com-elazarl-goproxy
+ go-github-com-emirpasic-gods
+ go-github-com-gliderlabs-ssh
+ go-github-com-go-git-gcfg
+ go-github-com-go-git-go-billy-v5
+ go-github-com-go-git-go-git-fixtures-v4
+ go-github-com-golang-groupcache
+ go-github-com-google-go-cmp
+ go-github-com-jbenet-go-context
+ go-github-com-kevinburke-ssh-config
+ go-github-com-pjbgf-sha1cd
+ go-github-com-protonmail-go-crypto
+ go-github-com-sergi-go-diff
+ go-github-com-skeema-knownhosts
+ go-github-com-xanzy-ssh-agent
+ go-golang-org-x-crypto
+ go-golang-org-x-net
+ go-golang-org-x-sys
+ go-golang-org-x-text))
+ (home-page "https://github.com/go-git/")
+ (synopsis "Git implementation library")
+ (description "This package provides a Git implementation library.")
+ (license license:asl2.0)))
+
(define-public go-github-com-xanzy-go-gitlab
(package
(name "go-github-com-xanzy-go-gitlab")
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 9687f6d6ee..eda956d9b1 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -4042,67 +4042,6 @@ of machine readable. This helps improve code quality
and helps you spot
defects faster.")
(license license:expat)))
-(define-public go-github-com-go-git-go-git-v5
- (package
- (name "go-github-com-go-git-go-git-v5")
- (version "5.13.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/go-git/go-git")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1mgzwwmq1awai9n8vkjp8xpq26hvivl53g57f1k2cgg6bkj13r2a"))))
- (build-system go-build-system)
- (arguments
- (list
- #:tests? #f ;requires network connection
- #:import-path "github.com/go-git/go-git/v5"
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'build 'setup
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((git #$(this-package-native-input "git-minimal"))
- (git-bin (string-append git "/bin"))
- (git-exe (string-append git-bin "/git")))
- (setenv "GIT_DIST_PATH=" git)
- (setenv "GIT_EXEC_PATH=" git-bin)
- (setenv "HOME" (getcwd))
- (invoke git-exe "config" "--global" "user.email"
"gha@example.com")
- (invoke git-exe "config" "--global" "user.name" "GitHub
Actions")))))))
- (native-inputs
- (list git-minimal/pinned
- go-github-com-stretchr-testify
- go-gopkg-in-check-v1))
- (propagated-inputs
- (list go-dario-cat-mergo
- go-github-com-armon-go-socks5
- go-github-com-elazarl-goproxy
- go-github-com-emirpasic-gods
- go-github-com-gliderlabs-ssh
- go-github-com-go-git-gcfg
- go-github-com-go-git-go-billy-v5
- go-github-com-go-git-go-git-fixtures-v4
- go-github-com-golang-groupcache
- go-github-com-google-go-cmp
- go-github-com-jbenet-go-context
- go-github-com-kevinburke-ssh-config
- go-github-com-pjbgf-sha1cd
- go-github-com-protonmail-go-crypto
- go-github-com-sergi-go-diff
- go-github-com-skeema-knownhosts
- go-github-com-xanzy-ssh-agent
- go-golang-org-x-crypto
- go-golang-org-x-net
- go-golang-org-x-sys
- go-golang-org-x-text))
- (home-page "https://github.com/go-git/")
- (synopsis "Git implementation library")
- (description "This package provides a Git implementation library.")
- (license license:asl2.0)))
-
(define-public gita
(let ((commit "e41b504dca90a25e9be27f296da7ce22e5782893")
(revision "1"))
- branch go-team updated (7525678f5a -> 0b2b09c6e2), guix-commits, 2025/01/09
- 01/17: gnu: go-github-com-valyala-tcplisten: Move to golang-web., guix-commits, 2025/01/09
- 13/17: gnu: Add go-mvdan-cc-sh-v3., guix-commits, 2025/01/09
- 04/17: gnu: go-github-com-google-go-github: Update to 31.0.0., guix-commits, 2025/01/09
- 16/17: gnu: go-github-com-bradfitz-gomemcache: Move to golang-xyz., guix-commits, 2025/01/09
- 06/17: gnu: Add go-github-com-twpayne-go-pinentry., guix-commits, 2025/01/09
- 03/17: gnu: pixterm: Update to 1.3.2., guix-commits, 2025/01/09
- 05/17: gnu: go-github-com-go-git-go-git-v5: Move to golang-vcs.,
guix-commits <=
- 09/17: gnu: go-github-com-twpayne-go-xdg-v3: Adjust inputs., guix-commits, 2025/01/09
- 10/17: gnu: Add go-github-com-twpayne-go-xdg-v6., guix-commits, 2025/01/09
- 07/17: gnu: go-github-com-twpayne-go-vfs: Rename variable., guix-commits, 2025/01/09
- 02/17: gnu: go-github-com-ssgelm-cookiejarparser: Move to golang-web., guix-commits, 2025/01/09
- 12/17: gnu: Add go-github-com-twpayne-go-vfs-v4., guix-commits, 2025/01/09
- 08/17: gnu: go-github-com-twpayne-go-xdg-v3: Move to golang-xyz., guix-commits, 2025/01/09
- 11/17: gnu: go-github-com-twpayne-go-vfs-v5: Simplify., guix-commits, 2025/01/09
- 15/17: gnu: go-github-com-bradfitz-gomemcache: Update to 0.0.0-20230905024940-24af94b03874., guix-commits, 2025/01/09
- 14/17: gnu: Add go-github-com-google-go-github-v50., guix-commits, 2025/01/09
- 17/17: gnu: go-gitlab-com-yawning-utls-git: Fix tests., guix-commits, 2025/01/09