2018-09-20 20:57:05 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonAtLeast
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-11-04 10:35:07 +00:00
|
|
|
version = "0.9.7";
|
2018-09-20 20:57:05 +01:00
|
|
|
pname = "nest_asyncio";
|
|
|
|
disabled = !(pythonAtLeast "3.5");
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:07 +00:00
|
|
|
sha256 = "309160419228c0291268164e33be2d15514c9364b95fac3c04e14fad2a1c008b";
|
2018-09-20 20:57:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/erdewit/nest_asyncio;
|
|
|
|
description = "Patch asyncio to allow nested event loops";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|