diff --git a/pkgs/development/python-modules/btrees/default.nix b/pkgs/development/python-modules/btrees/default.nix index 2ba7e1e848d4..8e25d0bd94d2 100644 --- a/pkgs/development/python-modules/btrees/default.nix +++ b/pkgs/development/python-modules/btrees/default.nix @@ -7,22 +7,22 @@ transaction, zope-testrunner, python, - pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "btrees"; - version = "6.1"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "6.2"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-4YdG+GQYaaIPRTKMm1+X3GxxoRlZYDVq72O3X1yNRF8="; + hash = "sha256-SnxwN2aEfrD6tYrpudacyAWIy/1uNFcrur1FU+B5/is="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ persistent zope-interface ]; @@ -34,7 +34,9 @@ buildPythonPackage rec { checkPhase = '' runHook preCheck + ${python.interpreter} -m zope.testrunner --test-path=src --auto-color --auto-progress + runHook postCheck ''; @@ -48,6 +50,7 @@ buildPythonPackage rec { meta = with lib; { description = "Scalable persistent components"; homepage = "http://packages.python.org/BTrees"; + changelog = "https://github.com/zopefoundation/BTrees/blob/${version}/CHANGES.rst"; license = licenses.zpl21; maintainers = [ ]; };