1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/eventlet/default.nix

34 lines
657 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, httplib2
, pyopenssl
, greenlet
, enum-compat
, isPyPy
}:
buildPythonPackage rec {
pname = "eventlet";
version = "0.20.0";
src = fetchPypi {
inherit pname version;
sha256 = "15bq5ybbigxnp5xwkps53zyhlg15lmcnq3ny2dppj0r0bylcs5rf";
};
buildInputs = [ nose httplib2 pyopenssl ];
doCheck = false; # too much transient errors to bother
propagatedBuildInputs = [ enum-compat ]
++ stdenv.lib.optionals (!isPyPy) [ greenlet ];
meta = with stdenv.lib; {
homepage = https://pypi.python.org/pypi/eventlet/;
description = "A concurrent networking library for Python";
};
}