2019-07-14 01:08:18 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yappi";
|
2019-12-19 19:31:26 +00:00
|
|
|
version = "1.2.3";
|
2019-07-14 01:08:18 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:26 +00:00
|
|
|
sha256 = "b8db9bc607610d6da4e27e87ec828ebddec4bdaac89ca07ebfe9a153b0641580";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|