1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pythonOlder, 6 attrs, 7 pluggy, 8 six, 9 allure-python-commons-test, 10 setuptools-scm, 11 python, 12}: 13 14buildPythonPackage rec { 15 pname = "allure-python-commons"; 16 version = "2.13.5"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-ojLnlVgR+Yjkmkwd1sFszn6bgdDqBCKx5WVNMlTiyvM="; 24 }; 25 26 nativeBuildInputs = [ setuptools-scm ]; 27 28 propagatedBuildInputs = [ 29 attrs 30 pluggy 31 six 32 allure-python-commons-test 33 ]; 34 35 checkPhase = '' 36 ${python.interpreter} -m doctest ./src/utils.py 37 ${python.interpreter} -m doctest ./src/mapping.py 38 ''; 39 40 pythonImportsCheck = [ 41 "allure" 42 "allure_commons" 43 ]; 44 45 meta = with lib; { 46 description = "Common engine for all modules. It is useful for make integration with your homemade frameworks"; 47 homepage = "https://github.com/allure-framework/allure-python"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ evanjs ]; 50 }; 51}