2021-04-15 00:37:46 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3Packages
|
|
|
|
, glib, jansson }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "3.2.0";
|
|
|
|
pname = "libsearpc";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haiwen";
|
|
|
|
repo = "libsearpc";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "18i5zvrp6dv6vygxx5nc93mai2p2x786n5lnf5avrin6xiz2j6hd";
|
|
|
|
};
|
|
|
|
|
2021-04-15 00:37:46 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = with python3Packages; [ python simplejson ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ glib jansson ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/haiwen/libsearpc";
|
2021-04-15 00:37:46 +00:00
|
|
|
description = "A simple and easy-to-use C language RPC framework based on GObject System";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
2021-04-15 00:37:46 +00:00
|
|
|
maintainers = with maintainers; [ greizgh ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|