diff --git a/pkgs/development/python-modules/timezonefinder/default.nix b/pkgs/development/python-modules/timezonefinder/default.nix index 1681659714be3..bc550d7aef73c 100644 --- a/pkgs/development/python-modules/timezonefinder/default.nix +++ b/pkgs/development/python-modules/timezonefinder/default.nix @@ -13,16 +13,16 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "timezonefinder"; - version = "8.2.0"; + version = "8.2.1"; pyproject = true; src = fetchFromGitHub { owner = "jannikmi"; repo = "timezonefinder"; - tag = version; - hash = "sha256-VIC+cLRDSaXLEz1Vpu6opoU5D0Q1xWaVq4OqzRBTiDw="; + tag = finalAttrs.version; + hash = "sha256-OuNJ4C5/rQo8o7o8R39FvwqK7lS7IGGDjNaP2n3GTVU="; }; build-system = [ setuptools ]; @@ -45,7 +45,7 @@ buildPythonPackage rec { pydantic pytestCheckHook ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; pythonImportsCheck = [ "timezonefinder" ]; @@ -67,9 +67,9 @@ buildPythonPackage rec { meta = { description = "Module for finding the timezone of any point on earth (coordinates) offline"; homepage = "https://github.com/MrMinimal64/timezonefinder"; - changelog = "https://github.com/jannikmi/timezonefinder/blob/${src.tag}/CHANGELOG.rst"; + changelog = "https://github.com/jannikmi/timezonefinder/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "timezonefinder"; }; -} +})