nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 48 lines 1.0 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "mutmut"; 9 version = "3.2.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 repo = "mutmut"; 14 owner = "boxed"; 15 tag = version; 16 hash = "sha256-+e2FmfpGtK401IW8LNqeHk0v8Hh5rF3LbZJkSOJ3yPY="; 17 }; 18 19 postPatch = '' 20 substituteInPlace requirements.txt --replace-fail 'junit-xml==1.8' 'junit-xml==1.9' 21 ''; 22 23 doCheck = false; 24 25 build-system = with python3Packages; [ setuptools ]; 26 27 dependencies = with python3Packages; [ 28 click 29 parso 30 junit-xml 31 setproctitle 32 textual 33 ]; 34 35 pythonImportsCheck = [ "mutmut" ]; 36 37 meta = { 38 description = "Mutation testing system for Python, with a strong focus on ease of use"; 39 mainProgram = "mutmut"; 40 homepage = "https://github.com/boxed/mutmut"; 41 changelog = "https://github.com/boxed/mutmut/blob/${version}/HISTORY.rst"; 42 license = lib.licenses.bsd3; 43 maintainers = with lib.maintainers; [ 44 l0b0 45 synthetica 46 ]; 47 }; 48}