From 24e95ca8176005e1896603d1f0c4c95202ccb91f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Sep 2024 23:30:56 +0200 Subject: [PATCH] python312Packages.cachetools: 5.3.2 -> 5.5.0 Diff: https://github.com/tkem/cachetools/compare/refs/tags/v5.3.2...v5.5.0 Changelog: https://github.com/tkem/cachetools/blob/v5.5.0/CHANGELOG.rst --- .../python-modules/cachetools/default.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/cachetools/default.nix b/pkgs/development/python-modules/cachetools/default.nix index c5098463552f..55a083807c79 100644 --- a/pkgs/development/python-modules/cachetools/default.nix +++ b/pkgs/development/python-modules/cachetools/default.nix @@ -3,29 +3,25 @@ buildPythonPackage, fetchFromGitHub, pythonOlder, - - # build-system setuptools, - - # tests pytestCheckHook, }: buildPythonPackage rec { pname = "cachetools"; - version = "5.3.2"; + version = "5.5.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "tkem"; - repo = pname; + repo = "cachetools"; rev = "refs/tags/v${version}"; - hash = "sha256-CmyAW9uV63OV/zZsWwZkXOWbHfHAJdYFGJsRhpqQ1f4="; + hash = "sha256-WG9PiUMVGaEXXHKbtOFEGjLiSbNnpSI2fXCogpGj1PI="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -35,7 +31,7 @@ buildPythonPackage rec { description = "Extensible memoizing collections and decorators"; homepage = "https://github.com/tkem/cachetools"; changelog = "https://github.com/tkem/cachetools/blob/v${version}/CHANGELOG.rst"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }