diff --git a/pkgs/development/python-modules/plone-testing/default.nix b/pkgs/development/python-modules/plone-testing/default.nix index daa68e31afa1..85d9be0ef40b 100644 --- a/pkgs/development/python-modules/plone-testing/default.nix +++ b/pkgs/development/python-modules/plone-testing/default.nix @@ -1,33 +1,41 @@ { lib, buildPythonPackage, - fetchPypi, - six, + fetchFromGitHub, zope-testing, setuptools, }: buildPythonPackage rec { - pname = "plone.testing"; - version = "9.0.1"; + pname = "plone-testing"; + version = "9.0.3"; + pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-xdzm4LG/W5ziYXaXbCOfQbZYZvaUUih3lWhkLzWqeUc="; + src = fetchFromGitHub { + owner = "plone"; + repo = "plone.testing"; + tag = version; + hash = "sha256-EjKKwLUBhzjtk3stHkdUDsteXQGJcrwdu9EEA4FFK1w="; }; - propagatedBuildInputs = [ - six + build-system = [ setuptools ]; + + dependencies = [ setuptools zope-testing ]; + pythonImportsCheck = [ "plone.testing" ]; + # Huge amount of testing dependencies (including Zope2) doCheck = false; + pythonNamespaces = [ "plone" ]; + meta = { description = "Testing infrastructure for Zope and Plone projects"; homepage = "https://github.com/plone/plone.testing"; + changelog = "https://github.com/plone/plone.testing/blob/${src.tag}/CHANGES.rst"; license = lib.licenses.bsd3; }; }