mprocs: 0.7.1 -> 0.7.2 (#375444)
[NixPkgs.git] / pkgs / by-name / se / seafile-shared / package.nix
blob4e9f5c40d3f329d57f6a700f336fae9fd15a157c
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   autoreconfHook,
6   curl,
7   libevent,
8   libsearpc,
9   libuuid,
10   pkg-config,
11   python3,
12   sqlite,
13   vala,
14   libwebsockets,
17 stdenv.mkDerivation rec {
18   pname = "seafile-shared";
19   version = "9.0.8";
21   src = fetchFromGitHub {
22     owner = "haiwen";
23     repo = "seafile";
24     rev = "v${version}";
25     sha256 = "sha256-IpRCgPxYy1El4EEvVEfzAlbxP/osQUb7pCP3/BhkecU=";
26   };
28   nativeBuildInputs = [
29     libwebsockets
30     autoreconfHook
31     vala
32     pkg-config
33     python3
34     python3.pkgs.wrapPython
35   ];
37   buildInputs = [
38     libuuid
39     sqlite
40     libsearpc
41     libevent
42     curl
43   ];
45   configureFlags = [
46     "--disable-server"
47     "--with-python3"
48   ];
50   pythonPath = with python3.pkgs; [
51     future
52     pysearpc
53   ];
55   postFixup = ''
56     wrapPythonPrograms
57   '';
59   meta = with lib; {
60     homepage = "https://github.com/haiwen/seafile";
61     description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons";
62     license = licenses.gpl2Plus;
63     platforms = platforms.linux;
64     maintainers = with maintainers; [
65       greizgh
66       schmittlauch
67     ];
68   };