mercurial: 7.1.2 -> 7.2.2 (#533442)

This commit is contained in:
dotlambda 2026-06-23 19:31:59 +00:00 committed by GitHub
commit ca3f2d6ce8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,11 +40,11 @@ let
self = python3Packages.buildPythonApplication rec {
pname = "mercurial${lib.optionalString fullBuild "-full"}";
version = "7.1.2";
version = "7.2.2";
src = fetchurl {
url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz";
hash = "sha256-zie5pHZ88upJa1FGi65RL6am6vCJHkn4lh3GlLTcgco=";
hash = "sha256-8uyOfu7wUAWRcG03RVXwzrEYgiBo51+jsyvgfdIYT2w=";
};
pyproject = false;
@ -56,7 +56,7 @@ let
rustPlatform.fetchCargoVendor {
inherit src;
name = "mercurial-${version}";
hash = "sha256-REMgZ1TiVTDbvT8TCd4EeHfYT/xMJfC4E6weLJFT6Rw=";
hash = "sha256-OGsHK3Bh47V4n+7HYpVp/jymCz1QY45rkWlAW0Hob7g=";
sourceRoot = "mercurial-${version}/rust";
}
else
@ -180,12 +180,6 @@ let
""
}
done
# https://bz.mercurial-scm.org/show_bug.cgi?id=6887
# Adding setuptools to the python path is not enough for the distutils
# module to be found, so we patch usage directly:
substituteInPlace tests/hghave.py \
--replace-fail "distutils" "setuptools._distutils"
'';
# This runs Mercurial _a lot_ of times.