a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
23 lines
615 B
Nix
23 lines
615 B
Nix
{ lib, stdenv, pythonPackages, fetchFromGitHub }:
|
|
|
|
let
|
|
version = "3.13";
|
|
pname = "ps_mem";
|
|
in pythonPackages.buildPythonApplication {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pixelb";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0pgi9hvwfbkzvwicqlkwx4rwal1ikza018yxbwpnf7c80zw0zaw9";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A utility to accurately report the in core memory usage for a program";
|
|
homepage = "https://github.com/pixelb/ps_mem";
|
|
license = licenses.lgpl21;
|
|
maintainers = [ maintainers.gnidorah ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|