2018-09-20 19:57:05 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonAtLeast
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-10-24 06:47:39 +00:00
|
|
|
version = "1.2.0";
|
2018-09-20 19:57:05 +00:00
|
|
|
pname = "nest_asyncio";
|
|
|
|
disabled = !(pythonAtLeast "3.5");
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 06:47:39 +00:00
|
|
|
sha256 = "f5b22dd23ee6195cea509c344d9ec34274f45bff078d8f18e9dc322dc74c6008";
|
2018-09-20 19:57:05 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|