depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-twisted/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

48 lines
920 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
greenlet,
pytest,
decorator,
twisted,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-twisted";
version = "1.14.3";
pyproject = true;
src = fetchFromGitHub {
owner = "pytest-dev";
repo = "pytest-twisted";
rev = "refs/tags/v${version}";
hash = "sha256-1dAfCa6hON0Vh9StI1Xw69IAwBzUkR6DdjQ0HNyoyME=";
};
build-system = [ setuptools ];
buildInputs = [ pytest ];
dependencies = [
decorator
greenlet
];
nativeCheckInputs = [
pytestCheckHook
twisted
];
pythonImportsCheck = [ "pytest_twisted" ];
meta = with lib; {
changelog = "https://github.com/pytest-dev/pytest-twisted/releases/tag/v${version}";
description = "Twisted plugin for py.test";
homepage = "https://github.com/pytest-dev/pytest-twisted";
license = licenses.bsd3;
maintainers = [ ];
};
}