mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
24 lines
620 B
Nix
24 lines
620 B
Nix
{ stdenv, pythonPackages, fetchFromGitHub }:
|
|
|
|
let
|
|
version = "3.12";
|
|
pname = "ps_mem";
|
|
in pythonPackages.buildPythonApplication {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pixelb";
|
|
repo = "${pname}";
|
|
rev = "v${version}";
|
|
sha256 = "0kcxlmfisbwf24p2k72njfyfp22fjr9p9zalg9b4w0yhnlzk24ph";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|