forked from mirrors/nixpkgs
Merge pull request #202712 from fabaff/pontos-bump
python310Packages.pontos: 22.10.0 -> 22.11.0
This commit is contained in:
commit
7a0d1a8a4c
|
@ -7,6 +7,7 @@
|
|||
, packaging
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, typing-extensions
|
||||
, pythonOlder
|
||||
, rich
|
||||
, tomlkit
|
||||
|
@ -14,7 +15,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pontos";
|
||||
version = "22.10.0";
|
||||
version = "22.11.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -23,7 +24,7 @@ buildPythonPackage rec {
|
|||
owner = "greenbone";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-z+oJakeZARnyZrkkNjLlyFcOB73u9+G0tXhbI13neyc=";
|
||||
hash = "sha256-WGtHMQ+8hACt8SMyO0zO80ASlfykJfHQOtNwyk1fsFE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -35,19 +36,17 @@ buildPythonPackage rec {
|
|||
httpx
|
||||
packaging
|
||||
rich
|
||||
typing-extensions
|
||||
tomlkit
|
||||
];
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
typing-extensions
|
||||
] ++ httpx.optional-dependencies.http2;
|
||||
|
||||
checkInputs = [
|
||||
git
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'packaging = "^20.3"' 'packaging = "*"'
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
"PrepareTestCase"
|
||||
# Signing fails
|
||||
|
@ -69,6 +68,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Collection of Python utilities, tools, classes and functions";
|
||||
homepage = "https://github.com/greenbone/pontos";
|
||||
changelog = "https://github.com/greenbone/pontos/releases/tag/v${version}";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue