depot/third_party/nixpkgs/pkgs/by-name/ps/ps_mem/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

26 lines
620 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 = "A 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";
};
}