504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
49 lines
895 B
Nix
49 lines
895 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPyPy
|
|
, setuptools
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zope-testing";
|
|
version = "5.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "zope.testing";
|
|
inherit version;
|
|
hash = "sha256-6HzQ2NZmVzza8TOBare5vuyAGmSoZZXBnLX+mS7z1kk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
doCheck = !isPyPy;
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pytestFlagsArray = [
|
|
"src/zope/testing/tests.py"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"zope.testing"
|
|
];
|
|
|
|
pythonNamespaces = [
|
|
"zope"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Zope testing helpers";
|
|
homepage = "https://github.com/zopefoundation/zope.testing";
|
|
changelog = "https://github.com/zopefoundation/zope.testing/blob/${version}/CHANGES.rst";
|
|
license = licenses.zpl21;
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
};
|
|
}
|