2018-10-17 07:31:36 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nose-cprof";
|
2018-11-04 11:35:07 +01:00
|
|
|
version = "0.2.1";
|
2018-10-17 07:31:36 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 11:35:07 +01:00
|
|
|
sha256 = "0178834759b63dc50388444d4ff8d1ae84e1ba110bb167419afee6bf4699b119";
|
2018-10-17 07:31:36 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|