anchor.diff:    ];
   
     propagatedBuildInputs = [
  +    aiomysql
  +    aiosqlite
  +    asyncpg
  +    cryptography
       databases
  +    orjson
  +    psycopg2
       pydantic
       sqlalchemy
  -    asyncpg
  -    psycopg2
  -    aiomysql
  -    aiosqlite
  -    cryptography
  -
  -    orjson
     ] ++ lib.optionals (pythonOlder "3.8") [
       typing-extensions
       importlib-metadata
  
positive.code: { lib
  , buildPythonPackage
  , pythonOlder
  , fetchFromGitHub
  , poetry-core
  , databases
  , pydantic
  , sqlalchemy
  , asyncpg
  , psycopg2
  , aiomysql
  , aiosqlite
  , cryptography
  , orjson
  , typing-extensions
  , importlib-metadata
  , aiopg
  , mysqlclient
  , pymysql
  , pytestCheckHook
  , pytest-asyncio
  , fastapi
  }:
  
  buildPythonPackage rec {
    pname = "ormar";
    version = "0.10.23";
    format = "pyproject";
    disabled = pythonOlder "3.7";
    src = fetchFromGitHub {
      owner = "collerek";
      repo = pname;
      rev = version;
      sha256 = "sha256-ILJvJyd56lqlKq7+mUz26LvusYb5AOOfoA7OgNq2fT0=";
    };
  
    nativeBuildInputs = [
  
negative.code: 
    checkInputs = [
      aiomysql
      aiopg
      aiosqlite
      asyncpg
      fastapi
      mysqlclient
      psycopg2
      pymysql
      pytest-asyncio
      pytestCheckHook
    ];
  
    postPatch = ''
      substituteInPlace pyproject.toml \
        --replace 'SQLAlchemy = ">=1.3.18,<=1.4.29"' 'SQLAlchemy = ">=1.3.18"' \
        --replace 'databases = ">=0.3.2,!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,<0.5.5"' 'databases = ">=0.5.5"'
    '';
  
    disabledTests = [
      # TypeError: Object of type bytes is not JSON serializable
      "test_bulk_operations_with_json"
    ];
  
    pythonImportsCheck = [
      "ormar"
    ];
  
    meta = with lib; {
      homepage = "https://github.com/collerek/ormar";
      description = "Async ORM with fastapi in mind and pydantic validation";
      license = licenses.mit;
      maintainers = with maintainers; [ andreasfelix ];
    };
  