pythonPackages.eventlet: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 14:37:33 -04:00 committed by Frederik Rietdijk
parent ecf71f3c10
commit 16dc45288e
2 changed files with 34 additions and 22 deletions

View file

@ -0,0 +1,33 @@
{ 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";
};
}

View file

@ -2356,28 +2356,7 @@ in {
et_xmlfile = callPackage ../development/python-modules/et_xmlfile { };
eventlet = buildPythonPackage rec {
pname = "eventlet";
version = "0.20.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "15bq5ybbigxnp5xwkps53zyhlg15lmcnq3ny2dppj0r0bylcs5rf";
};
buildInputs = with self; [ nose httplib2 pyopenssl ];
doCheck = false; # too much transient errors to bother
propagatedBuildInputs = optionals (!isPyPy) [ self.greenlet ] ++
(with self; [ enum-compat ]) ;
meta = {
homepage = https://pypi.python.org/pypi/eventlet/;
description = "A concurrent networking library for Python";
};
};
eventlet = callPackage ../development/python-modules/eventlet { };
exifread = buildPythonPackage rec {
name = "ExifRead-2.1.2";