Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.2 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.45.0"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchPypi { 25 inherit pname version; 26 hash = "sha256-a//tZ0SMtL9d/1WfsqzuHAbn2oYSuOKnNPJ4tQs5ZgM="; 27 }; 28 29 nativeBuildInputs = [ 30 hatchling 31 ]; 32 33 propagatedBuildInputs = [ 34 requests 35 ]; 36 37 nativeCheckInputs = [ 38 click 39 freezegun 40 mock 41 pytestCheckHook 42 pytest-vcr 43 python-dateutil 44 vcrpy 45 ]; 46 47 disabledTestPaths = [ 48 "tests/performance" 49 ]; 50 51 disabledTests = [ 52 "test_default_settings_set" 53 ] ++ lib.optionals (pythonAtLeast "3.11") [ 54 # https://github.com/DataDog/datadogpy/issues/746 55 "TestDogshell" 56 ]; 57 58 pythonImportsCheck = [ 59 "datadog" 60 ]; 61 62 meta = with lib; { 63 description = "The Datadog Python library"; 64 homepage = "https://github.com/DataDog/datadogpy"; 65 changelog = "https://github.com/DataDog/datadogpy/blob/v${version}/CHANGELOG.md"; 66 license = licenses.bsd3; 67 maintainers = with maintainers; [ ]; 68 }; 69}