2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-17 06:31:36 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nose-cprof";
|
2018-11-04 10:35:07 +00:00
|
|
|
version = "0.2.1";
|
2018-10-17 06:31:36 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:07 +00:00
|
|
|
sha256 = "0178834759b63dc50388444d4ff8d1ae84e1ba110bb167419afee6bf4699b119";
|
2018-10-17 06:31:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-17 06:31:36 +01:00
|
|
|
description = "A python nose plugin to profile using cProfile rather than the default Hotshot profiler";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/msherry/nose-cprof";
|
2018-10-17 06:31:36 +01:00
|
|
|
license = licenses.bsd0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|