3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pontos: 22.1.1 -> 22.1.3

This commit is contained in:
Fabian Affolter 2022-01-30 23:06:38 +01:00
parent 8fc6055ce7
commit 8ce32fae0c

View file

@ -7,12 +7,13 @@
, colorful
, tomlkit
, git
, packaging
, requests
}:
buildPythonPackage rec {
pname = "pontos";
version = "22.1.1";
version = "22.1.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -21,7 +22,7 @@ buildPythonPackage rec {
owner = "greenbone";
repo = pname;
rev = "v${version}";
sha256 = "sha256-p7E86McHeijsXpaByD5qLHYQLnSImLwHn15INyxWiZc=";
hash = "sha256-u/Mvk2/Wg0dB0OyTXllgV5sEV1h01HGZKLacPUxmeMA=";
};
nativeBuildInputs = [
@ -31,6 +32,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
colorful
tomlkit
packaging
requests
];
@ -39,6 +41,11 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'packaging = "^20.3"' 'packaging = "*"'
'';
disabledTests = [
# Signing fails
"test_find_no_signing_key"
@ -48,7 +55,9 @@ buildPythonPackage rec {
"test_missing_cmd"
];
pythonImportsCheck = [ "pontos" ];
pythonImportsCheck = [
"pontos"
];
meta = with lib; {
description = "Collection of Python utilities, tools, classes and functions";