Merge pull request #121525 from primeos/glances

glances: 3.1.6.2 -> 3.1.7
This commit is contained in:
Martin Weinelt 2021-05-03 03:23:21 +02:00 committed by GitHub
commit d0dc38c19f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,14 +9,14 @@
buildPythonApplication rec {
pname = "glances";
version = "3.1.6.2";
version = "3.1.7";
disabled = isPyPy;
src = fetchFromGitHub {
owner = "nicolargo";
repo = "glances";
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):
@ -45,15 +45,11 @@ buildPythonApplication rec {
py-cpuinfo
] ++ lib.optional stdenv.isLinux hddtemp;
preConfigure = ''
sed -i 's/data_files\.append((conf_path/data_files.append(("etc\/glances"/' setup.py;
'';
meta = with lib; {
homepage = "https://nicolargo.github.io/glances/";
description = "Cross-platform curses-based monitoring tool";
changelog = "https://github.com/nicolargo/glances/releases/tag/v${version}";
license = licenses.lgpl3;
license = licenses.lgpl3Only;
maintainers = with maintainers; [ jonringer primeos koral ];
};
}