2022-01-19 23:45:15 +00:00
|
|
|
{ lib, python2Packages, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "3.13";
|
|
|
|
pname = "ps_mem";
|
2022-01-19 23:45:15 +00:00
|
|
|
in python2Packages.buildPythonApplication {
|
2020-04-24 23:36:52 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pixelb";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0pgi9hvwfbkzvwicqlkwx4rwal1ikza018yxbwpnf7c80zw0zaw9";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A utility to accurately report the in core memory usage for a program";
|
|
|
|
homepage = "https://github.com/pixelb/ps_mem";
|
|
|
|
license = licenses.lgpl21;
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|