2021-04-13 16:18:51 -07:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3Packages
|
|
|
|
, glib, jansson }:
|
2014-02-04 11:02:46 -08:00
|
|
|
|
2018-06-26 14:51:11 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-11-02 00:39:36 -07:00
|
|
|
version = "3.2.0";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libsearpc";
|
2014-02-04 11:02:46 -08:00
|
|
|
|
2018-06-26 14:51:11 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haiwen";
|
|
|
|
repo = "libsearpc";
|
2018-08-23 08:34:01 -07:00
|
|
|
rev = "v${version}";
|
2019-11-02 00:39:36 -07:00
|
|
|
sha256 = "18i5zvrp6dv6vygxx5nc93mai2p2x786n5lnf5avrin6xiz2j6hd";
|
2014-02-04 11:02:46 -08:00
|
|
|
};
|
|
|
|
|
2021-04-13 16:18:51 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = with python3Packages; [ python simplejson ];
|
2014-02-04 11:02:46 -08:00
|
|
|
propagatedBuildInputs = [ glib jansson ];
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/haiwen/libsearpc";
|
2021-04-13 16:18:51 -07:00
|
|
|
description = "A simple and easy-to-use C language RPC framework based on GObject System";
|
2018-08-23 08:34:01 -07:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
2021-04-13 16:18:51 -07:00
|
|
|
maintainers = with maintainers; [ greizgh ];
|
2014-02-04 11:02:46 -08:00
|
|
|
};
|
2014-05-23 18:32:02 -07:00
|
|
|
}
|