about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/system/ps_mem/default.nix
blob: 45a33a1adb7bbba835ef46367d3a2c34e558f42a (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.13";
  pname = "ps_mem";
in pythonPackages.buildPythonApplication {
  name = "${pname}-${version}";

  src = fetchFromGitHub {
    owner = "pixelb";
    repo = pname;
    rev = "v${version}";
    sha256 = "0pgi9hvwfbkzvwicqlkwx4rwal1ikza018yxbwpnf7c80zw0zaw9";
  };

  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;
  };
}