5 , marshmallow-dataclass
16 buildPythonPackage rec {
17 pname = "pygitguardian";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
24 owner = "GitGuardian";
25 repo = "py-gitguardian";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-Uw65+YOnln+IOyT+RgqMEWt5cOZsaeS8Nu8U6ooivWA=";
31 "marshmallow-dataclass"
39 propagatedBuildInputs = [
52 pythonImportsCheck = [
57 # Tests require an API key
58 "test_bogus_rate_limit"
59 "test_compute_sca_files"
60 "test_content_scan_exceptions"
62 "test_create_honeytoken"
66 "test_multi_content_exceptions"
67 "test_multi_content_scan"
68 "test_multiscan_parameters"
71 "test_sca_client_scan_diff"
72 "test_sca_scan_all_with_params"
73 "test_sca_scan_directory_invalid_tar"
74 "test_sca_scan_directory"
75 "test_versions_from_headers"
79 description = "Library to access the GitGuardian API";
80 homepage = "https://github.com/GitGuardian/py-gitguardian";
81 changelog = "https://github.com/GitGuardian/py-gitguardian/blob/v${version}/CHANGELOG.md";
82 license = licenses.mit;
83 maintainers = with maintainers; [ fab ];