python313Packages.powerapi: enable on darwin

This commit is contained in:
Fabian Affolter
2025-12-14 20:29:28 +01:00
parent d9b56b84ea
commit 870c51619a
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
influxdb-client,
@@ -27,6 +28,8 @@ buildPythonPackage rec {
hash = "sha256-rn1qe0RwYuUR23CgzOOeiwe1wuFihnhQ9a6ALgSP/cQ=";
};
__darwinAllowLocalNetworking = true;
build-system = [ setuptools ];
dependencies = [
@@ -52,6 +55,13 @@ buildPythonPackage rec {
pythonImportsCheck = [ "powerapi" ];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
"test_puller"
"TestDispatcher"
"TestK8sProcessor"
"TestPusher"
];
meta = {
description = "Python framework for building software-defined power meters";
homepage = "https://github.com/powerapi-ng/powerapi";