diff --git a/pkgs/development/python-modules/platformdirs/default.nix b/pkgs/development/python-modules/platformdirs/default.nix index 80d109154203..6ea5d6b7361e 100644 --- a/pkgs/development/python-modules/platformdirs/default.nix +++ b/pkgs/development/python-modules/platformdirs/default.nix @@ -12,16 +12,14 @@ buildPythonPackage rec { pname = "platformdirs"; - version = "4.3.8"; + version = "4.5.0"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { - owner = "platformdirs"; + owner = "tox-dev"; repo = "platformdirs"; tag = version; - hash = "sha256-ePaEpsBkTomRX+RJsed8aJtefl5WCW/N9IT8ae4+ln4="; + hash = "sha256-ESXp9I6SL13BdsQLCUcfS8kwqayURCEguhINnK6Dd6k="; }; build-system = [ @@ -37,11 +35,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "platformdirs" ]; - meta = with lib; { + meta = { description = "Module for determining appropriate platform-specific directories"; homepage = "https://platformdirs.readthedocs.io/"; - changelog = "https://github.com/platformdirs/platformdirs/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ fab ]; + changelog = "https://github.com/tox-dev/platformdirs/releases/tag/${src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; }; }