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.

36 lines
796 B
Nix
Raw Normal View History

2022-03-27 12:22:36 +01:00
{ lib
, stdenv
, python3Packages
, nix-update-script
, s-tui
, testers
2022-03-27 12:22:36 +01:00
}:
2017-09-13 13:38:45 +01:00
python3Packages.buildPythonPackage rec {
2017-09-13 13:38:45 +01:00
pname = "s-tui";
2022-07-30 18:09:56 +01:00
version = "1.1.4";
2017-09-13 13:38:45 +01:00
src = python3Packages.fetchPypi {
2017-09-13 13:38:45 +01:00
inherit pname version;
2022-07-30 18:09:56 +01:00
sha256 = "sha256-soVrmzlVy0zrqvOclR7SfPphp4xAEHv+xdr0NN19ye0=";
2017-09-13 13:38:45 +01:00
};
propagatedBuildInputs = with python3Packages; [
2017-09-13 13:38:45 +01:00
urwid
psutil
];
2022-03-27 12:22:36 +01:00
passthru = {
updateScript = nix-update-script { attrPath = pname; };
tests = testers.testVersion { package = s-tui; };
2022-03-27 12:22:36 +01:00
};
meta = with lib; {
homepage = "https://amanusk.github.io/s-tui/";
description = "Stress-Terminal UI monitoring tool";
2017-09-13 13:38:45 +01:00
license = licenses.gpl2;
maintainers = with maintainers; [ infinisil ];
2022-03-27 12:22:36 +01:00
broken = stdenv.isDarwin; # https://github.com/amanusk/s-tui/issues/49
2017-09-13 13:38:45 +01:00
};
}