diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2021-11-09 22:34:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 22:34:01 +0100 |
commit | 189c54a4ff78d033e8e3d2a438b0d424297c3a8e (patch) | |
tree | 701e9513a44b148947f20686531e0e5fa39105c2 /pkgs/development/python-modules | |
parent | ec0ad1622c597af00fc7bc9945b46f889f450711 (diff) | |
parent | 81c1f709bdc00bd92e87cba614ffdde4a26319b8 (diff) |
Merge pull request #145219 from fabaff/bump-yappi
python3Packages.yappi: 1.3.0 -> 1.3.2
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/yappi/default.nix | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/yappi/default.nix b/pkgs/development/python-modules/yappi/default.nix index b96d4efd44b81..af650f6db3b8b 100644 --- a/pkgs/development/python-modules/yappi/default.nix +++ b/pkgs/development/python-modules/yappi/default.nix @@ -1,23 +1,38 @@ -{ lib, buildPythonPackage, fetchFromGitHub, gevent, isPy27, python }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, gevent +, isPy27 +, python +}: buildPythonPackage rec { pname = "yappi"; - version = "1.3.0"; + version = "1.3.2"; + disabled = isPy27; # invalid syntax src = fetchFromGitHub { owner = "sumerc"; repo = pname; - rev = "30f94024a0e2e4fa21c220de6a0dc97b4cb2c319"; - sha256 = "1kvwl3y3c2hivf9y2x1q1s8a2y724iwqd1krq6ryvsbg3inyh8qw"; + rev = "8bf7a650066f104f59c3cae4a189ec15e7d51c8c"; + sha256 = "1q8lr9n0lny2g3mssy3mksbl9m4k1kqn1a4yv1hfqsahxdvpw2dp"; }; patches = [ ./tests.patch ]; - checkInputs = [ gevent ]; + + checkInputs = [ + gevent + ]; + checkPhase = '' ${python.interpreter} run_tests.py ''; + pythonImportsCheck = [ + "yappi" + ]; + meta = with lib; { homepage = "https://github.com/sumerc/yappi"; description = "Python profiler that supports multithreading and measuring CPU time"; |