Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / nest-asyncio / default.nix
blob56c6044ba746ad5e0a1c257065adfaa5141199ca
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonAtLeast
5 }:
7 buildPythonPackage rec {
8   version = "1.4.3";
9   pname = "nest_asyncio";
10   disabled = !(pythonAtLeast "3.5");
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "eaa09ef1353ebefae19162ad423eef7a12166bcc63866f8bff8f3635353cd9fa";
15   };
17   # tests not packaged with source dist as of 1.3.2/1.3.2, and
18   # can't check tests out of GitHub easily without specific commit IDs (no tagged releases)
19   doCheck = false;
20   pythonImportsCheck = [ "nest_asyncio" ];
22   meta = with lib; {
23     description = "Patch asyncio to allow nested event loops";
24     homepage = "https://github.com/erdewit/nest_asyncio";
25     license = licenses.bsdOriginal;
26     maintainers = with maintainers; [ costrouc ];
27   };