pythonPackages.memory_profiler: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 17:50:34 -04:00
committed by Frederik Rietdijk
parent 0edde48336
commit 815fdff2ff
2 changed files with 25 additions and 18 deletions

View File

@@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "memory_profiler";
version = "0.41";
src = fetchPypi {
inherit pname version;
sha256 = "dce6e931c281662a500b142595517d095267216472c2926e5ec8edab89898d10";
};
# Tests don't import profile
doCheck = false;
meta = with stdenv.lib; {
description = "A module for monitoring memory usage of a python program";
homepage = https://pypi.python.org/pypi/memory_profiler;
license = licenses.bsd3;
};
}