summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/seafile-shared
diff options
context:
space:
mode:
authorfreezeboy <freezeboy@users.noreply.github.com>2020-12-12 12:25:45 +0100
committerfreezeboy <freezeboy@users.noreply.github.com>2021-01-04 16:23:43 +0100
commit16ec307c2177812be2b74ca23361bebb39372fe6 (patch)
tree60255d37045d84e6306a7cc9613ed699340f64dc /pkgs/misc/seafile-shared
parentbc797e287ab67e1bb11839330aab8327cae85cd5 (diff)
seafile-shared,seafile-client: 7.0.9 -> 8.0.1
This allows to migrate the dependencies to python3 and qt5.15
Diffstat (limited to 'pkgs/misc/seafile-shared')
-rw-r--r--pkgs/misc/seafile-shared/default.nix34
1 files changed, 25 insertions, 9 deletions
diff --git a/pkgs/misc/seafile-shared/default.nix b/pkgs/misc/seafile-shared/default.nix
index 385f2f3cc133..0d911cd35c1e 100644
--- a/pkgs/misc/seafile-shared/default.nix
+++ b/pkgs/misc/seafile-shared/default.nix
@@ -1,22 +1,38 @@
-{stdenv, fetchFromGitHub, which, autoreconfHook, pkgconfig, vala, python2, curl, libevent, glib, libsearpc, sqlite, intltool, fuse, libuuid }:
+{ stdenv
+, fetchFromGitHub
+, autoreconfHook
+, ccnet
+, curl
+, fuse
+, glib
+, intltool
+, libevent
+, libsearpc
+, libuuid
+, pkg-config
+, python3
+, sqlite
+, vala
+, which
+}:
stdenv.mkDerivation rec {
pname = "seafile-shared";
- version = "7.0.10";
+ version = "8.0.1";
src = fetchFromGitHub {
owner = "haiwen";
repo = "seafile";
- rev = "v${version}";
- sha256 = "0b3297cbagi9x8dnw2gjifmb8dk6vyhg6vfrfsanm1wyx8pgw2jg";
+ rev = "d34499a2aafa024623a4210fe7f663cef13fe9a6";
+ sha256 = "VKoGr3CTDFg3Q0X+MTlwa4BbfLB+28FeTyTJRCq37RA=";
};
nativeBuildInputs = [
autoreconfHook
vala
- pkgconfig
- python2
- python2.pkgs.wrapPython
+ pkg-config
+ python3
+ python3.pkgs.wrapPython
];
buildInputs = [
@@ -30,10 +46,10 @@ stdenv.mkDerivation rec {
configureFlags = [
"--disable-server"
"--disable-console"
+ "--with-python3"
];
- pythonPath = with python2.pkgs; [
- future
+ pythonPath = with python3.pkgs; [
libsearpc
];