aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/memory_profiler
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-25 16:26:16 -0400
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-10-26 16:37:52 +0200
commitad439646277b777f3abdd886570a79cf6dd5281e (patch)
tree9c2f44cfa74f4691bfcab66fe0a89c29341fc8f5 /pkgs/development/python-modules/memory_profiler
parent2f99da4ec87506ffbae4ec0e952db0779466b378 (diff)
pythonPackages.memory_profiler: 0.41 -> 0.54.0
Diffstat (limited to 'pkgs/development/python-modules/memory_profiler')
-rw-r--r--pkgs/development/python-modules/memory_profiler/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/memory_profiler/default.nix b/pkgs/development/python-modules/memory_profiler/default.nix
index 5f40ce0f1aa..7587e5f33c9 100644
--- a/pkgs/development/python-modules/memory_profiler/default.nix
+++ b/pkgs/development/python-modules/memory_profiler/default.nix
@@ -1,19 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
+, psutil
+, python
}:
buildPythonPackage rec {
pname = "memory_profiler";
- version = "0.41";
+ version = "0.54.0";
src = fetchPypi {
inherit pname version;
- sha256 = "dce6e931c281662a500b142595517d095267216472c2926e5ec8edab89898d10";
+ sha256 = "d64342a23f32e105f4929b408a8b89d9222c3ce8afbbb3359817555811448d1a";
};
+ propagatedBuildInputs = [ psutil ];
+
+ checkPhase = ''
+ make test PYTHON=${python.interpreter}
+ '';
+
# Tests don't import profile
- doCheck = false;
+ # doCheck = false;
meta = with stdenv.lib; {
description = "A module for monitoring memory usage of a python program";