depot/pkgs/by-name/ps/ps_mem/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

26 lines
618 B
Nix

{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "ps_mem";
version = "3.14";
src = fetchFromGitHub {
owner = "pixelb";
repo = pname;
rev = "v${version}";
hash = "sha256-jCfPtPSky/QFk9Xo/tq3W7609Pie1yLC4iS4dqjCa+E=";
};
meta = {
description = "Utility to accurately report the in core memory usage for a program";
homepage = "https://github.com/pixelb/ps_mem";
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.linux;
mainProgram = "ps_mem";
};
}