2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib }:
|
2018-04-30 18:12:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "psstop";
|
2018-04-30 18:12:01 +00:00
|
|
|
version = "1.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "clearlinux";
|
|
|
|
repo = "psstop";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "03ir3jjpzm7q8n1qc5jr99hqarr9r529w1zb6f7q4wak2vfj7w9h";
|
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2018-04-30 18:12:01 +00:00
|
|
|
|
|
|
|
buildInputs = [ glib ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/clearlinux/psstop";
|
2018-04-30 18:12:01 +00:00
|
|
|
description = "Show processes' memory usage by looking into pss"; # upstream summary
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "psstop";
|
2018-04-30 18:12:01 +00:00
|
|
|
};
|
|
|
|
}
|