at 24.05-pre 1.3 kB view raw
1{ lib 2, buildPythonPackage 3, click 4, fetchPypi 5, freezegun 6, hatchling 7, mock 8, pytest-vcr 9, pytestCheckHook 10, python-dateutil 11, pythonAtLeast 12, pythonOlder 13, requests 14, vcrpy 15}: 16 17buildPythonPackage rec { 18 pname = "datadog"; 19 version = "0.47.0"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchPypi { 25 inherit pname version; 26 hash = "sha256-R747LD1wmn9bcJ6xJu1P5sx5d9YY/lwVjdicKp99mRY="; 27 }; 28 29 nativeBuildInputs = [ 30 hatchling 31 ]; 32 33 propagatedBuildInputs = [ 34 requests 35 ]; 36 37 __darwinAllowLocalNetworking = true; 38 39 nativeCheckInputs = [ 40 click 41 freezegun 42 mock 43 pytestCheckHook 44 pytest-vcr 45 python-dateutil 46 vcrpy 47 ]; 48 49 disabledTestPaths = [ 50 "tests/performance" 51 ]; 52 53 disabledTests = [ 54 "test_default_settings_set" 55 ] ++ lib.optionals (pythonAtLeast "3.11") [ 56 # https://github.com/DataDog/datadogpy/issues/746 57 "TestDogshell" 58 ]; 59 60 pythonImportsCheck = [ 61 "datadog" 62 ]; 63 64 meta = with lib; { 65 broken = true; # https://github.com/DataDog/datadogpy/issues/800 66 description = "The 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; 70 maintainers = with maintainers; [ ]; 71 }; 72}