about summary refs log tree commit diff
path: root/pkgs/development/python-modules/allure-pytest/default.nix
blob: ba86e0723a5df6e49afe650a7ca73a18f076fc8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{ lib
, allure-python-commons
, buildPythonPackage
, fetchPypi
, pytest
, pythonOlder
, setuptools-scm
}:

buildPythonPackage rec {
  pname = "allure-pytest";
  version = "2.13.2";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-IiQxWejsgc4rUlS0ATgCGYghsbQvEY9p1KKJOWYHx7M=";
  };

  nativeBuildInputs = [
    setuptools-scm
  ];

  buildInputs = [
    pytest
  ];

  propagatedBuildInputs = [
    allure-python-commons
  ];

  # Tests were moved to the meta package
  doCheck = false;

  pythonImportsCheck = [
    "allure_pytest"
  ];

  meta = with lib; {
    description = "Allure integrations for Python test frameworks";
    homepage = "https://github.com/allure-framework/allure-python";
    license = licenses.asl20;
    maintainers = with maintainers; [ evanjs ];
  };
}