2022-04-15 01:41:22 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, python3Packages
|
|
|
|
, nix-update-script
|
|
|
|
, s-tui
|
2022-04-27 09:35:20 +00:00
|
|
|
, testers
|
2022-04-15 01:41:22 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
|
|
pname = "s-tui";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "1.1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-soVrmzlVy0zrqvOclR7SfPphp4xAEHv+xdr0NN19ye0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
urwid
|
|
|
|
psutil
|
|
|
|
];
|
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
passthru = {
|
2022-12-28 21:21:41 +00:00
|
|
|
updateScript = nix-update-script { };
|
2022-04-27 09:35:20 +00:00
|
|
|
tests = testers.testVersion { package = s-tui; };
|
2022-04-15 01:41:22 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://amanusk.github.io/s-tui/";
|
|
|
|
description = "Stress-Terminal UI monitoring tool";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ infinisil ];
|
2022-04-15 01:41:22 +00:00
|
|
|
broken = stdenv.isDarwin; # https://github.com/amanusk/s-tui/issues/49
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|