1{ 2 buildPythonPackage, 3 oslo-config, 4 docutils, 5 oslo-log, 6 oslotest, 7 requests-mock, 8 sphinx, 9 stestr, 10 testscenarios, 11}: 12 13buildPythonPackage { 14 pname = "oslo-config-tests"; 15 inherit (oslo-config) version src; 16 format = "other"; 17 18 postPatch = '' 19 # only a small portion of the listed packages are actually needed for running the tests 20 # so instead of removing them one by one remove everything 21 rm test-requirements.txt 22 ''; 23 24 dontBuild = true; 25 dontInstall = true; 26 27 nativeCheckInputs = [ 28 oslo-config 29 docutils 30 oslo-log 31 oslotest 32 requests-mock 33 sphinx 34 stestr 35 testscenarios 36 ]; 37 38 checkPhase = '' 39 stestr run 40 ''; 41}