nixpkgs/pkgs/development/libraries/libsearpc/default.nix

32 lines
977 B
Nix
Raw Normal View History

2018-06-26 22:51:11 +01:00
{stdenv, fetchFromGitHub, automake, autoconf, pkgconfig, libtool, python2Packages, glib, jansson}:
2018-06-26 22:51:11 +01:00
stdenv.mkDerivation rec {
2018-08-23 16:34:01 +01:00
version = "3.1.0";
name = "libsearpc-${version}";
2018-06-26 22:51:11 +01:00
src = fetchFromGitHub {
owner = "haiwen";
repo = "libsearpc";
2018-08-23 16:34:01 +01:00
rev = "v${version}";
sha256 = "1zf8xxsl95wdx0372kl8s153hd8q3lhwwvwr2k96ia8scbn2ylkp";
};
patches = [ ./libsearpc.pc.patch ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ automake autoconf libtool python2Packages.python python2Packages.simplejson ];
propagatedBuildInputs = [ glib jansson ];
2018-06-26 22:51:11 +01:00
postPatch = "patchShebangs autogen.sh";
preConfigure = "./autogen.sh";
2018-08-23 16:34:01 +01:00
meta = with stdenv.lib; {
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 16:34:01 +01:00
license = licenses.lgpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}