2022-04-15 01:41:22 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, python3Packages
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchPypi
|
2022-04-15 01:41:22 +00:00
|
|
|
, 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";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.1.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-nSdpnM8ubodlPwmvdmNFTn9TsS8i7lWBZ2CifMHDe1c=";
|
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";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2024-04-21 15:54:59 +00:00
|
|
|
maintainers = [ ];
|
2022-04-15 01:41:22 +00:00
|
|
|
broken = stdenv.isDarwin; # https://github.com/amanusk/s-tui/issues/49
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "s-tui";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|