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

27 lines
513 B
Nix
Raw Normal View History

2018-06-12 19:21:24 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, six
, isPyPy
}:
buildPythonPackage rec {
pname = "greenlet";
version = "1.0.0";
2018-06-12 19:21:24 +01:00
disabled = isPyPy; # builtin for pypy
src = fetchPypi {
inherit pname version;
sha256 = "1y6wbg9yhm9dw6m768n4yslp56h85pnxkk3drz6icn15g6f1d7ki";
2018-06-12 19:21:24 +01:00
};
propagatedBuildInputs = [ six ];
meta = {
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;
};
}