159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
48 lines
920 B
Nix
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 = [ ];
|
|
};
|
|
}
|