fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{stdenv, fetchurl, automake, autoconf, pkgconfig, libtool, python, pythonPackages, glib, jansson}:
2
3stdenv.mkDerivation rec
4{
5 version = "1.2.2";
6 seafileVersion = "3.0-latest";
7 name = "libsearpc-${version}";
8
9 src = fetchurl
10 {
11 url = "https://github.com/haiwen/libsearpc/archive/v${seafileVersion}.tar.gz";
12 sha256 = "1kdq6chn3qhvr616sw91gf9kjfgbv9snl2srqisw0zddw1qkfcan";
13 };
14
15 patches = [ ./libsearpc.pc.patch ];
16
17 buildInputs = [ automake autoconf pkgconfig libtool python pythonPackages.simplejson ];
18 propagatedBuildInputs = [ glib jansson ];
19
20 preConfigure = "./autogen.sh";
21
22 buildPhase = "make -j1";
23
24 meta =
25 {
26 homepage = "https://github.com/haiwen/libsearpc";
27 description = "A simple and easy-to-use C language RPC framework (including both server side & client side) based on GObject System";
28 license = stdenv.lib.licenses.lgpl3;
29 platforms = stdenv.lib.platforms.linux;
30 maintainers = [ stdenv.lib.maintainers.calrama ];
31 };
32}