Loading pkgs/development/python-modules/datadog/default.nix +26 −15 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pythonAtLeast, # build-system hatchling, # dependencies requests, # testing click, fetchPypi, freezegun, hatchling, mock, pytest-vcr, pytestCheckHook, python-dateutil, pythonAtLeast, pythonOlder, requests, vcrpy, }: Loading @@ -20,16 +25,16 @@ buildPythonPackage rec { version = "0.51.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-MnlTT4Ma4LSuLYzkLvA4tKs45mfX7W/3Q3mC16DPUlA="; src = fetchFromGitHub { owner = "DataDog"; repo = "datadogpy"; tag = "v${version}"; hash = "sha256-DIuKawqOzth8XYF+M3fYm2kMeo3UbfS34/Qa4Y9V1h8="; }; nativeBuildInputs = [ hatchling ]; build-system = [ hatchling ]; propagatedBuildInputs = [ requests ]; dependencies = [ requests ]; __darwinAllowLocalNetworking = true; Loading @@ -54,6 +59,12 @@ buildPythonPackage rec { "test_default_settings_set" # https://github.com/DataDog/datadogpy/issues/746 "TestDogshell" # Flaky: test execution time aganst magic values "test_distributed" "test_timed" "test_timed_in_ms" "test_timed_start_stop_calls" ] ++ lib.optionals (pythonAtLeast "3.13") [ # https://github.com/DataDog/datadogpy/issues/880 Loading @@ -62,11 +73,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "datadog" ]; meta = with lib; { meta = { description = "Datadog Python library"; homepage = "https://github.com/DataDog/datadogpy"; changelog = "https://github.com/DataDog/datadogpy/blob/v${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = [ ]; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.sarahec ]; }; } Loading
pkgs/development/python-modules/datadog/default.nix +26 −15 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pythonAtLeast, # build-system hatchling, # dependencies requests, # testing click, fetchPypi, freezegun, hatchling, mock, pytest-vcr, pytestCheckHook, python-dateutil, pythonAtLeast, pythonOlder, requests, vcrpy, }: Loading @@ -20,16 +25,16 @@ buildPythonPackage rec { version = "0.51.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-MnlTT4Ma4LSuLYzkLvA4tKs45mfX7W/3Q3mC16DPUlA="; src = fetchFromGitHub { owner = "DataDog"; repo = "datadogpy"; tag = "v${version}"; hash = "sha256-DIuKawqOzth8XYF+M3fYm2kMeo3UbfS34/Qa4Y9V1h8="; }; nativeBuildInputs = [ hatchling ]; build-system = [ hatchling ]; propagatedBuildInputs = [ requests ]; dependencies = [ requests ]; __darwinAllowLocalNetworking = true; Loading @@ -54,6 +59,12 @@ buildPythonPackage rec { "test_default_settings_set" # https://github.com/DataDog/datadogpy/issues/746 "TestDogshell" # Flaky: test execution time aganst magic values "test_distributed" "test_timed" "test_timed_in_ms" "test_timed_start_stop_calls" ] ++ lib.optionals (pythonAtLeast "3.13") [ # https://github.com/DataDog/datadogpy/issues/880 Loading @@ -62,11 +73,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "datadog" ]; meta = with lib; { meta = { description = "Datadog Python library"; homepage = "https://github.com/DataDog/datadogpy"; changelog = "https://github.com/DataDog/datadogpy/blob/v${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = [ ]; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.sarahec ]; }; }