anchor.diff:      cd ${pname}
     '';
   
  -  meta = with lib; {
  -    changelog = "https://github.com/psycopg/psycopg/blob/master/docs/news.rst";
  +  passthru = {
  +    c = psycopg-c;
  +    pool = psycopg-pool;
  +  };
  +
  +  meta = baseMeta // {
       description = "PostgreSQL database adapter for Python";
  -    homepage = "https://github.com/psycopg/psycopg";
  -    license = licenses.lgpl3Plus;
  -    maintainers = with maintainers; [ hexa ];
     };
   }
  
positive.code:     hash = "sha256-jKhpmCcDi7FyMSpn51eSukFvmu3yacNovmRYG9jnu3g=";
    };
  
    outputs = [
      "out"
      "doc"
    ];
  
    sphinxRoot = "../docs";
  
    # Introduce this file necessary for the docs build via environment var
    LIBPQ_DOCS_FILE = fetchurl {
      url = "https://raw.githubusercontent.com/postgres/postgres/REL_14_STABLE/doc/src/sgml/libpq.sgml";
      hash = "sha256-yn09fR9+7zQni8SvTG7BUmYRD7MK7u2arVAznWz2oAw=";
    };
  
    patches = [
      (substituteAll {
        src = ./libpq.patch;
  
negative.code:     pytest-randomly
      pytestCheckHook
      postgresql
    ]
    ++ passthru.optional-dependencies.c
    ++ passthru.optional-dependencies.pool;
  
    disabledTests = [
      # don't depend on mypy for tests
      "test_version"
      "test_package_version"
    ];
  
    disabledTestPaths = [
      # Network access
      "tests/test_dns.py"
      "tests/test_dns_srv.py"
  