Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 776 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPyPy 5, objgraph 6, psutil 7, pytestCheckHook 8}: 9 10 11buildPythonPackage rec { 12 pname = "greenlet"; 13 version = "2.0.2"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-58jcE699sJe+1koFHS3Unp8K9JXCaZXACp7oQmkNNMA="; 19 }; 20 21 nativeCheckInputs = [ 22 objgraph 23 psutil 24 pytestCheckHook 25 ]; 26 27 doCheck = false; # installed tests need to be executed, not sure how to accomplish that 28 29 meta = with lib; { 30 homepage = "https://github.com/python-greenlet/greenlet"; 31 description = "Module for lightweight in-process concurrent programming"; 32 license = with licenses; [ 33 psfl # src/greenlet/slp_platformselect.h & files in src/greenlet/platform/ directory 34 mit 35 ]; 36 }; 37}