depot/third_party/nixpkgs/pkgs/tools/system/psstop/default.nix

25 lines
639 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib }:
stdenv.mkDerivation rec {
pname = "psstop";
version = "1.3";
src = fetchFromGitHub {
owner = "clearlinux";
repo = "psstop";
rev = "v${version}";
sha256 = "03ir3jjpzm7q8n1qc5jr99hqarr9r529w1zb6f7q4wak2vfj7w9h";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ glib ];
meta = with stdenv.lib; {
homepage = "https://github.com/clearlinux/psstop";
description = "Show processes' memory usage by looking into pss"; # upstream summary
license = licenses.gpl3;
maintainers = with maintainers; [ dtzWill ];
};
}