diff --git a/pkgs/development/python-modules/tldextract/default.nix b/pkgs/development/python-modules/tldextract/default.nix index aedebf4bd799..6f89bbe7a957 100644 --- a/pkgs/development/python-modules/tldextract/default.nix +++ b/pkgs/development/python-modules/tldextract/default.nix @@ -14,16 +14,16 @@ syrupy, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "tldextract"; - version = "5.3.0"; + version = "5.3.1"; pyproject = true; src = fetchFromGitHub { owner = "john-kurkowski"; repo = "tldextract"; - tag = version; - hash = "sha256-PCDjceBU4cjAqRes/yWt/mbM/aWxjYtNl+qN+49OjA8="; + tag = finalAttrs.version; + hash = "sha256-WPf996EVVEKxD+ZFDB8nIrrd1Sxr+IOI8I19J+KMPRg="; }; nativeBuildInputs = [ @@ -54,9 +54,9 @@ buildPythonPackage rec { from the registered domain and subdomains of a URL. ''; homepage = "https://github.com/john-kurkowski/tldextract"; - changelog = "https://github.com/john-kurkowski/tldextract/blob/${src.tag}/CHANGELOG.md"; - license = with lib.licenses; [ bsd3 ]; + changelog = "https://github.com/john-kurkowski/tldextract/blob/${finalAttrs.src.tag}/CHANGELOG.md"; + license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; mainProgram = "tldextract"; }; -} +})