18 buildPythonPackage rec {
23 disabled = pythonOlder "3.7";
26 inherit pname version;
27 hash = "sha256-F3JXdL8rsKSPHQltknB0ksGH8krgiWCvCwwvqXlY/VE=";
30 nativeBuildInputs = [ hatchling ];
32 propagatedBuildInputs = [ requests ];
34 __darwinAllowLocalNetworking = true;
48 # https://github.com/DataDog/datadogpy/issues/800
49 "tests/integration/api/test_*.py"
54 "test_default_settings_set"
55 # https://github.com/DataDog/datadogpy/issues/746
58 ++ lib.optionals (pythonAtLeast "3.13") [
59 # https://github.com/DataDog/datadogpy/issues/880
60 "test_timed_coroutine"
63 pythonImportsCheck = [ "datadog" ];
66 description = "Datadog Python library";
67 homepage = "https://github.com/DataDog/datadogpy";
68 changelog = "https://github.com/DataDog/datadogpy/blob/v${version}/CHANGELOG.md";
69 license = licenses.bsd3;