sharlatan pushed a commit to branch master
in repository guix.
commit f0b502a25260bf8c6a08cc37897c13f2745d71c9
Author: Matthew Elwin <[email protected]>
AuthorDate: Tue May 6 16:30:44 2025 -0500
gnu: Add vcstool
* gnu/packages/version-control.scm (vcstool): New Variable
Change-Id: I5e3485cd1f53a379121a09938d5e45cd641a0317
Co-authored-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/version-control.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index ed96b524f8..86f85ec0f6 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -65,6 +65,7 @@
;;; Copyright © 2025 Artyom V. Poptsov <[email protected]>
;;; Copyright © 2025 Dariqq <[email protected]>
;;; Copyright © 2025 Tomas Volf <[email protected]>
+;;; Copyright © 2025 Matthew Elwin <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2313,6 +2314,45 @@ repositories maintained via vcsh store the actual files
in @code{$HOME},
though this can be overridden.")
(license license:gpl2+)))
+(define-public vcstool
+ (package
+ (name "vcstool")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "vcstool" version))
+ (sha256
+ (base32 "0b7f68q25x9nxqa3xcg32js3qgp4jg99anwy2c7nd1jkw5iskcq4"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #f ; network access is required
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'wrap 'wrap-script
+ (lambda _
+ (wrap-program (string-append #$output "/bin/vcs")
+ `("PATH" ":" prefix
+ ,(list (string-append #$git "/bin")
+ (string-append #$breezy "/bin")
+ (string-append #$subversion "/bin")))))))))
+ (native-inputs
+ (list python-pyyaml
+ python-setuptools
+ python-wheel))
+ (inputs
+ (list bash-minimal
+ breezy
+ git
+ subversion))
+ (home-page "https://github.com/dirk-thomas/vcstool")
+ (synopsis "Multiple VCS repository managing tool")
+ (description
+ "This package enables manipulating multiple version control repositories
+with one command.")
+ (license license:asl2.0)))
+
(define-public git-test-sequence
(let ((commit "48e5a2f5a13a5f30452647237e23362b459b9c76"))
(package