Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, oslo-config 3, oslotest 4, stestr 5}: 6 7buildPythonPackage { 8 pname = "oslotest-tests"; 9 inherit (oslotest) version src; 10 format = "other"; 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 oslotest 23 oslo-config 24 stestr 25 ]; 26 27 checkPhase = '' 28 stestr run 29 ''; 30}