Fabian Affolter
2024-06-24 21:47:50 +02:00
parent 6fb77c9dcc
commit 514b44c581
@@ -2,8 +2,9 @@
lib,
buildPythonPackage,
fetchFromGitHub,
marshmallow,
marshmallow-dataclass,
marshmallow,
pdm-backend,
pytestCheckHook,
pythonOlder,
pythonRelaxDepsHook,
@@ -16,29 +17,36 @@
buildPythonPackage rec {
pname = "pygitguardian";
version = "1.14.0";
version = "1.15.2";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "GitGuardian";
repo = "py-gitguardian";
rev = "refs/tags/v${version}";
hash = "sha256-Uw65+YOnln+IOyT+RgqMEWt5cOZsaeS8Nu8U6ooivWA=";
hash = "sha256-jmjlNGyGYsiwQ0qi8KiSUI38J4n1ZTzqxzY9Bn9OdqY=";
};
pythonRelaxDeps = [ "marshmallow-dataclass" ];
pythonRelaxDeps = [
"marshmallow-dataclass"
"setuptools"
];
build-system = [
pdm-backend
];
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
];
propagatedBuildInputs = [
dependencies = [
marshmallow
marshmallow-dataclass
requests
setuptools
typing-extensions
];
@@ -65,6 +73,7 @@ buildPythonPackage rec {
"test_multiscan_parameters"
"test_quota_overview"
"test_rate_limit"
"test_read_metadata_bad_response"
"test_sca_client_scan_diff"
"test_sca_scan_all_with_params"
"test_sca_scan_directory_invalid_tar"