10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
21 hash = "sha256-GD5lRSUjASTwBk5vEK8v3xD8eNyxpwSrO3HHvtwubmk=";
24 propagatedBuildInputs = [
30 substituteInPlace setup.py \
31 --replace "psycopg2-binary" "psycopg2"
34 # Tests requires a PostgreSQL Docker instance
37 pythonImportsCheck = [ "aiopg" ];
40 description = "Python library for accessing a PostgreSQL database";
41 homepage = "https://aiopg.readthedocs.io/";
42 license = with licenses; [ bsd2 ];
43 maintainers = with maintainers; [ fab ];