From b9d933ba24f9ced5e163f72060cbc79cecfbc711 Mon Sep 17 00:00:00 2001 From: kikic Date: Mon, 10 Jun 2013 13:52:45 +0200 Subject: [PATCH] Added nose-cprof for profiling --- pkgs/top-level/python-packages.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0ca03b1082c0..188116eb52b7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3040,6 +3040,22 @@ pythonPackages = python.modules // rec { buildInputs = [ nose ]; }; + nose-cprof = buildPythonPackage rec { + name = "nose-cprof-0.1-0"; + + src = fetchurl { + url = "https://pypi.python.org/packages/source/n/nose-cprof/${name}.tar.gz"; + md5 = "5db27c3b8f01915335ae6fc5fd3afd44"; + }; + + meta = { + description = "A python nose plugin to profile using cProfile rather than the default Hotshot profiler."; + }; + + buildInputs = [ nose ]; + }; + + notify = pkgs.stdenv.mkDerivation (rec { name = "python-notify-0.1.1";