2018-06-26 23:51:11 +02:00
|
|
|
{stdenv, fetchFromGitHub, automake, autoconf, pkgconfig, libtool, python2Packages, glib, jansson}:
|
2014-02-04 20:02:46 +01:00
|
|
|
|
2018-06-26 23:51:11 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2018-08-23 17:34:01 +02:00
|
|
|
version = "3.1.0";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libsearpc";
|
2014-02-04 20:02:46 +01:00
|
|
|
|
2018-06-26 23:51:11 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haiwen";
|
|
|
|
repo = "libsearpc";
|
2018-08-23 17:34:01 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1zf8xxsl95wdx0372kl8s153hd8q3lhwwvwr2k96ia8scbn2ylkp";
|
2014-02-04 20:02:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./libsearpc.pc.patch ];
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ automake autoconf libtool python2Packages.python python2Packages.simplejson ];
|
2014-02-04 20:02:46 +01:00
|
|
|
propagatedBuildInputs = [ glib jansson ];
|
|
|
|
|
2018-06-26 23:51:11 +02:00
|
|
|
postPatch = "patchShebangs autogen.sh";
|
|
|
|
|
2014-02-04 20:02:46 +01:00
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
2018-08-23 17:34:01 +02:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/haiwen/libsearpc;
|
2014-11-11 14:20:43 +01:00
|
|
|
description = "A simple and easy-to-use C language RPC framework (including both server side & client side) based on GObject System";
|
2018-08-23 17:34:01 +02:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
2019-01-16 00:39:33 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2014-02-04 20:02:46 +01:00
|
|
|
};
|
2014-05-24 03:32:02 +02:00
|
|
|
}
|