2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, automake, autoconf, pkg-config, libtool, python2Packages, glib, jansson}:
|
2014-02-04 19:02:46 +00:00
|
|
|
|
2018-06-26 21:51:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-11-02 07:39:36 +00:00
|
|
|
version = "3.2.0";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libsearpc";
|
2014-02-04 19:02:46 +00:00
|
|
|
|
2018-06-26 21:51:11 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haiwen";
|
|
|
|
repo = "libsearpc";
|
2018-08-23 15:34:01 +00:00
|
|
|
rev = "v${version}";
|
2019-11-02 07:39:36 +00:00
|
|
|
sha256 = "18i5zvrp6dv6vygxx5nc93mai2p2x786n5lnf5avrin6xiz2j6hd";
|
2014-02-04 19:02:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./libsearpc.pc.patch ];
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ automake autoconf libtool python2Packages.python python2Packages.simplejson ];
|
2014-02-04 19:02:46 +00:00
|
|
|
propagatedBuildInputs = [ glib jansson ];
|
|
|
|
|
2018-06-26 21:51:11 +00:00
|
|
|
postPatch = "patchShebangs autogen.sh";
|
|
|
|
|
2014-02-04 19:02:46 +00:00
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/haiwen/libsearpc";
|
2014-11-11 13:20:43 +00: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 15:34:01 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
2019-01-15 23:39:33 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2014-02-04 19:02:46 +00:00
|
|
|
};
|
2014-05-24 01:32:02 +00:00
|
|
|
}
|