My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/nest-asyncio/default.nix

28 lines
756 B

{ lib
, buildPythonPackage
, fetchPypi
, pythonAtLeast
}:
buildPythonPackage rec {
version = "1.5.4";
pname = "nest_asyncio";
disabled = !(pythonAtLeast "3.5");
src = fetchPypi {
inherit pname version;
sha256 = "f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd";
};
# 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 ];
};
}