2020-08-15 23:54:31 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, nose }:
|
2019-07-14 01:08:18 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yappi";
|
2020-05-09 11:02:04 +01:00
|
|
|
version = "1.2.5";
|
2020-08-15 23:54:31 +01:00
|
|
|
disabled = isPy27; # invalid syntax
|
2019-07-14 01:08:18 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:02:04 +01:00
|
|
|
sha256 = "ad5fa4caf2859e480ffc4ec3e85615a6f7dea852c8f035f2db723f824ed4ba11";
|
2019-07-14 01:08:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./tests.patch ];
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/sumerc/yappi";
|
2019-07-14 01:08:18 +01:00
|
|
|
description = "Python profiler that supports multithreading and measuring CPU time";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
};
|
|
|
|
}
|