Merge pull request #310491 from Sigmanificient/ps_mem

ps_mem: adopt, 3.13 -> 3.14, migrate to by-name
This commit is contained in:
kirillrdy 2024-05-10 14:37:26 +10:00 committed by GitHub
commit 60c79fc401
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 9 deletions

View file

@ -1,22 +1,26 @@
{ lib, python3Packages, fetchFromGitHub }:
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "ps_mem";
version = "3.13";
version = "3.14";
src = fetchFromGitHub {
owner = "pixelb";
repo = pname;
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";
homepage = "https://github.com/pixelb/ps_mem";
license = licenses.lgpl21;
maintainers = [ ];
platforms = platforms.linux;
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.linux;
mainProgram = "ps_mem";
};
}

View file

@ -6123,8 +6123,6 @@ with pkgs;
poweralertd = callPackage ../tools/misc/poweralertd { };
ps_mem = callPackage ../tools/system/ps_mem { };
pscale = callPackage ../development/tools/pscale { };
pulsarctl = callPackage ../tools/admin/pulsarctl { };