1{ 2 lib, 3 allure-python-commons, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytest, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "allure-pytest"; 12 version = "2.15.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "allure-framework"; 17 repo = "allure-python"; 18 tag = version; 19 hash = "sha256-I3Zh9frOplcPqLd8b4peNM9WtbNmQjHX6ocVJJwPzyc="; 20 }; 21 22 sourceRoot = "${src.name}/allure-pytest"; 23 24 build-system = [ setuptools-scm ]; 25 26 buildInputs = [ pytest ]; 27 28 dependencies = [ allure-python-commons ]; 29 30 # Tests were moved to the meta package 31 doCheck = false; 32 33 pythonImportsCheck = [ "allure_pytest" ]; 34 35 meta = with lib; { 36 description = "Allure integrations for Python test frameworks"; 37 homepage = "https://github.com/allure-framework/allure-python"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ evanjs ]; 40 }; 41}