nixpkgs/pkgs/tools/system/s-tui/default.nix
Silvan Mosberger ea5dfeab93 treewide: Drop infinisil as maintainer from most packages
I'm not going anywhere, I'm focusing my energy on other issues, and
getting pinged as a maintainer for packages is a bit distracting (also
I'm not using most of these packages anyways!)
2024-04-09 21:43:39 +02:00

38 lines
773 B
Nix

{ lib
, stdenv
, python3Packages
, fetchPypi
, nix-update-script
, s-tui
, testers
}:
python3Packages.buildPythonPackage rec {
pname = "s-tui";
version = "1.1.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-nSdpnM8ubodlPwmvdmNFTn9TsS8i7lWBZ2CifMHDe1c=";
};
propagatedBuildInputs = with python3Packages; [
urwid
psutil
];
passthru = {
updateScript = nix-update-script { };
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 = [ ];
broken = stdenv.isDarwin; # https://github.com/amanusk/s-tui/issues/49
mainProgram = "s-tui";
};
}