fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
56 lines
1.3 KiB
Nix
56 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
mock,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
sybil,
|
|
twisted,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "testfixtures";
|
|
version = "8.2.0";
|
|
pyproject = true;
|
|
# DO NOT CONTACT upstream.
|
|
# https://github.com/simplistix/ is only concerned with internal CI process.
|
|
# Any attempt by non-standard pip workflows to comment on issues will
|
|
# be met with hostility.
|
|
# https://github.com/simplistix/testfixtures/issues/169
|
|
# https://github.com/simplistix/testfixtures/issues/168
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-70O2VxNMh+ijBE9LAqMq4uvd9Esrl7x5iaIBFkA5iO4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
pytestCheckHook
|
|
sybil
|
|
twisted
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
# Django is too much hasle to setup at the moment
|
|
"testfixtures/tests/test_django"
|
|
];
|
|
|
|
pytestFlagsArray = [ "testfixtures/tests" ];
|
|
|
|
pythonImportsCheck = [ "testfixtures" ];
|
|
|
|
meta = with lib; {
|
|
description = "Collection of helpers and mock objects for unit tests and doc tests";
|
|
homepage = "https://github.com/Simplistix/testfixtures";
|
|
changelog = "https://github.com/simplistix/testfixtures/blob/${version}/CHANGELOG.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ siriobalmelli ];
|
|
};
|
|
}
|