58f8944c92
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
{stdenv, fetchFromGitHub, which, autoreconfHook, pkgconfig, vala, python2, curl, libevent, glib, libsearpc, sqlite, intltool, fuse, ccnet, libuuid }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "seafile-shared";
|
|
version = "7.0.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "haiwen";
|
|
repo = "seafile";
|
|
rev = "v${version}";
|
|
sha256 = "0q0zylv8hkhnfw0084bj1wmqwqvpflmdy1njxvvkjsbnflh8kc2y";
|
|
};
|
|
|
|
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";
|
|
description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = [ ];
|
|
};
|
|
}
|