Loading pkgs/development/python-modules/powerapi/default.nix +11 −4 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, influxdb-client, Loading @@ -10,7 +11,6 @@ pytest-cov-stub, pytest-timeout, pytestCheckHook, pythonOlder, pyzmq, setproctitle, setuptools, Loading @@ -21,8 +21,6 @@ buildPythonPackage rec { version = "2.10.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "powerapi-ng"; repo = "powerapi"; Loading @@ -30,6 +28,8 @@ buildPythonPackage rec { hash = "sha256-rn1qe0RwYuUR23CgzOOeiwe1wuFihnhQ9a6ALgSP/cQ="; }; __darwinAllowLocalNetworking = true; build-system = [ setuptools ]; dependencies = [ Loading @@ -55,10 +55,17 @@ 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"; changelog = "https://github.com/powerapi-ng/powerapi/releases/tag/v${version}"; changelog = "https://github.com/powerapi-ng/powerapi/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; }; Loading Loading
pkgs/development/python-modules/powerapi/default.nix +11 −4 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, influxdb-client, Loading @@ -10,7 +11,6 @@ pytest-cov-stub, pytest-timeout, pytestCheckHook, pythonOlder, pyzmq, setproctitle, setuptools, Loading @@ -21,8 +21,6 @@ buildPythonPackage rec { version = "2.10.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "powerapi-ng"; repo = "powerapi"; Loading @@ -30,6 +28,8 @@ buildPythonPackage rec { hash = "sha256-rn1qe0RwYuUR23CgzOOeiwe1wuFihnhQ9a6ALgSP/cQ="; }; __darwinAllowLocalNetworking = true; build-system = [ setuptools ]; dependencies = [ Loading @@ -55,10 +55,17 @@ 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"; changelog = "https://github.com/powerapi-ng/powerapi/releases/tag/v${version}"; changelog = "https://github.com/powerapi-ng/powerapi/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; }; Loading