1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 attrs, 6 pluggy, 7 six, 8 pyhamcrest, 9 setuptools-scm, 10 python, 11}: 12 13buildPythonPackage rec { 14 pname = "allure-python-commons-test"; 15 version = "2.13.5"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-pWkLVfBrLEhdhuTE95K3aqrhEY2wEyo5uRzuJC3ngjE="; 21 }; 22 23 nativeBuildInputs = [ setuptools-scm ]; 24 25 propagatedBuildInputs = [ 26 attrs 27 pluggy 28 six 29 pyhamcrest 30 ]; 31 32 checkPhase = '' 33 ${python.interpreter} -m doctest ./src/container.py 34 ${python.interpreter} -m doctest ./src/report.py 35 ${python.interpreter} -m doctest ./src/label.py 36 ${python.interpreter} -m doctest ./src/result.py 37 ''; 38 39 pythonImportsCheck = [ "allure_commons_test" ]; 40 41 meta = with lib; { 42 description = "Just pack of hamcrest matchers for validation result in allure2 json format"; 43 homepage = "https://github.com/allure-framework/allure-python"; 44 license = licenses.asl20; 45 maintainers = with maintainers; [ evanjs ]; 46 }; 47}