nixpkgs/pkgs/misc/seafile-shared/default.nix

52 lines
1.1 KiB
Nix
Raw Normal View History

{stdenv, fetchFromGitHub, which, autoreconfHook, pkgconfig, vala, python2, curl, libevent, glib, libsearpc, sqlite, intltool, fuse, ccnet, libuuid }:
stdenv.mkDerivation rec {
pname = "seafile-shared";
2020-02-21 11:39:45 +00:00
version = "7.0.6";
2018-06-26 22:45:54 +01:00
src = fetchFromGitHub {
owner = "haiwen";
repo = "seafile";
rev = "v${version}";
2020-02-21 11:39:45 +00:00
sha256 = "0pc6xbwxljpj7h37za63kspdi90ap58x6x5b7hsmlhahblvlw0b8";
};
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;
2018-03-10 23:46:41 +00:00
maintainers = [ ];
};
}