nixpkgs/pkgs/development/python-modules/greenlet/default.nix

31 lines
635 B
Nix
Raw Normal View History

2018-06-12 20:21:24 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, six
, isPyPy
}:
buildPythonPackage rec {
pname = "greenlet";
2018-10-06 12:56:17 +02:00
version = "0.4.15";
2018-06-12 20:21:24 +02:00
disabled = isPyPy; # builtin for pypy
src = fetchPypi {
inherit pname version;
2018-10-06 12:56:17 +02:00
sha256 = "9416443e219356e3c31f1f918a91badf2e37acf297e2fa13d24d1cc2380f8fbc";
2018-06-12 20:21:24 +02:00
};
propagatedBuildInputs = [ six ];
# see https://github.com/python-greenlet/greenlet/issues/85
preCheck = ''
rm tests/test_leaks.py
'';
meta = {
homepage = https://pypi.python.org/pypi/greenlet;
description = "Module for lightweight in-process concurrent programming";
license = lib.licenses.lgpl2;
};
}