mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.securityreporter: 1.3.0 -> 1.4.0 (#482616)
This commit is contained in:
commit
c960d43efe
1 changed files with 7 additions and 7 deletions
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue