Merge pull request #310491 from Sigmanificient/ps_mem
ps_mem: adopt, 3.13 -> 3.14, migrate to by-name
This commit is contained in:
commit
60c79fc401
2 changed files with 11 additions and 9 deletions
|
@ -1,22 +1,26 @@
|
||||||
{ lib, python3Packages, fetchFromGitHub }:
|
{
|
||||||
|
lib,
|
||||||
|
python3Packages,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "ps_mem";
|
pname = "ps_mem";
|
||||||
version = "3.13";
|
version = "3.14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pixelb";
|
owner = "pixelb";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0pgi9hvwfbkzvwicqlkwx4rwal1ikza018yxbwpnf7c80zw0zaw9";
|
hash = "sha256-jCfPtPSky/QFk9Xo/tq3W7609Pie1yLC4iS4dqjCa+E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "A utility to accurately report the in core memory usage for a program";
|
description = "A utility to accurately report the in core memory usage for a program";
|
||||||
homepage = "https://github.com/pixelb/ps_mem";
|
homepage = "https://github.com/pixelb/ps_mem";
|
||||||
license = licenses.lgpl21;
|
license = lib.licenses.lgpl21;
|
||||||
maintainers = [ ];
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
mainProgram = "ps_mem";
|
mainProgram = "ps_mem";
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -6123,8 +6123,6 @@ with pkgs;
|
||||||
|
|
||||||
poweralertd = callPackage ../tools/misc/poweralertd { };
|
poweralertd = callPackage ../tools/misc/poweralertd { };
|
||||||
|
|
||||||
ps_mem = callPackage ../tools/system/ps_mem { };
|
|
||||||
|
|
||||||
pscale = callPackage ../development/tools/pscale { };
|
pscale = callPackage ../development/tools/pscale { };
|
||||||
|
|
||||||
pulsarctl = callPackage ../tools/admin/pulsarctl { };
|
pulsarctl = callPackage ../tools/admin/pulsarctl { };
|
||||||
|
|
Loading…
Reference in a new issue