summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2020-01-15 23:45:40 +0100
committerGitHub <noreply@github.com>2020-01-15 23:45:40 +0100
commit67373ae389842d543c66b38a51f45252850b9f28 (patch)
treebad63fe85902ff4656caf7df83fab2430ce5ad64 /pkgs/misc
parentacadaa800b566f6237d12428044662e9ec942097 (diff)
parent94e35fba8e1c888f03754f458006c5233a584414 (diff)
downloadnixpkgs-67373ae389842d543c66b38a51f45252850b9f28.tar
nixpkgs-67373ae389842d543c66b38a51f45252850b9f28.tar.gz
nixpkgs-67373ae389842d543c66b38a51f45252850b9f28.tar.bz2
nixpkgs-67373ae389842d543c66b38a51f45252850b9f28.tar.lz
nixpkgs-67373ae389842d543c66b38a51f45252850b9f28.tar.xz
nixpkgs-67373ae389842d543c66b38a51f45252850b9f28.tar.zst
nixpkgs-67373ae389842d543c66b38a51f45252850b9f28.zip
seafile-shared: 7.0.2 -> 7.0.5, seafile-client: 6.2.11 -> 7.0.5 (#72656)
seafile-shared: 7.0.2 -> 7.0.5, seafile-client: 6.2.11 -> 7.0.5
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/seafile-shared/default.nix35
1 files changed, 28 insertions, 7 deletions
diff --git a/pkgs/misc/seafile-shared/default.nix b/pkgs/misc/seafile-shared/default.nix
index 1dcf16585f0..6236b3a71ba 100644
--- a/pkgs/misc/seafile-shared/default.nix
+++ b/pkgs/misc/seafile-shared/default.nix
@@ -1,27 +1,48 @@
-{stdenv, fetchFromGitHub, which, autoreconfHook, pkgconfig, curl, vala, python, intltool, fuse, ccnet}:
+{stdenv, fetchFromGitHub, which, autoreconfHook, pkgconfig, vala, python2, curl, libevent, glib, libsearpc, sqlite, intltool, fuse, ccnet, libuuid }:
 
 stdenv.mkDerivation rec {
-  version = "7.0.2";
   pname = "seafile-shared";
+  version = "7.0.5";
 
   src = fetchFromGitHub {
     owner = "haiwen";
     repo = "seafile";
     rev = "v${version}";
-    sha256 = "0633hhz2cky95y8mvrg9q2cyrnzpnzvn8fcq350wl4a64ij6wa04";
+    sha256 = "162dnm3sf7bkrnyqd8bcb6il6f2cam9gnaxj6d5dn48k77fw9ryc";
   };
 
-  nativeBuildInputs = [ pkgconfig which autoreconfHook vala intltool ];
-  buildInputs = [ python fuse ];
-  propagatedBuildInputs = [ ccnet curl ];
+  nativeBuildInputs = [
+    autoreconfHook
+    vala
+    pkgconfig
+    python2
+    python2.pkgs.wrapPython
+  ];
+
+  buildInputs = [
+    libuuid
+    sqlite
+    libsearpc
+    libevent
+    curl
+  ];
 
   configureFlags = [
     "--disable-server"
     "--disable-console"
   ];
 
+  pythonPath = with python2.pkgs; [
+    future
+    libsearpc
+  ];
+
+  postFixup = ''
+    wrapPythonPrograms
+  '';
+
   meta = with stdenv.lib; {
-    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";
     license = licenses.gpl3;
     platforms = platforms.linux;