From 15c7b733b29b6d48962b74ecf6103d3d93f098cf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 1 Apr 2025 07:14:41 +0200 Subject: [PATCH] python3Packages.queuelib: 1.7.0 -> 1.8.0 This commit was automatically generated using update-python-libraries. --- .../python-modules/queuelib/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) 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 = [ ]; };