fdroidserver: override sqlalchemy to unbreak dataset
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user