nixpkgs/pkgs/tools/system/s-tui/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
777 B
Nix
Raw Normal View History

2022-03-27 11:22:36 +00:00
{ lib
, stdenv
, python3Packages
, fetchPypi
2022-03-27 11:22:36 +00:00
, nix-update-script
, s-tui
, testers
2022-03-27 11:22:36 +00:00
}:
2017-09-13 12:38:45 +00:00
python3Packages.buildPythonPackage rec {
2017-09-13 12:38:45 +00:00
pname = "s-tui";
2024-01-31 14:47:16 +00:00
version = "1.1.6";
2017-09-13 12:38:45 +00:00
src = fetchPypi {
2017-09-13 12:38:45 +00:00
inherit pname version;
2024-01-31 14:47:16 +00:00
sha256 = "sha256-nSdpnM8ubodlPwmvdmNFTn9TsS8i7lWBZ2CifMHDe1c=";
2017-09-13 12:38:45 +00:00
};
propagatedBuildInputs = with python3Packages; [
2017-09-13 12:38:45 +00:00
urwid
psutil
];
2022-03-27 11:22:36 +00:00
passthru = {
updateScript = nix-update-script { };
tests = testers.testVersion { package = s-tui; };
2022-03-27 11:22:36 +00:00
};
meta = with lib; {
homepage = "https://amanusk.github.io/s-tui/";
description = "Stress-Terminal UI monitoring tool";
2024-04-26 11:35:31 +00:00
license = licenses.gpl2Plus;
maintainers = [ ];
2022-03-27 11:22:36 +00:00
broken = stdenv.isDarwin; # https://github.com/amanusk/s-tui/issues/49
2023-11-27 01:17:53 +00:00
mainProgram = "s-tui";
2017-09-13 12:38:45 +00:00
};
}