Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 848 B view raw
1{ lib, isPy3k, fetchPypi, fetchpatch, buildPythonPackage 2, uvloop, postgresql }: 3 4buildPythonPackage rec { 5 pname = "asyncpg"; 6 version = "0.21.0"; 7 disabled = !isPy3k; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "53cb2a0eb326f61e34ef4da2db01d87ce9c0ebe396f65a295829df334e31863f"; 12 }; 13 14 checkInputs = [ 15 uvloop 16 postgresql 17 ]; 18 19 meta = with lib; { 20 homepage = "https://github.com/MagicStack/asyncpg"; 21 description = "An asyncio PosgtreSQL driver"; 22 longDescription = '' 23 Asyncpg is a database interface library designed specifically for 24 PostgreSQL and Python/asyncio. asyncpg is an efficient, clean 25 implementation of PostgreSQL server binary protocol for use with Pythons 26 asyncio framework. 27 ''; 28 license = licenses.asl20; 29 maintainers = with maintainers; [ eadwu ]; 30 }; 31}