python3Packages.securityreporter: 1.3.0 -> 1.4.0 (#482616)

This commit is contained in:
Fabian Affolter 2026-01-22 20:38:06 +00:00 committed by GitHub
commit c960d43efe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 ];
};
}
})