glances: 3.1.6.2 -> 3.1.7
This commit is contained in:
parent
9775b39fd4
commit
501956b985
@ -9,14 +9,14 @@
|
|||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "glances";
|
pname = "glances";
|
||||||
version = "3.1.6.2";
|
version = "3.1.7";
|
||||||
disabled = isPyPy;
|
disabled = isPyPy;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nicolargo";
|
owner = "nicolargo";
|
||||||
repo = "glances";
|
repo = "glances";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-6vxJKIwMKz8KQn10aOzqXhVBDfBLylw925hR1hWP7/A=";
|
sha256 = "sha256-82ZD32dqRYGbGM/uyaJ5VqVZbhDZthiEcTihkV43JOU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Some tests fail in the sandbox (they e.g. require access to /sys/class/power_supply):
|
# Some tests fail in the sandbox (they e.g. require access to /sys/class/power_supply):
|
||||||
@ -45,15 +45,11 @@ buildPythonApplication rec {
|
|||||||
py-cpuinfo
|
py-cpuinfo
|
||||||
] ++ lib.optional stdenv.isLinux hddtemp;
|
] ++ lib.optional stdenv.isLinux hddtemp;
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
sed -i 's/data_files\.append((conf_path/data_files.append(("etc\/glances"/' setup.py;
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://nicolargo.github.io/glances/";
|
homepage = "https://nicolargo.github.io/glances/";
|
||||||
description = "Cross-platform curses-based monitoring tool";
|
description = "Cross-platform curses-based monitoring tool";
|
||||||
changelog = "https://github.com/nicolargo/glances/releases/tag/v${version}";
|
changelog = "https://github.com/nicolargo/glances/releases/tag/v${version}";
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3Only;
|
||||||
maintainers = with maintainers; [ jonringer primeos koral ];
|
maintainers = with maintainers; [ jonringer primeos koral ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user