2023-07-15 17:15:38 +00:00
|
|
|
{ python3, fetchPypi }:
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
python3.override {
|
|
|
|
packageOverrides = self: super: {
|
|
|
|
# does not find tests
|
2023-02-22 10:55:15 +00:00
|
|
|
alembic = super.alembic.overridePythonAttrs (oldAttrs: {
|
2022-06-16 17:23:12 +00:00
|
|
|
doCheck = false;
|
|
|
|
});
|
|
|
|
# Fixes `AssertionError: database connection isn't set to UTC`
|
2023-07-15 17:15:38 +00:00
|
|
|
psycopg2 = super.psycopg2.overridePythonAttrs (a: rec {
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "2.8.6";
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2022-06-16 17:23:12 +00:00
|
|
|
inherit version;
|
|
|
|
inherit (a) pname;
|
|
|
|
sha256 = "fb23f6c71107c37fd667cb4ea363ddeb936b348bbd6449278eb92c189699f543";
|
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
});
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|