pythonPackages.aioeventlet: refactor move to python-modules
This commit is contained in:
parent
467455f330
commit
366ca6cd6d
35
pkgs/development/python-modules/aioeventlet/default.nix
Normal file
35
pkgs/development/python-modules/aioeventlet/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, eventlet
|
||||||
|
, trollius
|
||||||
|
, asyncio
|
||||||
|
, mock
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "aioeventlet";
|
||||||
|
version = "0.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "19krvycaiximchhv1hcfhz81249m3w3jrbp2h4apn1yf4yrc4y7y";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ eventlet trollius asyncio ];
|
||||||
|
buildInputs = [ mock ];
|
||||||
|
|
||||||
|
# 2 tests error out
|
||||||
|
doCheck = false;
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} runtests.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "aioeventlet implements the asyncio API (PEP 3156) on top of eventlet. It makes";
|
||||||
|
homepage = http://aioeventlet.readthedocs.org/;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3053,29 +3053,7 @@ in {
|
|||||||
|
|
||||||
fasteners = callPackage ../development/python-modules/fasteners { };
|
fasteners = callPackage ../development/python-modules/fasteners { };
|
||||||
|
|
||||||
aioeventlet = buildPythonPackage rec {
|
aioeventlet = callPackage ../development/python-modules/aioeventlet { };
|
||||||
name = "aioeventlet-${version}";
|
|
||||||
version = "0.4";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/a/aioeventlet/aioeventlet-0.4.tar.gz";
|
|
||||||
sha256 = "19krvycaiximchhv1hcfhz81249m3w3jrbp2h4apn1yf4yrc4y7y";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ eventlet trollius asyncio ];
|
|
||||||
buildInputs = with self; [ mock ];
|
|
||||||
|
|
||||||
# 2 tests error out
|
|
||||||
doCheck = false;
|
|
||||||
checkPhase = ''
|
|
||||||
${python.interpreter} runtests.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "aioeventlet implements the asyncio API (PEP 3156) on top of eventlet. It makes";
|
|
||||||
homepage = http://aioeventlet.readthedocs.org/;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
olefile = callPackage ../development/python-modules/olefile { };
|
olefile = callPackage ../development/python-modules/olefile { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user