diff --git a/pkgs/development/python-modules/securityreporter/default.nix b/pkgs/development/python-modules/securityreporter/default.nix index 0eed5cf1a62d..2b5e11cfdce8 100644 --- a/pkgs/development/python-modules/securityreporter/default.nix +++ b/pkgs/development/python-modules/securityreporter/default.nix @@ -9,21 +9,21 @@ responses, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "securityreporter"; - version = "1.3.0"; + version = "1.4.0"; pyproject = true; src = fetchFromGitHub { owner = "dongit-org"; repo = "python-reporter"; - tag = "v${version}"; - hash = "sha256-YvUDgsKM0JUajp8JAR2vj30QsNtcGvADGCZ791ZZD/8="; + tag = "v${finalAttrs.version}"; + hash = "sha256-bM11ztDd7Zg0O2+yGn9ZxKSo3B8nvhqUHSmdea/6sTg="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail 'version = "0.0.0"' 'version = "${version}"' + --replace-fail 'version = "0.0.0"' 'version = "${finalAttrs.version}"' ''; build-system = [ poetry-core ]; @@ -46,8 +46,8 @@ buildPythonPackage rec { meta = { description = "Python wrapper for the Reporter API"; homepage = "https://github.com/dongit-org/python-reporter"; - changelog = "https://github.com/dongit-org/python-reporter/releases/tag/v${version}"; + changelog = "https://github.com/dongit-org/python-reporter/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})