about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/system/psstop/default.nix
blob: 1adb6c4e5ed5d129671004d39a86a1aa306e845b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib }:

stdenv.mkDerivation rec {
  pname = "psstop";
  version = "1.3";

  src = fetchFromGitHub {
    owner = "clearlinux";
    repo = "psstop";
    rev = "v${version}";
    sha256 = "03ir3jjpzm7q8n1qc5jr99hqarr9r529w1zb6f7q4wak2vfj7w9h";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];

  buildInputs = [ glib ];

  meta = with 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 ];
    mainProgram = "psstop";
  };
}