diff --git a/pkgs/development/python-modules/queuelib/default.nix b/pkgs/development/python-modules/queuelib/default.nix index 53105b8ef749..3999e1496a76 100644 --- a/pkgs/development/python-modules/queuelib/default.nix +++ b/pkgs/development/python-modules/queuelib/default.nix @@ -2,24 +2,30 @@ lib, buildPythonPackage, fetchPypi, - pytest, + hatchling, + pytestCheckHook, }: buildPythonPackage rec { pname = "queuelib"; - version = "1.7.0"; - format = "setuptools"; + version = "1.8.0"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-KFUWIJbPAjBRCJCzVDeeocD/GdEF0xR9NJ0kM7siKwg="; + hash = "sha256-WCvGVRRIEQCwU5vWcdprNVuHiGnPx32Sxjt1/MnPjic="; }; - buildInputs = [ pytest ]; + build-system = [ hatchling ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "queuelib" ]; meta = with lib; { description = "Collection of persistent (disk-based) queues for Python"; homepage = "https://github.com/scrapy/queuelib"; + changelog = "https://github.com/scrapy/queuelib/releases/tag/v${version}"; license = licenses.bsd3; maintainers = [ ]; };