From f01da3d33ba1f0a24d619ff89661c7f3b0670416 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 3 Sep 2024 18:33:38 +0200 Subject: [PATCH] python312Packages.nocasedict: 2.0.3 -> 2.0.4 --- .../python-modules/nocasedict/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/nocasedict/default.nix b/pkgs/development/python-modules/nocasedict/default.nix index 22a923412562..f50c1df9902f 100644 --- a/pkgs/development/python-modules/nocasedict/default.nix +++ b/pkgs/development/python-modules/nocasedict/default.nix @@ -2,29 +2,33 @@ lib, buildPythonPackage, fetchPypi, - pytest7CheckHook, - six, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "nocasedict"; - version = "2.0.3"; - format = "setuptools"; + version = "2.0.4"; + pyproject = true; + + disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; - hash = "sha256-HJImx/WoqXrVHcsK4xV6cg4/fLnEVo0i6joF4/hWWKk="; + hash = "sha256-TKk09l31exDQ/KtfDDnp3MuTV3/58ivvmCZd2/EvivE="; }; - propagatedBuildInputs = [ six ]; + build-system = [ setuptools ]; - nativeCheckInputs = [ pytest7CheckHook ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "nocasedict" ]; meta = with lib; { description = "Case-insensitive ordered dictionary for Python"; homepage = "https://github.com/pywbem/nocasedict"; + changelog = "https://github.com/pywbem/nocasedict/blob/${version}/docs/changes.rst"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ freezeboy ]; };