diff --git a/pkgs/development/python-modules/prometheus-client/default.nix b/pkgs/development/python-modules/prometheus-client/default.nix index 19477b659b56..96b9a8f8077e 100644 --- a/pkgs/development/python-modules/prometheus-client/default.nix +++ b/pkgs/development/python-modules/prometheus-client/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, setuptools, @@ -32,6 +33,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "prometheus_client" ]; + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + # fails in darwin sandbox: Operation not permitted + "test_instance_ip_grouping_key" + ]; + meta = with lib; { description = "Prometheus instrumentation library for Python applications"; homepage = "https://github.com/prometheus/client_python";