mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
618 B
Nix
27 lines
618 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "ps_mem";
|
|
version = "3.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pixelb";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-jCfPtPSky/QFk9Xo/tq3W7609Pie1yLC4iS4dqjCa+E=";
|
|
};
|
|
|
|
meta = {
|
|
description = "Utility to accurately report the in core memory usage for a program";
|
|
homepage = "https://github.com/pixelb/ps_mem";
|
|
license = lib.licenses.lgpl21;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "ps_mem";
|
|
};
|
|
}
|