about summary refs log tree commit diff
path: root/pkgs/development/python-modules/nose-cprof
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-17 01:31:36 -0400
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-10-18 11:02:23 +0200
commit76eea7cf645da588847e64db7cb99852ab1db731 (patch)
tree086a33ee384464d50d4584a61e90f232bb2dcab6 /pkgs/development/python-modules/nose-cprof
parent648a03cc7c06e55ea2053d3230aa43e653f311e8 (diff)
pythonPackages.nose-cprof: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/nose-cprof')
-rw-r--r--pkgs/development/python-modules/nose-cprof/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/nose-cprof/default.nix b/pkgs/development/python-modules/nose-cprof/default.nix
new file mode 100644
index 0000000000000..efafd6333dbb4
--- /dev/null
+++ b/pkgs/development/python-modules/nose-cprof/default.nix
@@ -0,0 +1,25 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, nose
+}:
+
+
+buildPythonPackage rec {
+  pname = "nose-cprof";
+  version = "0.1.4";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0ayy5mbjly9aa9dkgpz0l06flspnxmnj6wxdl6zr59byrrr8fqhw";
+  };
+
+  buildInputs = [ nose ];
+
+  meta = with stdenv.lib; {
+    description = "A python nose plugin to profile using cProfile rather than the default Hotshot profiler";
+    homepage = https://github.com/msherry/nose-cprof;
+    license = licenses.bsd0;
+  };
+
+}