2022-04-26 14:56:21 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub }:
|
2017-06-18 15:15:42 +00:00
|
|
|
|
2022-04-26 14:56:21 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2017-06-18 15:15:42 +00:00
|
|
|
pname = "ps_mem";
|
2022-04-26 14:56:21 +00:00
|
|
|
version = "3.13";
|
2017-06-18 15:15:42 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pixelb";
|
2019-09-08 23:38:31 +00:00
|
|
|
repo = pname;
|
2019-01-11 18:32:41 +00:00
|
|
|
rev = "v${version}";
|
2019-11-02 19:42:19 +00:00
|
|
|
sha256 = "0pgi9hvwfbkzvwicqlkwx4rwal1ikza018yxbwpnf7c80zw0zaw9";
|
2017-06-18 15:15:42 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-06-18 15:15:42 +00:00
|
|
|
description = "A utility to accurately report the in core memory usage for a program";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/pixelb/ps_mem";
|
2017-06-18 15:15:42 +00:00
|
|
|
license = licenses.lgpl21;
|
2021-04-29 05:21:13 +00:00
|
|
|
maintainers = [ ];
|
2017-06-18 15:15:42 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|