2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPyPy
|
2023-01-20 10:41:00 +00:00
|
|
|
, objgraph
|
|
|
|
, psutil
|
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "greenlet";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "2.0.2";
|
2023-01-20 10:41:00 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-58jcE699sJe+1koFHS3Unp8K9JXCaZXACp7oQmkNNMA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-01-20 10:41:00 +00:00
|
|
|
objgraph
|
|
|
|
psutil
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2022-09-09 14:08:57 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
doCheck = false; # installed tests need to be executed, not sure how to accomplish that
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/python-greenlet/greenlet";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Module for lightweight in-process concurrent programming";
|
2021-07-21 07:28:18 +00:00
|
|
|
license = with licenses; [
|
2022-09-09 14:08:57 +00:00
|
|
|
psfl # src/greenlet/slp_platformselect.h & files in src/greenlet/platform/ directory
|
2021-07-21 07:28:18 +00:00
|
|
|
mit
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|