Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, debtcollector 3, stestr 4}: 5 6buildPythonPackage rec { 7 pname = "debtcollector-tests"; 8 inherit (debtcollector) version; 9 10 src = debtcollector.src; 11 12 postPatch = '' 13 # only a small portion of the listed packages are actually needed for running the tests 14 # so instead of removing them one by one remove everything 15 rm test-requirements.txt 16 ''; 17 18 dontBuild = true; 19 dontInstall = true; 20 21 nativeCheckInputs = [ 22 debtcollector 23 stestr 24 ]; 25 26 checkPhase = '' 27 stestr run 28 ''; 29}