2022-01-03 16:56:52 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, glib
|
|
|
|
, jansson
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "3.3-20230626";
|
|
|
|
commit = "783141fb694f3bd1f8bd8a783670dd25a53b9fc1";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libsearpc";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haiwen";
|
|
|
|
repo = "libsearpc";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = commit;
|
|
|
|
sha256 = "sha256-nYYp3EyA8nufhbWaw4Lv/c4utGYaxC+PoFyamUEVJx4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib
|
|
|
|
jansson
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
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";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple and easy-to-use C language RPC framework based on GObject System";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "searpc-codegen.py";
|
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
|
|
|
};
|
|
|
|
}
|