at master 819 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 fixtures, 6 pbr, 7 six, 8 subunit, 9 callPackage, 10}: 11 12buildPythonPackage rec { 13 pname = "oslotest"; 14 version = "5.0.1"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-WpRA0o2MywC89f56BWkEF+pilDsMjpOkMX2LG9Au6O4="; 20 }; 21 22 nativeBuildInputs = [ pbr ]; 23 24 propagatedBuildInputs = [ 25 fixtures 26 six 27 subunit 28 ]; 29 30 # check in passthru.tests.pytest to escape infinite recursion with other oslo components 31 doCheck = false; 32 33 passthru.tests = { 34 tests = callPackage ./tests.nix { }; 35 }; 36 37 pythonImportsCheck = [ "oslotest" ]; 38 39 meta = with lib; { 40 description = "Oslo test framework"; 41 homepage = "https://github.com/openstack/oslotest"; 42 license = licenses.asl20; 43 teams = [ teams.openstack ]; 44 }; 45}