about summary refs log tree commit diff
path: root/pkgs/development/python-modules/yappi/default.nix
blob: 5bb1abd98cef52612afdf72d5e24daacc6565f0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildPythonPackage, fetchPypi, nose }:

buildPythonPackage rec {
  pname = "yappi";
  version = "1.2.5";

  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 ];
  };
}