1{ lib, buildPythonPackage, fetchPypi, isPy27, nose }:
2
3buildPythonPackage rec {
4 pname = "yappi";
5 version = "1.2.5";
6 disabled = isPy27; # invalid syntax
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "ad5fa4caf2859e480ffc4ec3e85615a6f7dea852c8f035f2db723f824ed4ba11";
11 };
12
13 patches = [ ./tests.patch ];
14
15 checkInputs = [ nose ];
16
17 meta = with lib; {
18 broken = true;
19 homepage = "https://github.com/sumerc/yappi";
20 description = "Python profiler that supports multithreading and measuring CPU time";
21 license = licenses.mit;
22 maintainers = with maintainers; [ orivej ];
23 };
24}