mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
ps_mem: init at 3.9
This commit is contained in:
parent
100cd2af5a
commit
fd072b98d0
2 changed files with 25 additions and 0 deletions
23
pkgs/tools/system/ps_mem/default.nix
Normal file
23
pkgs/tools/system/ps_mem/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, pythonPackages, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
version = "3.9";
|
||||
pname = "ps_mem";
|
||||
in pythonPackages.buildPythonApplication rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pixelb";
|
||||
repo = "${pname}";
|
||||
rev = "f0891def54f1edb78a70006603d2b025236b830f";
|
||||
sha256 = "1vy0z5nhia61hpqndf7kkjm12mgi0kh33jx5g1glggy45ymcisif";
|
||||
};
|
||||
|
||||
meta = with stdenv.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;
|
||||
};
|
||||
}
|
|
@ -1066,6 +1066,8 @@ with pkgs;
|
|||
|
||||
playerctl = callPackage ../tools/audio/playerctl { };
|
||||
|
||||
ps_mem = callPackage ../tools/system/ps_mem { };
|
||||
|
||||
socklog = callPackage ../tools/system/socklog { };
|
||||
|
||||
staccato = callPackage ../tools/text/staccato { };
|
||||
|
|
Loading…
Reference in a new issue