evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / datadog / default.nix
blobda178007ba92ee91b7e9ec373b41cc329e36664b
2   lib,
3   buildPythonPackage,
4   click,
5   fetchPypi,
6   freezegun,
7   hatchling,
8   mock,
9   pytest-vcr,
10   pytestCheckHook,
11   python-dateutil,
12   pythonOlder,
13   requests,
14   vcrpy,
17 buildPythonPackage rec {
18   pname = "datadog";
19   version = "0.50.1";
20   pyproject = true;
22   disabled = pythonOlder "3.7";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-V51NtUvW75GMUlAhftsVuAt7EVgrjiT85DcCdow/Li0=";
27   };
29   nativeBuildInputs = [ hatchling ];
31   propagatedBuildInputs = [ requests ];
33   __darwinAllowLocalNetworking = true;
35   nativeCheckInputs = [
36     click
37     freezegun
38     mock
39     pytestCheckHook
40     pytest-vcr
41     python-dateutil
42     vcrpy
43   ];
45   disabledTestPaths = [
46     "tests/performance"
47     # https://github.com/DataDog/datadogpy/issues/800
48     "tests/integration/api/test_*.py"
49   ];
51   disabledTests = [
52     "test_default_settings_set"
53     # https://github.com/DataDog/datadogpy/issues/746
54     "TestDogshell"
55   ];
57   pythonImportsCheck = [ "datadog" ];
59   meta = with lib; {
60     description = "Datadog Python library";
61     homepage = "https://github.com/DataDog/datadogpy";
62     changelog = "https://github.com/DataDog/datadogpy/blob/v${version}/CHANGELOG.md";
63     license = licenses.bsd3;
64     maintainers = [ ];
65   };