Loading pkgs/applications/system/glances/default.nix +5 −12 Original line number Diff line number Diff line Loading @@ -5,20 +5,15 @@ isPyPy, lib, defusedxml, future, ujson, packaging, psutil, setuptools, pydantic, # Optional dependencies: fastapi, jinja2, orjson, pysnmp, hddtemp, netifaces, # IP module py-cpuinfo, uvicorn, requests, prometheus-client, Loading @@ -27,6 +22,8 @@ buildPythonApplication rec { pname = "glances"; version = "4.2.0"; pyproject = true; disabled = isPyPy; src = fetchFromGitHub { Loading @@ -36,6 +33,8 @@ buildPythonApplication rec { hash = "sha256-liyrMaqBgK7UZjWIKIgIFbskTGaWfyrK8L74DKmaDmY="; }; build-system = [ setuptools ]; # On Darwin this package segfaults due to mismatch of pure and impure # CoreFoundation. This issues was solved for binaries but for interpreted # scripts a workaround below is still required. Loading @@ -51,22 +50,16 @@ buildPythonApplication rec { export DYLD_FRAMEWORK_PATH=/System/Library/Frameworks ''; propagatedBuildInputs = [ dependencies = [ defusedxml future ujson netifaces packaging psutil pysnmp setuptools py-cpuinfo pydantic fastapi uvicorn requests jinja2 orjson prometheus-client ] ++ lib.optional stdenv.hostPlatform.isLinux hddtemp; Loading Loading
pkgs/applications/system/glances/default.nix +5 −12 Original line number Diff line number Diff line Loading @@ -5,20 +5,15 @@ isPyPy, lib, defusedxml, future, ujson, packaging, psutil, setuptools, pydantic, # Optional dependencies: fastapi, jinja2, orjson, pysnmp, hddtemp, netifaces, # IP module py-cpuinfo, uvicorn, requests, prometheus-client, Loading @@ -27,6 +22,8 @@ buildPythonApplication rec { pname = "glances"; version = "4.2.0"; pyproject = true; disabled = isPyPy; src = fetchFromGitHub { Loading @@ -36,6 +33,8 @@ buildPythonApplication rec { hash = "sha256-liyrMaqBgK7UZjWIKIgIFbskTGaWfyrK8L74DKmaDmY="; }; build-system = [ setuptools ]; # On Darwin this package segfaults due to mismatch of pure and impure # CoreFoundation. This issues was solved for binaries but for interpreted # scripts a workaround below is still required. Loading @@ -51,22 +50,16 @@ buildPythonApplication rec { export DYLD_FRAMEWORK_PATH=/System/Library/Frameworks ''; propagatedBuildInputs = [ dependencies = [ defusedxml future ujson netifaces packaging psutil pysnmp setuptools py-cpuinfo pydantic fastapi uvicorn requests jinja2 orjson prometheus-client ] ++ lib.optional stdenv.hostPlatform.isLinux hddtemp; Loading