From cc93fa2057474ed05809902bfe9b6389dec14c8e Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Mon, 21 Oct 2024 13:46:34 +1300 Subject: [PATCH] mutmut: 2.2.0 -> 3.0.5 With dependencies from the upstream requirements file . --- pkgs/development/tools/mutmut/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/mutmut/default.nix b/pkgs/development/tools/mutmut/default.nix index f75af0144ac58..23f317769a196 100644 --- a/pkgs/development/tools/mutmut/default.nix +++ b/pkgs/development/tools/mutmut/default.nix @@ -5,19 +5,20 @@ python3Packages, testers, }: + python3Packages.buildPythonApplication rec { pname = "mutmut"; - version = "2.2.0"; + version = "3.0.5"; src = fetchFromGitHub { repo = pname; owner = "boxed"; rev = "refs/tags/${version}"; - hash = "sha256-G+OL/9km2iUeZ1QCpU73CIWVWMexcs3r9RdCnAsESnY="; + hash = "sha256-ZvUO/Cizzavnf81pVvtw8+zHCpqE8qdQb9zEVezYl+M="; }; postPatch = '' - substituteInPlace requirements.txt --replace 'junit-xml==1.8' 'junit-xml==1.9' + substituteInPlace requirements.txt --replace-fail 'junit-xml==1.8' 'junit-xml==1.9' ''; disabled = python3Packages.pythonOlder "3.7"; @@ -26,10 +27,10 @@ python3Packages.buildPythonApplication rec { propagatedBuildInputs = with python3Packages; [ click - glob2 parso - pony junit-xml + setproctitle + textual ]; passthru.tests.version = testers.testVersion { package = mutmut; };