hoarder: 0.21.0 -> 0.22.0
[NixPkgs.git] / pkgs / by-name / mu / mutmut / package.nix
bloba7512adeaebd41a05cb571de83c13bc74095a4cc
2   lib,
3   fetchFromGitHub,
4   python3Packages,
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "mutmut";
9   version = "3.2.0";
11   src = fetchFromGitHub {
12     repo = pname;
13     owner = "boxed";
14     tag = version;
15     hash = "sha256-+e2FmfpGtK401IW8LNqeHk0v8Hh5rF3LbZJkSOJ3yPY=";
16   };
18   postPatch = ''
19     substituteInPlace requirements.txt --replace-fail 'junit-xml==1.8' 'junit-xml==1.9'
20   '';
22   disabled = python3Packages.pythonOlder "3.7";
24   doCheck = false;
26   propagatedBuildInputs = with python3Packages; [
27     click
28     parso
29     junit-xml
30     setproctitle
31     textual
32   ];
34   meta = with lib; {
35     description = "mutation testing system for Python, with a strong focus on ease of use";
36     mainProgram = "mutmut";
37     homepage = "https://github.com/boxed/mutmut";
38     changelog = "https://github.com/boxed/mutmut/blob/${version}/HISTORY.rst";
39     license = licenses.bsd3;
40     maintainers = with maintainers; [
41       l0b0
42       synthetica
43     ];
44   };