about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pytest-twisted/default.nix
blob: 198d21083e27b4c7e2abcad03eae056ed36f0703 (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
{ lib
, buildPythonPackage
, fetchPypi
, greenlet
, pytest
, decorator
, twisted
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "pytest-twisted";
  version = "1.14.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-IJv1pkUs+/th3o8BWQLBTsgSZACRFQcHS7LuTOjf4xM=";
  };

  buildInputs = [
    pytest
  ];

  propagatedBuildInputs = [
    decorator
    greenlet
  ];

  nativeCheckInputs = [
    pytestCheckHook
    twisted
  ];

  pythonImportsCheck = [
    "pytest_twisted"
  ];

  meta = with lib; {
    description = "A twisted plugin for py.test";
    homepage = "https://github.com/pytest-dev/pytest-twisted";
    license = licenses.bsd3;
    maintainers = [ maintainers.marsam ];
  };
}