lol
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib }:
2
3stdenv.mkDerivation rec {
4 pname = "psstop";
5 version = "1.3";
6
7 src = fetchFromGitHub {
8 owner = "clearlinux";
9 repo = "psstop";
10 rev = "v${version}";
11 sha256 = "03ir3jjpzm7q8n1qc5jr99hqarr9r529w1zb6f7q4wak2vfj7w9h";
12 };
13
14 nativeBuildInputs = [ autoreconfHook pkg-config ];
15
16 buildInputs = [ glib ];
17
18 meta = with lib; {
19 homepage = "https://github.com/clearlinux/psstop";
20 description = "Show processes' memory usage by looking into pss"; # upstream summary
21 license = licenses.gpl3;
22 maintainers = with maintainers; [ dtzWill ];
23 };
24}