Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pythonAtLeast 5}: 6 7buildPythonPackage rec { 8 version = "1.0.0"; 9 pname = "nest_asyncio"; 10 disabled = !(pythonAtLeast "3.5"); 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "bd1cb7df2ea979e57d8ad02493ad85f9afbf1fcea3dfe34239da8c0dda98087e"; 15 }; 16 17 meta = with stdenv.lib; { 18 homepage = https://github.com/erdewit/nest_asyncio; 19 description = "Patch asyncio to allow nested event loops"; 20 license = licenses.bsdOriginal; 21 maintainers = [ maintainers.costrouc ]; 22 }; 23}