uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
28
pkgs/development/python-modules/memory_profiler/default.nix
Normal file
28
pkgs/development/python-modules/memory_profiler/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, python
|
||||
}:
|
||||
|
||||
python.pkgs.buildPythonPackage rec {
|
||||
pname = "memory_profiler";
|
||||
version = "0.55.0";
|
||||
|
||||
src = python.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hdgh5f59bya079w4ahx4l0hf4gc5yvaz44irp5x57cj9hkpp92z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
psutil # needed to profile child processes
|
||||
matplotlib # needed for plotting memory usage
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A module for monitoring memory usage of a process";
|
||||
longDescription = ''
|
||||
This is a python module for monitoring memory consumption of a process as
|
||||
well as line-by-line analysis of memory consumption for python programs.
|
||||
'';
|
||||
homepage = "https://pypi.python.org/pypi/memory_profiler";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue