2018-06-12 19:21:24 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, isPyPy
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "greenlet";
|
2021-04-05 21:48:46 +01:00
|
|
|
version = "1.0.0";
|
2018-06-12 19:21:24 +01:00
|
|
|
disabled = isPyPy; # builtin for pypy
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-05 21:48:46 +01:00
|
|
|
sha256 = "1y6wbg9yhm9dw6m768n4yslp56h85pnxkk3drz6icn15g6f1d7ki";
|
2018-06-12 19:21:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/greenlet";
|
2018-06-12 19:21:24 +01:00
|
|
|
description = "Module for lightweight in-process concurrent programming";
|
|
|
|
license = lib.licenses.lgpl2;
|
|
|
|
};
|
2020-04-01 02:11:51 +01:00
|
|
|
}
|