nixpkgs/pkgs/development/python-modules/datadog/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

68 lines
1.3 KiB
Nix
Raw Normal View History

2021-03-02 23:54:53 +01:00
{
lib,
buildPythonPackage,
click,
fetchPypi,
2021-03-02 23:54:53 +01:00
freezegun,
hatchling,
2021-03-02 23:54:53 +01:00
mock,
pytest-vcr,
pytestCheckHook,
2021-03-02 23:54:53 +01:00
python-dateutil,
pythonAtLeast,
pythonOlder,
requests,
2021-03-02 23:54:53 +01:00
vcrpy,
}:
buildPythonPackage rec {
pname = "datadog";
version = "0.49.1";
2024-01-20 08:37:09 +01:00
pyproject = true;
disabled = pythonOlder "3.7";
2018-10-30 16:42:37 +01:00
src = fetchPypi {
inherit pname version;
hash = "sha256-TLenmRr2ytuGj+RQzUVkc+ZfEfxni3189hBE/xxgdNg=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ requests ];
2023-08-01 00:01:21 -07:00
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
2021-03-02 23:54:53 +01:00
click
freezegun
mock
pytestCheckHook
pytest-vcr
python-dateutil
vcrpy
];
disabledTestPaths = [
"tests/performance"
# https://github.com/DataDog/datadogpy/issues/800
"tests/integration/api/test_*.py"
2021-03-02 23:54:53 +01:00
];
disabledTests = [
"test_default_settings_set"
# https://github.com/DataDog/datadogpy/issues/746
"TestDogshell"
2021-03-02 23:54:53 +01:00
];
pythonImportsCheck = [ "datadog" ];
2018-04-06 18:59:50 +02:00
meta = with lib; {
description = "The Datadog Python library";
homepage = "https://github.com/DataDog/datadogpy";
changelog = "https://github.com/DataDog/datadogpy/blob/v${version}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}