30 lines
879 B
Nix
30 lines
879 B
Nix
{stdenv, fetchFromGitHub, which, autoreconfHook, pkgconfig, curl, vala, python, intltool, fuse, ccnet}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "6.2.2";
|
|
name = "seafile-shared-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "haiwen";
|
|
repo = "seafile";
|
|
rev = "v${version}";
|
|
sha256 = "05swp7sjp7pzgp8hjjr2prg0wq213l04iyqdfwwasdczdx6j6g59";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig which autoreconfHook vala intltool ];
|
|
buildInputs = [ python fuse ];
|
|
propagatedBuildInputs = [ ccnet curl ];
|
|
|
|
configureFlags = [
|
|
"--disable-server"
|
|
"--disable-console"
|
|
];
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|