zipline: refactor environment variables (#377101)
[NixPkgs.git] / pkgs / by-name / li / libsearpc / package.nix
blob219c5221ca02091b41a077f41b790a0d0ec8291a
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   autoreconfHook,
6   pkg-config,
7   python3,
8   glib,
9   jansson,
12 stdenv.mkDerivation rec {
13   version = "3.3-20241031";
14   commit = "d00c062d76d86b76c8c179bfb4babc9e2200b3f1";
15   pname = "libsearpc";
17   src = fetchFromGitHub {
18     owner = "haiwen";
19     repo = "libsearpc";
20     rev = commit;
21     sha256 = "sha256-Ze1dOEFUIA16OlqkyDjQw6c6JcDECjYsdCm5um0kG/c=";
22   };
24   nativeBuildInputs = [
25     autoreconfHook
26     pkg-config
27     python3
28   ];
30   propagatedBuildInputs = [
31     glib
32     jansson
33   ];
35   meta = {
36     homepage = "https://github.com/haiwen/libsearpc";
37     description = "Simple and easy-to-use C language RPC framework based on GObject System";
38     mainProgram = "searpc-codegen.py";
39     license = lib.licenses.lgpl3;
40     platforms = lib.platforms.linux;
41     maintainers = with lib.maintainers; [ greizgh ];
42   };