pythonPackages.eventlet: refactor move to python-modules
This commit is contained in:
parent
ecf71f3c10
commit
16dc45288e
33
pkgs/development/python-modules/eventlet/default.nix
Normal file
33
pkgs/development/python-modules/eventlet/default.nix
Normal 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";
|
||||
};
|
||||
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue