1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 20:12:52 +00:00
nixpkgs/pkgs/development/python-modules/greenlet/default.nix

31 lines
635 B
Nix
Raw Normal View History

2018-06-12 19:21:24 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, six
, isPyPy
}:
buildPythonPackage rec {
pname = "greenlet";
2018-07-22 11:10:06 +01:00
version = "0.4.14";
2018-06-12 19:21:24 +01:00
disabled = isPyPy; # builtin for pypy
src = fetchPypi {
inherit pname version;
2018-07-22 11:10:06 +01:00
sha256 = "f1cc268a15ade58d9a0c04569fe6613e19b8b0345b64453064e2c3c6d79051af";
2018-06-12 19:21:24 +01: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;
};
}