python.pkgs.greenlet: move expression
This commit is contained in:
31
pkgs/development/python-modules/greenlet/default.nix
Normal file
31
pkgs/development/python-modules/greenlet/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "greenlet";
|
||||
version = "0.4.10";
|
||||
disabled = isPyPy; # builtin for pypy
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c4417624aa88380cdf0fe110a8a6e0dbcc26f80887197fe5df0427dfa348ae62";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user