seafile-shared: fix python3.13 compat
fix "error: future-1.0.0 not supported for interpreter python3.13" Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
98b349f48a
commit
1ee18e30b4
@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-IpRCgPxYy1El4EEvVEfzAlbxP/osQUb7pCP3/BhkecU=";
|
sha256 = "sha256-IpRCgPxYy1El4EEvVEfzAlbxP/osQUb7pCP3/BhkecU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace scripts/breakpad.py --replace-fail "from __future__ import print_function" ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
libwebsockets
|
libwebsockets
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
@ -48,7 +52,6 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
pythonPath = with python3.pkgs; [
|
pythonPath = with python3.pkgs; [
|
||||||
future
|
|
||||||
pysearpc
|
pysearpc
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -56,12 +59,12 @@ stdenv.mkDerivation rec {
|
|||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://github.com/haiwen/seafile";
|
homepage = "https://github.com/haiwen/seafile";
|
||||||
description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons";
|
description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons";
|
||||||
license = licenses.gpl2Plus;
|
license = lib.licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
maintainers = with maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
schmittlauch
|
schmittlauch
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user