fdroidserver: override sqlalchemy to unbreak dataset

This commit is contained in:
Robert Schütz
2026-01-06 14:20:00 -08:00
parent 1c5f9b969d
commit b618ef91d2
+11 -5
View File
@@ -2,13 +2,19 @@
lib,
fetchFromGitLab,
python3Packages,
python3,
fetchPypi,
apksigner,
installShellFiles,
}:
python3Packages.buildPythonApplication rec {
let
pythonPackages = python3Packages.overrideScope (
self: super: {
sqlalchemy = self.sqlalchemy_1_4;
}
);
in
pythonPackages.buildPythonApplication rec {
pname = "fdroidserver";
version = "2.4.3";
@@ -37,7 +43,7 @@ python3Packages.buildPythonApplication rec {
'';
preConfigure = ''
${python3.pythonOnBuildForHost.interpreter} setup.py compile_catalog
${pythonPackages.python.pythonOnBuildForHost.interpreter} setup.py compile_catalog
'';
postInstall = ''
@@ -49,12 +55,12 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = [ installShellFiles ];
build-system = with python3Packages; [
build-system = with pythonPackages; [
setuptools
babel
];
dependencies = with python3Packages; [
dependencies = with pythonPackages; [
androguard
biplist
clint