summaryrefslogtreecommitdiff
path: root/gnu/packages/version-control.scm
AgeCommit message (Collapse)Author
2026-01-25gnu: patatt: Switch to pyproject.Nicolas Graves
* gnu/packages/version-control.scm (patatt): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Improve comment. [native-inputs]: Add python-setuptools. Change-Id: Id46c10a5e93c727b3ba58e940d6f4463ccde7cd7 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-08gnu: pijul: Add git integration.Efraim Flashner
* gnu/packages/version-control.scm (pijul)[arguments]: Add git to the features. [inputs]: Add libgit2-1.3, libssh2. Change-Id: I1f66c818bb113187bcf4996a093fd40617a5cdc1
2026-01-04gnu: Remove libgit2-1.4.Efraim Flashner
* gnu/packages/version-control.scm (libgit2-1.4): Delete variable. Change-Id: I399f946b3359f69995ad81108c109ab040051b50
2026-01-04gnu: libgit2-1.3: Inherit from libgit2-1.5.Efraim Flashner
* gnu/packages/version-control.scm (libgit2-1.3): Inherit from libgit2-1.5. Change-Id: I320bcd9965b1a1651b6b4d2515cdf28b0c8eddf2
2026-01-04gnu: libgit2-1.8: Inherit from libgit2-1.9.Efraim Flashner
* gnu/packages/version-control.scm (libgit2-1.8, libgit2-1.9): Reverse the inheritance between these two versions. Change-Id: Ic1e34a20253ab1f6ed4dde50f608b2c33d146000
2026-01-04gnu: libgit2-1.7: Inherit from libgit2-1.8.Efraim Flashner
* gnu/packages/version-control.scm (libgit2-1.7, libgit2-1.8): Reverse the inheritance between these two versions. Change-Id: I765686e8f36b8fae3e314958f03f8033d44a04d2
2026-01-04gnu: libgit2-1.6: Inherit from libgit2-1.7.Efraim Flashner
* gnu/packages/version-control.scm (libgit2-1.6): Inherit from libgit2-1.7. [source]: Remove inheritance. Change-Id: I28dc62c47b267b83af1a91bc0e3f448fdd9bc0f7
2026-01-04gnu: libgit2-1.5: Inherit from libgit2-1.7.Efraim Flashner
* gnu/packages/version-control.scm (libgit2-1.5, libgit2-1.7): Reverse the inheritance between these two versions. Change-Id: I3e264ebc341c95eef35197e38068e12c2050a633
2025-12-31gnu: python-hg-evolve: Switch to pyproject.Nicolas Graves
* gnu/packages/version-control.scm (python-hg-evolve): [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Change-Id: Ibb3988dc6ce39b8bfe3b55808ce01b30df9c3d82 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-12-31gnu: python-git-multimail: Update to 1.6.0-0.747fad4.Nicolas Graves
* gnu/packages/version-control.scm (python-git-multimail): Update to 1.6.0-0.747fad4. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them for now. <#:phases>: Improve style, add 'check phase replacement. [native-inputs]: Add python-setuptools. Change-Id: I0bde82b066878252b54404ad973d327fdd677302 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-12-19gnu: gitlint: Update to 0.19.1.Sharlatan Hellseher
* gnu/packages/version-control.scm (gitlint): Update to 0.19.1. [build-system]: Switch to pyproejct-build-system. [arguments] <tests?>: No tests in PyPI, tests might be broken in Git. [native-inputs]: Add python-hatch-vcs and python-hatchling. Change-Id: Icf4c590ed7665cf72ce430d59b156907ddbe672e
2025-12-17gnu: python-ghp-import: Update to 2.1.0.Hugo Buddelmeijer
* gnu/packages/version-control.scm (python-ghp-import): Update to 2.1.0. [source]: Update URL, permanent redirects. [build-system]: Switch to pyproject. [arguments]: Switch to gexps. <#:tests?>: Disables tests, do not exist in PyPI or Git. [native-inputs]: Add python-setuptools. [home-page]: Update URL. Change-Id: Ie0fa5bfe05919598b669c5048f671a788d000662 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-12-05gnu: git: Define ‘PATH_MAX’ on GNU/Hurd.Ludovic Courtès
Fixes a regression introduced in 04e9e4a4623391bb225dcc0dd3003a0d3300f16d. * gnu/packages/patches/git-clar-path-max.patch: New file. * gnu/packages/version-control.scm (git-minimal): Use it. * gnu/local.mk (dist_patch_DATA): Add it. Change-Id: I7b1eb519952674cf66b745bd0a71bbe3395d3bdc
2025-12-03gnu: cgit: Update to 1.2.3-11.76abc40.Tomas Volf
* gnu/packages/version-control.scm (cgit): Update to 1.2.3-11.76abc40. [inputs]: Update git to 2.52.0. Change-Id: I7bbcaed37288165ba2100fb62487f052a40a5a8b Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-28gnu: git-minimal: Update to 2.52.0.Greg Hogan
* gnu/packages/version-control.scm (git-minimal): Update to 2.52.0. Change-Id: I8f0aec01fd8891d4c6da6d5c1cc06b3470424622
2025-11-28gnu: Remove stgit.Greg Hogan
* gnu/packages/version-control.scm (stgit): Delete. (stgit-2): Rename to stgit. (emacs-stgit): Inherit from stgit. Fixes #4292. Change-Id: Id4992b9768679cd3c186f6d616c5d823167fc300
2025-11-28gnu: boost: Update to 1.89.0.Greg Hogan
* gnu/packages/boost.scm (boost-for-source-highlight): Rename this ... (boost-1.83): ... to this. (boost-numpy): Inherit from boost-1.83. * gnu/packages/pretty-print.scm (source-highlight): Update accordingly. * gnu/packages/boost.scm (boost): Update to 1.89.0. [source]: Remove patches. * gnu/packages/boost.scm (mdds) [propagated-inputs]: Replace boost with boost-1.83. * gnu/packages/astronomy.scm (aoflagger), * gnu/packages/embedded.scm (cc-tool), * gnu/packages/games.scm (0ad, vcmi), * gnu/packages/image.scm (gpick), * gnu/packages/maths.scm (highfive), * gnu/packages/plotutils.scm (asymptote) [native-inputs]: Replace boost with boost-1.83. * gnu/packages/audio.scm (guitarix, supercollider), * gnu/packages/bioconductor.scm (r-mzr), * gnu/packages/bioinformatics.scm (ataqv, bless, express, isolator, metabat, r-velocytom, rsem, sailfish, salmon), * gnu/packages/bittorrent.scm (libtorrent-rasterbar), * gnu/packages/code.scm (sourcetrail), * gnu/packages/compression.scm (innoextract), * gnu/packages/cpp.scm (lager), * gnu/packages/crypto.scm (cryfs), * gnu/packages/electronics.scm (nextpnr, prjpeppercorn, prjtrellis, pulseview), * gnu/packages/emulators.scm (mupen64plus-video-glide64mk2), * gnu/packages/engineering.scm (cadabra2, freecad, libigl, openscad, prusa-slicer), * gnu/packages/file-systems.scm (snapper), * gnu/packages/finance.scm (ledger), * gnu/packages/game-development.scm (dds), * gnu/packages/games.scm (colobot, fifengine, knightsgame, leela-zero, pokerth, supertux, wesnoth, wesnoth-server), * gnu/packages/geo.scm (gplates), * gnu/packages/gnucash.scm (gnucash), * gnu/packages/graph.scm (python-graph-tool), * gnu/packages/graphics.scma (openshadinglanguage), * gnu/packages/i2p.scm (i2pd), * gnu/packages/image-viewers.scm (luminance-hdr), * gnu/packages/kde-graphics.scm (krita), * gnu/packages/mail.scm (astroid), * gnu/packages/medical.scm (orthanc, orthanc-mysql, orthanc-postgresql), * gnu/packages/messaging.scm (libphonenumber), * gnu/packages/mpd.scm (ncmpcpp), * gnu/packages/networking.scm (kismet), * gnu/packages/opencog.scm (cogutil), * gnu/packages/photo.scm (hugin), * gnu/packages/poedit.scm (poedit), * gnu/packages/radio.scm (gnuradio), * gnu/packages/rdf.scm (lucene++), * gnu/packages/serialization.scm (avro-cpp), * gnu/packages/simulation.scm (fenics-dolfin), * gnu/packages/version-control.scm (gource), * gnu/packages/video.scm (aegisub, mkvtoolnix), * gnu/packages/web.scm (websocketpp) [inputs]: Replace boost with boost-1.83. * gnu/packages/libreoffice.scm (libcmis): Update to 0.6.2-00a85bf6. (librevenge): Update to 0.0.5. [arguments]<#:configure-flags>: Remove reference to boost system component for which the compatibility stub has been removed. * gnu/packages/serialization.scm (msgpack-cxx): Update to 7.0.0. Change-Id: I247f3eaecde3de3fe227586b840f0312b4797ee1
2025-11-27gnu: Remove mercurial/pinned.Dariqq
* gnu/packages/version-control.scm (mercurial/pinned): Delete variable. (mercurial-check-phase): Move into mercurial. * guix/hg-download.scm (hg-package): Use mercurial. Change-Id: I4303308554cc67b73c88a46c89577f79c84e0f15 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-27gnu: Remove subversion/pinned.Dariqq
* gnu/packages/version-control.scm (subversion/pinned): Delete variable. * guix/svn-download.scm (subversion-package): Use subversion Change-Id: I6b683147bd40b53d41d072ab99ce04012227c726 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-22gnu: breezy: Switch to pyproject.Nicolas Graves
* gnu/packages/version-control.scm (breezy): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Remove phase 'adjust-for-python-3.10. [native-inputs]: Add python-setuptools. [description]: Fix typo. Fixes: guix/guix#4325 Change-Id: I801065b345892b14451dd445c88d991d622170a0 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-12gnu: git: Fix disallowed references.Liliana Marie Prikler
This is a follow-up to ad461613d97f974e9e1aa30dc27753aa360476de. * gnu/packages/version-control.scm (git)[#:disallowed-references]: Explicitly list disallowed references instead of removing perl. Fixes: guix/guix#4187 (Transformed git references disallowed perl)
2025-11-09gnu: Use self-references to inputs for #:disallowed-references.Ludovic Courtès
This allows ‘package-input-rewriting’ to operate as expected on these packages. Failing that, rewritten packages would still carry references to non-rewritten packages in #:disallowed-references. * gnu/packages/admin.scm (wpa-supplicant-gui): Use ‘this-package-native-input’ for #:disallowed-references. * gnu/packages/fontutils.scm (freetype): Likewise. * gnu/packages/glib.scm (glib-minimal): Likewise. * gnu/packages/gnome.scm (cogl, gnome-shell): Likewise. * gnu/packages/groff.scm (groff-minimal): Likewise. * gnu/packages/gstreamer.scm (gstreamer): Likewise. * gnu/packages/gtk.scm (gtk+): Likewise. * gnu/packages/inkscape.scm (inkscape/pinned): Likewise. * gnu/packages/java.scm (icedtea-8, openjdk9, openjdk10) (openjdk11): Likewise. * gnu/packages/linux.scm (f2fs-tools/static): Likewise. * gnu/packages/man.scm (man-db): Likewise. * gnu/packages/openldap.scm (389-ds-base): Likewise. * gnu/packages/qt.scm (qtbase-5): Likewise. * gnu/packages/rrdtool.scm (rrdtool): Likewise. * gnu/packages/rust.scm (rust-bootstrapped-package): Likewise. * gnu/packages/statistics.scm (r-with-tests): Likewise. (r-minimal): Likewise. * gnu/packages/texinfo.scm (info-reader): Likewise. * gnu/packages/tls.scm (gnutls): Likewise. (openssl-1.1): Likewise. * gnu/packages/version-control.scm (git-minimal): Likewise. (git): Likewise. (gource): Likewise. * gnu/packages/web.scm (mod-wsgi): Likewise. * gnu/packages/xfce.scm (xfdesktop): Likewise. * gnu/packages/perl.scm (perl-libtime-parsedate): Update comment. * gnu/packages/video.scm (v4l-utils-minimal): Add FIXME comment. Change-Id: I118ecd5894c24c53ec52c9208b0025ccfa3dd68a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-04gnu: lfs-s3: Update to 0.2.1.Nicolas Graves
* gnu/packages/version-control.scm (lfs-s3): Update to 0.2.1. [home-page]: Refresh it. [source]: Improve style. [propagated-inputs]: Add go-github-com-klauspost-compress. Change-Id: Ibbb13b3cdf1250ca64c34edaba09ac2a40c66b06 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-05gnu: tla: Modernize the package.Artyom V. Poptsov
* gnu/packages/version-control.scm (tla): Modernize the package. [source]<snippet>: Don't return #t. [arguments]<#:phases>: Use GEXPs. Change-Id: I80e18380ae0c1f73515ef1e7943793fc0c38eeb2
2025-11-05gnu: tla: Fix build.Artyom V. Poptsov
* gnu/packages/version-control.scm (tla): Fix build by switching to GCC 10. [native-inputs]: Add gcc-10. Change-Id: I4dcb2b7a5bd7fa5321b3df992fd7021d30f1e9e7
2025-11-03gnu: trac: Fix build.Sharlatan Hellseher
* gnu/packages/version-control.scm (trac)[native-inputs]: Add python-setuptools. Change-Id: I54c6590fe5038442f046c5d82a7b12bd328e31b8
2025-11-02gnu: gitolite: Update to 0.1.4-1feb300.Mathieu Othacehe
* gnu/packages/version-control.scm (gitolite): Update to 0.1.4-1feb300. Change-Id: I559fccc703ee7ea08e544f75c966f3378840ba0a
2025-10-30gnu: git-minimal: Update to 2.51.2.Ashish SHUKLA
* gnu/packages/version-control.scm (git-minimal): Update to 2.51.2. Change-Id: I804d79f4d54dce728d5c6bce65389e5898e19471 Signed-off-by: Greg Hogan <code@greghogan.com>
2025-10-30Revert "elf: Remove bundled Guile source."Maxim Cournoyer
This reverts commit 11cf5b2fe4882f123cd5e9eb385a773703dfe872.
2025-10-30elf: Remove bundled Guile source.Maxim Cournoyer
This module has been included in Guile as (system vm elf) since around version 2.1. * guix/elf.scm: Delete file. * CODEOWNERS: De-register module. * Makefile.am (MODULES): Likewise. * etc/teams.scm (core): Likewise. * gnu/build/linux-modules.scm: Adjust imports. * gnu/packages/gnuzilla.scm (icecat-minimal) [modules]: Likewise. * gnu/packages/librewolf.scm (librewolf): Likewise. * gnu/packages/sequoia.scm (sequoia): Likewise. * gnu/packages/tor-browsers.scm (make-torbrowser): Likewise. * gnu/packages/version-control.scm (hg-commitsigs): Likewise. * guix/build/debug-link.scm: Likewise. * guix/build/gnu-build-system.scm: Likewise. * guix/build/gremlin.scm: Likewise. * guix/build/meson-build-system.scm: Likewise. * guix/grafts.scm (graft-derivation/shallow): Likewise. * guix/scripts/pack.scm (wrapped-package): Likewise. * tests/debug-link.scm: ("elf-debuglink", "set-debuglink-crc"): Likewise. * tests/gremlin.scm: Likewise. * guix/build-system/gnu.scm (%default-gnu-imported-modules): Remove (guix elf). Change-Id: I86ac4237fdd820a6b54dc0fe7a7d10403a290ef9
2025-10-23gnu: gitolite: Update to 3.6.14.Gábor Udvari
* gnu/packages/version-control.scm (gitolite): Update to 3.6.14. Change-Id: I9b0ddc36798d3e5a984ba5bad803d54941066efe Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-10-23gnu: Use ‘define-deprecated-package’ for deprecated packages.Ludovic Courtès
Use ‘define-deprecated-package’ instead of (define x (deprecated-package …)) throughout gnu/packages/*.scm. Change-Id: I4e176da9ac660327489dab256ca4d12c4e78fe8d
2025-10-21gnu: git-crypt: Update to 0.8.0.iamawacko
* gnu/packages/version-control.scm (git-crypt): Update to 0.8.0. Change-Id: I12109cf156610f917290755ad6b357224d1b22fc Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-10-17gnu: fossil: Update to 2.27. [security fixes]Ashish SHUKLA
Close a potential Denial-of-Service attack against any public-facing Fossil server. * gnu/packages/version-control.scm (fossil): Update to 2.27. [arguments]<#:phases>: Add phase 'disable-broken-test'. Change-Id: Id832a5e0e2cce4637eabe07954648eec46be3513 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-02gnu: git-minimal: Fix locating /etc/gitconfig.Lilah Tascheter
* gnu/packages/version-control.scm (git-minimal)[arguments]<configure-flags>: Add configure flag to properly recognize the system gitconfig. (git-minimal/pinned)[arguments]: Use old arguments as to not force rebuild. Change-Id: I7f31d16aa6c7ab062f300019f1f862b561ece2d3 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-01gnu: heatwave: Fix build.Sharlatan Hellseher
* gnu/packages/version-control.scm (heatwave)[arguments] <tests?>: No tests in PyPI. [native-inputs]: Add python-setuptools. Change-Id: I198bb0e47bcf8a4b820752c378cd3919a203e92d
2025-09-25gnu: git-lfs: Fix build.Baptiste Strazzulla
This change is to bypass combination of go-build-system and custom make targets where the import path is set manually, see discussion in guix/guix#2133. * gnu/packages/version-control.scm (git-lfs): Rename binary and home page Change-Id: Ic87627412f715ebed07cf79ddd298e777746975f Reviewed-by: Nicolas Graves <ngraves@ngraves.fr> Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25gnu: breezy: Fix build with gcc-14.Sharlatan Hellseher
* gnu/packages/version-control.scm (breezy)[arguments] <phases>: Add 'relax-gcc-14-strictness. [phases]{check}: Skip one more test. [native-inputs]: Remove python-cython; add python-cython-0. Change-Id: Ibdaf1851d49b01e1a7f7c168ca9962e92155cfe7
2025-09-25gnu: python-setuptools-scm-next: Set to python-setuptools-scm.Sharlatan Hellseher
Replace all python-setuptools-scm-next occurrences with python-setuptools-scm. * gnu/packages/python-build.scm (python-setuptools-scm-next): Set to python-setuptools-scm. Change-Id: I929ca14d24ed05efecded4c23ff02c42d50098c6
2025-09-25gnu: python-setuptools-next: Set to python-setuptools.Sharlatan Hellseher
Replace all python-setuptools-next occurrences with python-setuptools. * gnu/packages/python-build.scm (python-setuptools-next): Set to python-setuptools. Change-Id: I9e5e0881310d160ec56be785f2dd2140364fa8e5
2025-09-25gnu: python-gitpython: Update to 3.1.44.Sharlatan Hellseher
* gnu/packages/version-control.scm (python-gitpython): Update to 3.1.44. [build-system]: Pyproject. [propagated-inputs]: Remove python-typing-extensions. [native-inputs]: Remove python-ddt and python-nose; add python-setuptools. Change-Id: I540fb49f6f9df54712ba4b0c8ef94c7b471aa6a1
2025-09-25gnu: python-gitdb: Update to 4.0.12.Sharlatan Hellseher
* gnu/packages/version-control.scm (python-gitdb): Update to 4.0.12. [build-system]: Use pyproject. [arguments] <test-flags>: Skip one test. <phases>: Use default 'check; add 'pre-check. [native-inputs]: Remove python-nose; add python-pytest, python-setuptools, and python-wheel. Change-Id: I3ede39a717671ae24b05cac99515981fce478ec7
2025-09-25gnu: python-docutils: Update to 0.21.2.Sharlatan Hellseher
This change updates python-docutils to the latests version and pins some older packages on 0.19 to resolve build documentation issue which uses rst2man. * gnu/packages/python-xyz.scm (python-docutils): Update to 0.21.2. [build-system]: Use pyproject. [arguments] <phases>: Do not overwrite 'check use {#:test-backend} and {#:test-flags}. [native-inputs]: Add python-flit-core. (python-docutils-0.16)[native-inputs]: Add python-wheel. (python-docutils-0.19): New variable. * gnu/packages/diffoscope.scm (trydiffoscope) [native-inputs]: Remove python-docutils; add python-docutils-0.19. * gnu/packages/gtk.scm (gtk): Likewise. * gnu/packages/linux.scm (rdma-core): Likewise. * gnu/packages/power.scm (apcupsd): Likewise. * gnu/packages/version-control.scm (cgit): Likewise. * gnu/packages/virtualization.scm (ganeti)) Likewise. Change-Id: If58b9b12732347245e66e3c2cb5e67b0a8450913
2025-09-18Reapply "Update Maxim's email address."Maxim Cournoyer
This reverts commit a7db92d9b389cbe565395523882c34c6eff2c21a, this time with the more careful command, to avoid a world rebuild: grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \ --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18Revert "Update Maxim's email address."Maxim Cournoyer
This reverts commit d0d87a744d724b7e7d5ac013c586039652087bb3. Oops! This caused a world rebuild. Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18Update Maxim's email address.Maxim Cournoyer
The change was automated via: git grep -l maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' * .mailmap: New entry. Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2025-09-13gnu: got: Update to 0.118.1.Ashish SHUKLA
* gnu/package/version-control.scm (got): Update to 0.118.1. Change-Id: Icb062e51c537d5415cd3d296ab4654a59ca18c22
2025-09-11gnu: git-spice: Update to 0.15.2.Sharlatan Hellseher
* gnu/packages/version-control.scm (git-spice): Update to 0.15.2. [native-inputs]: Remove go-github-com-charmbracelet-log; add go-go-abhg-dev-log-silog. Change-Id: Ib49889eefcfe92116bedda4e10651b53c602eba1
2025-09-05gnu: mercurial: Fix, wrap and check hg binary.Nicolas Graves
* gnu/packages/version-control.scm (mercurial)[arguemnts]<#:phases>: Add phase 'wrap and 'sanity-check. Fixes: guix/guix#2451. Change-Id: I71dc2d19ff8b5d2741cd2cb15b6a9687438e05b1 Reviewed-by: Simon Tournier <zimon.toutoune@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-31gnu: mercurial: Add package and rename former to mercurial/pinned.Nicolas Graves
Mercurial currently has CVEs. IMHO, it's unsafe to carry them around in a profile. However, updating mercurial potential leads to a lot of rebuilds and I don't want to tackle this right now. As for other packages, the way forward is to add a variant of the package only used for hg-fetch, here mercurial/pinned. * gnu/packages/version-control.scm (mercurial-check-phase): Add helper variable. (mercurial): Update to 7.1. [arguments]: Use gexps. <#:phases>: Refresh them. Add phase 'add-install-to-pythonpath for running tests. Run tests after install. Add phase 'configure-check. <#:imported-modules, #:modules>: Add them for 'add-install-for-pythonpath.k [native-inputs]: Remove python-nose. Add python-setuptools-next, python-setuptools-scm-next. (mercurial/pinned): Inherit from mercurial, but build the exact same derivation as the previous mercurial variable. * guix/hg-download.scm (hg-package): Use mercurial/pinned. Signed-off-by: Ludovic Courtès <ludo@gnu.org>