···3, recurseIntoAttrs
4, nixosTests
5, config
06}:
78# To expose the *srht modules, they have to be a python module so we use `buildPythonModule`
···24 todosrht = self.callPackage ./todo.nix { };
2526 scmsrht = self.callPackage ./scm.nix { };
00000000000027 };
28 };
29in
···3, recurseIntoAttrs
4, nixosTests
5, config
6+, fetchPypi
7}:
89# To expose the *srht modules, they have to be a python module so we use `buildPythonModule`
···25 todosrht = self.callPackage ./todo.nix { };
2627 scmsrht = self.callPackage ./scm.nix { };
28+29+ # sourcehut is not (yet) compatible with SQLAlchemy 2.x
30+ sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec {
31+ version = "1.4.46";
32+ src = fetchPypi {
33+ pname = "SQLAlchemy";
34+ inherit version;
35+ hash = "sha256-aRO4JH2KKS74MVFipRkx4rQM6RaB8bbxj2lwRSAMSjA=";
36+ };
37+ nativeCheckInputs = with super; [ pytestCheckHook mock ];
38+ disabledTestPaths = [];
39+ });
40 };
41 };
42in