diff --git a/pkgs/development/python-modules/ghapi/default.nix b/pkgs/development/python-modules/ghapi/default.nix index fe650ff60b04..6b618e177384 100644 --- a/pkgs/development/python-modules/ghapi/default.nix +++ b/pkgs/development/python-modules/ghapi/default.nix @@ -7,16 +7,16 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "ghapi"; - version = "1.0.8"; + version = "1.0.9"; pyproject = true; src = fetchFromGitHub { owner = "fastai"; repo = "ghapi"; - tag = version; - hash = "sha256-ZfOo5Icusj8Fm5i/HWGjjXtNWEB1wgYNzqeLeWbBJ/4="; + tag = finalAttrs.version; + hash = "sha256-gBwOxWHjGyTrAKpG7BVoO7eQJw3fcLMXaF7CbAwMOj8="; }; build-system = [ setuptools ]; @@ -34,8 +34,8 @@ buildPythonPackage rec { meta = { description = "Python interface to GitHub's API"; homepage = "https://github.com/fastai/ghapi"; - changelog = "https://github.com/fastai/ghapi/releases/tag/${version}"; - license = with lib.licenses; [ asl20 ]; + changelog = "https://github.com/fastai/ghapi/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})