about summary refs log tree commit diff
path: root/pkgs/tools/system/ps_mem/default.nix
blob: bbac78f4864b14fd8a1b5b307edc9f21654f0278 (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
{ stdenv, pythonPackages, fetchFromGitHub }:

let
  version = "3.9";
  pname = "ps_mem";
in pythonPackages.buildPythonApplication rec {
  name = "${pname}-${version}";

  src = fetchFromGitHub {
    owner = "pixelb";
    repo = "${pname}";
    rev = "f0891def54f1edb78a70006603d2b025236b830f";
    sha256 = "1vy0z5nhia61hpqndf7kkjm12mgi0kh33jx5g1glggy45ymcisif";
  };

  meta = with stdenv.lib; {
    description = "A utility to accurately report the in core memory usage for a program";
    homepage = https://github.com/pixelb/ps_mem;
    license = licenses.lgpl21;
    maintainers = [ maintainers.gnidorah ];
    platforms = platforms.linux;
  };
}