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

27 lines
787 B
Nix
Raw Normal View History

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