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