Skip to content

Commit

Permalink
mutmut: 2.2.0 -> 3.0.5
Browse files Browse the repository at this point in the history
With dependencies from the upstream requirements file
<https://github.com/boxed/mutmut/blob/3.0.5/requirements.txt>.
  • Loading branch information
l0b0 committed Oct 21, 2024
1 parent 0b0d26e commit cc93fa2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/development/tools/mutmut/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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; };
Expand Down

0 comments on commit cc93fa2

Please sign in to comment.