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 ]; }; }