0eaa97ffad
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
23 lines
595 B
Nix
23 lines
595 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "yappi";
|
|
version = "1.2.5";
|
|
disabled = isPy27; # invalid syntax
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ad5fa4caf2859e480ffc4ec3e85615a6f7dea852c8f035f2db723f824ed4ba11";
|
|
};
|
|
|
|
patches = [ ./tests.patch ];
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/sumerc/yappi";
|
|
description = "Python profiler that supports multithreading and measuring CPU time";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ orivej ];
|
|
};
|
|
}
|