26 lines
525 B
Nix
26 lines
525 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
, isPyPy
|
|
}:
|
|
|
|
|
|
buildPythonPackage rec {
|
|
pname = "greenlet";
|
|
version = "1.1.0";
|
|
disabled = isPyPy; # builtin for pypy
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c87df8ae3f01ffb4483c796fe1b15232ce2b219f0b18126948616224d3f658ee";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
meta = {
|
|
homepage = "https://pypi.python.org/pypi/greenlet";
|
|
description = "Module for lightweight in-process concurrent programming";
|
|
license = lib.licenses.lgpl2;
|
|
};
|
|
}
|