e7f069c37c
GitOrigin-RevId: 467ce5a9f45aaf96110b41eb863a56866e1c2c3c
28 lines
756 B
Nix
28 lines
756 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonAtLeast
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.3.3";
|
|
pname = "nest_asyncio";
|
|
disabled = !(pythonAtLeast "3.5");
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "75dad56eaa7078e2e29c6630f114077fc5060069658d74545b0409e63ca8a028";
|
|
};
|
|
|
|
# tests not packaged with source dist as of 1.3.2/1.3.2, and
|
|
# can't check tests out of GitHub easily without specific commit IDs (no tagged releases)
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "nest_asyncio" ];
|
|
|
|
meta = with lib; {
|
|
description = "Patch asyncio to allow nested event loops";
|
|
homepage = "https://github.com/erdewit/nest_asyncio";
|
|
license = licenses.bsdOriginal;
|
|
maintainers = with maintainers; [ costrouc ];
|
|
};
|
|
}
|