1{ python3, fetchPypi }:
2
3python3.override {
4 packageOverrides = self: super: {
5 # does not find tests
6 alembic = super.alembic.overridePythonAttrs (oldAttrs: {
7 doCheck = false;
8 });
9 # Fixes `AssertionError: database connection isn't set to UTC`
10 psycopg2 = super.psycopg2.overridePythonAttrs (a: rec {
11 version = "2.8.6";
12 src = fetchPypi {
13 inherit version;
14 inherit (a) pname;
15 sha256 = "fb23f6c71107c37fd667cb4ea363ddeb936b348bbd6449278eb92c189699f543";
16 };
17 });
18 };
19}