2019-11-03 02:43:24 +00:00
|
|
|
{stdenv, fetchFromGitHub, which, autoreconfHook, pkgconfig, vala, python2, curl, libevent, glib, libsearpc, sqlite, intltool, fuse, ccnet, libuuid }:
|
2014-02-04 19:02:46 +00:00
|
|
|
|
2017-12-19 07:09:01 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "seafile-shared";
|
2019-11-03 02:43:24 +00:00
|
|
|
version = "7.0.5";
|
2014-02-04 19:02:46 +00:00
|
|
|
|
2018-06-26 22:45:54 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haiwen";
|
|
|
|
repo = "seafile";
|
|
|
|
rev = "v${version}";
|
2019-11-03 02:43:24 +00:00
|
|
|
sha256 = "162dnm3sf7bkrnyqd8bcb6il6f2cam9gnaxj6d5dn48k77fw9ryc";
|
2014-02-04 19:02:46 +00:00
|
|
|
};
|
|
|
|
|
2019-11-03 02:43:24 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
vala
|
|
|
|
pkgconfig
|
|
|
|
python2
|
|
|
|
python2.pkgs.wrapPython
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libuuid
|
|
|
|
sqlite
|
|
|
|
libsearpc
|
|
|
|
libevent
|
|
|
|
curl
|
|
|
|
];
|
2014-02-04 19:02:46 +00:00
|
|
|
|
2017-12-19 07:09:01 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-server"
|
|
|
|
"--disable-console"
|
|
|
|
];
|
2014-02-04 19:02:46 +00:00
|
|
|
|
2019-11-03 02:43:24 +00:00
|
|
|
pythonPath = with python2.pkgs; [
|
|
|
|
future
|
|
|
|
libsearpc
|
|
|
|
];
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapPythonPrograms
|
|
|
|
'';
|
|
|
|
|
2017-12-19 07:09:01 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-11-03 02:43:24 +00:00
|
|
|
homepage = "https://github.com/haiwen/seafile";
|
2014-02-04 19:02:46 +00:00
|
|
|
description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons";
|
2017-12-19 07:09:01 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2018-03-10 23:46:41 +00:00
|
|
|
maintainers = [ ];
|
2014-02-04 19:02:46 +00:00
|
|
|
};
|
|
|
|
}
|