depot/third_party/nixpkgs/pkgs/tools/system/s-tui/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

35 lines
796 B
Nix

{ lib
, stdenv
, python3Packages
, nix-update-script
, s-tui
, testers
}:
python3Packages.buildPythonPackage rec {
pname = "s-tui";
version = "1.1.4";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-soVrmzlVy0zrqvOclR7SfPphp4xAEHv+xdr0NN19ye0=";
};
propagatedBuildInputs = with python3Packages; [
urwid
psutil
];
passthru = {
updateScript = nix-update-script { attrPath = pname; };
tests = testers.testVersion { package = s-tui; };
};
meta = with lib; {
homepage = "https://amanusk.github.io/s-tui/";
description = "Stress-Terminal UI monitoring tool";
license = licenses.gpl2;
maintainers = with maintainers; [ infinisil ];
broken = stdenv.isDarwin; # https://github.com/amanusk/s-tui/issues/49
};
}