depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-twisted/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

45 lines
747 B
Nix

{ 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 ];
};
}