summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-06-24 21:47:13 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2024-06-24 21:47:50 +0200
commit514b44c58105bdbdba43d34cc9cee47ac5e3684e (patch)
tree77ad13c36cd9c2f0fb97d4ddeedb8f150da3f546 /pkgs/development/python-modules
parent6fb77c9dcc61f224955a8628f3315f29371966ca (diff)
python312Packages.pygitguardian: 1.14.0 -> 1.15.2
Diff: https://github.com/GitGuardian/py-gitguardian/compare/refs/tags/v1.14.0...v1.15.2 Changelog: https://github.com/GitGuardian/py-gitguardian/blob/v1.15.2/CHANGELOG.md
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/pygitguardian/default.nix23
1 files changed, 16 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/pygitguardian/default.nix b/pkgs/development/python-modules/pygitguardian/default.nix
index 2310bfb1f77d..ccc9d2726d31 100644
--- a/pkgs/development/python-modules/pygitguardian/default.nix
+++ b/pkgs/development/python-modules/pygitguardian/default.nix
@@ -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"