Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 31 lines 834 B view raw
1{ lib, isPy3k, fetchPypi, fetchpatch, buildPythonPackage 2, uvloop, postgresql }: 3 4buildPythonPackage rec { 5 pname = "asyncpg"; 6 version = "0.20.1"; 7 disabled = !isPy3k; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "1c4mcjrdbvvq5crrfc3b9m221qb6pxp55yynijihgfnvvndz2jrr"; 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}