From 69318ec93e2100985bc41de5ada77f0bb5a3da88 Mon Sep 17 00:00:00 2001 From: kyehn Date: Fri, 5 Sep 2025 22:24:30 +0800 Subject: [PATCH] tortoisehg: 6.9 -> 7.0.1 --- pkgs/by-name/to/tortoisehg/package.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/to/tortoisehg/package.nix b/pkgs/by-name/to/tortoisehg/package.nix index 5457a5cdfa7b..e44d4d6fdda8 100644 --- a/pkgs/by-name/to/tortoisehg/package.nix +++ b/pkgs/by-name/to/tortoisehg/package.nix @@ -6,16 +6,21 @@ qt5, }: -python3Packages.buildPythonApplication rec { +let + version = "7.0.1"; +in +python3Packages.buildPythonApplication { pname = "tortoisehg"; - version = "6.9"; - format = "setuptools"; + inherit version; + pyproject = true; src = fetchurl { url = "https://www.mercurial-scm.org/release/tortoisehg/targz/tortoisehg-${version}.tar.gz"; - hash = "sha256-j+HuAq/elnXIOoX4eoqMeOyGq3qjbdoJw6pcZsSa+AI="; + hash = "sha256-rCDLZ2ppD3Y71c31UNir/1pW1QBJViMP9JdoJiWf0nk="; }; + build-system = with python3Packages; [ setuptools ]; + nativeBuildInputs = [ qt5.wrapQtAppsHook ]; @@ -39,6 +44,7 @@ python3Packages.buildPythonApplication rec { # Convenient alias postInstall = '' ln -s $out/bin/thg $out/bin/tortoisehg + install -D --mode=0644 contrib/thg.desktop --target-directory $out/share/applications/ ''; # In python3Packages.buildPythonApplication doCheck is always true, and we