nixpkgs/pkgs/by-name/ps/ps_mem/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
620 B
Nix
Raw Normal View History

2024-05-10 04:45:43 +02:00
{
lib,
python3Packages,
fetchFromGitHub,
}:
2017-06-18 17:15:42 +02:00
2022-04-26 16:56:21 +02:00
python3Packages.buildPythonApplication rec {
2017-06-18 17:15:42 +02:00
pname = "ps_mem";
2024-05-10 04:42:34 +02:00
version = "3.14";
2017-06-18 17:15:42 +02:00
src = fetchFromGitHub {
owner = "pixelb";
2019-09-09 01:38:31 +02:00
repo = pname;
2019-01-11 19:32:41 +01:00
rev = "v${version}";
2024-05-10 04:42:34 +02:00
hash = "sha256-jCfPtPSky/QFk9Xo/tq3W7609Pie1yLC4iS4dqjCa+E=";
2017-06-18 17:15:42 +02:00
};
2024-05-10 04:45:43 +02:00
meta = {
2017-06-18 17:15:42 +02:00
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;
2023-11-27 02:17:53 +01:00
mainProgram = "ps_mem";
2017-06-18 17:15:42 +02:00
};
}