From c8379fb7c0e943b780db949e081b9640f8b327cc Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Fri, 20 Sep 2013 18:00:03 +0200 Subject: [PATCH] pythonPackages: add memory_profiler, a module for monitoring memory usage of a python program --- pkgs/top-level/python-packages.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cb1f19eeb53..224b551d86e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3215,6 +3215,25 @@ pythonPackages = modules // import ./python-packages-generated.nix { }; }; + + memory_profiler = buildPythonPackage rec { + name = "memory_profiler-0.27"; + + src = fetchurl { + url = "https://pypi.python.org/packages/source/m/memory_profiler/memory_profiler-0.27.tar.gz"; + md5 = "212c0d7452dbaffb6b09474ac07b0668"; + }; + + # error: invalid command 'test' + doCheck = false; + + meta = { + description = "A module for monitoring memory usage of a python program"; + homepage = http://pypi.python.org/pypi/memory_profiler; + }; + }; + + mitmproxy = buildPythonPackage rec { baseName = "mitmproxy"; name = "${baseName}-${meta.version}";