about summary refs log tree commit diff
path: root/pkgs/tools/system/ps_mem/default.nix
blob: 96c21e461d4a64e8758ba249b84086ff80da861c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, python3Packages, fetchFromGitHub }:

python3Packages.buildPythonApplication rec {
  pname = "ps_mem";
  version = "3.13";

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

  meta = with 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 = [ ];
    platforms = platforms.linux;
    mainProgram = "ps_mem";
  };
}