[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: Add grokmirror.
From: |
guix-commits |
Subject: |
10/11: gnu: Add grokmirror. |
Date: |
Sun, 27 Sep 2020 16:55:25 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit ee4f9c2cd4a3a779a45bd608c5419dc672131435
Author: Kyle Meyer <kyle@kyleam.com>
AuthorDate: Sat Sep 26 16:48:19 2020 -0400
gnu: Add grokmirror.
* gnu/packages/version-control.scm (grokmirror): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/version-control.scm | 39 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 38 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 2ee8247..68971c6 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2016, 2019 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner
<efraim@flashner.co.il>
-;;; Copyright © 2015, 2018 Kyle Meyer <kyle@kyleam.com>
+;;; Copyright © 2015, 2018, 2020 Kyle Meyer <kyle@kyleam.com>
;;; Copyright © 2015, 2017, 2018, 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2017, 2018 Nikita <nikita@n0.is>
@@ -2269,6 +2269,43 @@ supports a large number of version control systems: Git,
Subversion,
Mercurial, Bazaar, Darcs, CVS, Fossil, and Veracity.")
(license license:gpl2+)))
+(define-public grokmirror
+ (package
+ (name "grokmirror")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append "https://git.kernel.org/pub/scm/"
+ "utils/grokmirror/grokmirror.git"))
+ (commit (string-append "v" version))))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "1cs43vf87x8x5k5ncgiwiclc92a1dvxpg2z6lh6psaiip808gylp"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; no test suite
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-manpages
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((man (string-append (assoc-ref outputs "out")
+ "/man/man1/")))
+ (mkdir-p man)
+ (for-each (lambda (file) (install-file file man))
+ (find-files "." "\\.1$")))
+ #t)))))
+ (propagated-inputs
+ `(("python-requests" ,python-requests)))
+ (home-page
+ "https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git")
+ (synopsis "Framework to smartly mirror git repositories")
+ (description "Grokmirror enables replicating large git repository
+collections efficiently. Mirrors decide to clone and update repositories
+based on a manifest file published by servers.")
+ (license license:gpl3+)))
+
(define-public git-annex-remote-rclone
(package
(name "git-annex-remote-rclone")
- 01/11: guix build: Add '--without-tests'., (continued)
- 01/11: guix build: Add '--without-tests'., guix-commits, 2020/09/27
- 05/11: packages: 'package-input-rewriting' has a #:deep? parameter., guix-commits, 2020/09/27
- 08/11: doc: Move "Primary URL" after "Specifying Channel Authorizations"., guix-commits, 2020/09/27
- 11/11: gnu: qjackctl: Update to 0.6.3., guix-commits, 2020/09/27
- 06/11: doc: Update the master menu., guix-commits, 2020/09/27
- 03/11: packages: 'package-input-rewriting/spec' can rewrite implicit dependencies., guix-commits, 2020/09/27
- 02/11: packages: 'package-mapping' can recurse on implicit inputs., guix-commits, 2020/09/27
- 04/11: packages: 'package-mapping' correctly recurses into 'replacement'., guix-commits, 2020/09/27
- 07/11: doc: Promote "Channels" as chapter and reorder., guix-commits, 2020/09/27
- 09/11: doc: Move channel @cindex within their nodes., guix-commits, 2020/09/27
- 10/11: gnu: Add grokmirror.,
guix-commits <=