diff --git a/pkgs/development/python-modules/diffenator2/default.nix b/pkgs/development/python-modules/diffenator2/default.nix index 80f6181eec79..3c9723609d19 100644 --- a/pkgs/development/python-modules/diffenator2/default.nix +++ b/pkgs/development/python-modules/diffenator2/default.nix @@ -24,16 +24,16 @@ numpy, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "diffenator2"; - version = "0.4.9"; + version = "0.5.0"; pyproject = true; src = fetchFromGitHub { owner = "googlefonts"; repo = "diffenator2"; - tag = "v${version}"; - hash = "sha256-EV+ju2PnjqRsjQvh/bQJYtDOO4vvisoU0aqlV9vMQp8="; + tag = "v${finalAttrs.version}"; + hash = "sha256-7c9/D3uiHysvB2XCjlgm5ll71efLDgcQARXyKeGt5D0="; }; env.PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python"; @@ -91,9 +91,9 @@ buildPythonPackage rec { meta = { description = "Font comparison tool that will not stop until your fonts are exhaustively compared"; homepage = "https://github.com/googlefonts/diffenator2"; - changelog = "https://github.com/googlefonts/diffenator2/releases/tag/${src.tag}"; + changelog = "https://github.com/googlefonts/diffenator2/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; mainProgram = "diffenator2"; maintainers = with lib.maintainers; [ jopejoe1 ]; }; -} +})