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

31 lines
879 B
Nix
Raw Normal View History

2018-06-26 21:45:54 +00:00
{stdenv, fetchFromGitHub, which, autoreconfHook, pkgconfig, curl, vala, python, intltool, fuse, ccnet}:
stdenv.mkDerivation rec {
2018-12-10 14:45:24 +00:00
version = "6.2.9";
name = "seafile-shared-${version}";
2018-06-26 21:45:54 +00:00
src = fetchFromGitHub {
owner = "haiwen";
repo = "seafile";
rev = "v${version}";
2018-12-10 14:45:24 +00:00
sha256 = "03hdpajhpmdxf1fdpvz2j82smqcmhvpvx2dxyaprqjg8j7b4qbj9";
};
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;
2018-03-10 23:46:41 +00:00
maintainers = [ ];
};
}