seahub: fix python 3.13 compat
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
@@ -26,7 +26,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
django
|
django
|
||||||
future
|
|
||||||
django-compressor
|
django-compressor
|
||||||
django-statici18n
|
django-statici18n
|
||||||
django-webpack-loader
|
django-webpack-loader
|
||||||
@@ -57,6 +56,8 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace seahub/settings.py --replace-fail "SEAFILE_VERSION = '6.3.3'" "SEAFILE_VERSION = '${version}'"
|
substituteInPlace seahub/settings.py --replace-fail "SEAFILE_VERSION = '6.3.3'" "SEAFILE_VERSION = '${version}'"
|
||||||
|
substituteInPlace thirdpart/constance/management/commands/constance.py --replace-fail \
|
||||||
|
"from __future__ import unicode_literals" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@@ -74,14 +75,14 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
inherit seafile-server;
|
inherit seafile-server;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Web end of seafile server";
|
description = "Web end of seafile server";
|
||||||
homepage = "https://github.com/haiwen/seahub";
|
homepage = "https://github.com/haiwen/seahub";
|
||||||
license = licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
maintainers = with maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
schmittlauch
|
schmittlauch
|
||||||
melvyn2
|
melvyn2
|
||||||
];
|
];
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user