Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pytest-twisted / default.nix
blob198d21083e27b4c7e2abcad03eae056ed36f0703
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , greenlet
5 , pytest
6 , decorator
7 , twisted
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-twisted";
13   version = "1.14.0";
14   format = "setuptools";
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "sha256-IJv1pkUs+/th3o8BWQLBTsgSZACRFQcHS7LuTOjf4xM=";
19   };
21   buildInputs = [
22     pytest
23   ];
25   propagatedBuildInputs = [
26     decorator
27     greenlet
28   ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     twisted
33   ];
35   pythonImportsCheck = [
36     "pytest_twisted"
37   ];
39   meta = with lib; {
40     description = "A twisted plugin for py.test";
41     homepage = "https://github.com/pytest-dev/pytest-twisted";
42     license = licenses.bsd3;
43     maintainers = [ maintainers.marsam ];
44   };