depot/third_party/nixpkgs/pkgs/by-name/ps/ps_mem/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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