Compare commits
2 Commits
d81273b3f0
...
2ee9b3f516
| Author | SHA1 | Date | |
|---|---|---|---|
|
2ee9b3f516
|
|||
|
ef992d675d
|
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-IpRCgPxYy1El4EEvVEfzAlbxP/osQUb7pCP3/BhkecU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace scripts/breakpad.py --replace-fail "from __future__ import print_function" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
libwebsockets
|
||||
autoreconfHook
|
||||
@@ -48,7 +52,6 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
pythonPath = with python3.pkgs; [
|
||||
future
|
||||
pysearpc
|
||||
];
|
||||
|
||||
@@ -56,12 +59,12 @@ stdenv.mkDerivation rec {
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/haiwen/seafile";
|
||||
description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [
|
||||
greizgh
|
||||
schmittlauch
|
||||
];
|
||||
|
||||
@@ -26,7 +26,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
django
|
||||
future
|
||||
django-compressor
|
||||
django-statici18n
|
||||
django-webpack-loader
|
||||
@@ -57,6 +56,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
postPatch = ''
|
||||
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 = ''
|
||||
@@ -74,15 +75,15 @@ python3.pkgs.buildPythonApplication rec {
|
||||
inherit seafile-server;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Web end of seafile server";
|
||||
homepage = "https://github.com/haiwen/seahub";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
greizgh
|
||||
schmittlauch
|
||||
melvyn2
|
||||
];
|
||||
platforms = platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user