1{ lib
2, stdenv
3, fetchFromGitHub
4, autoreconfHook
5}:
6
7stdenv.mkDerivation rec {
8 pname = "fastjson";
9 version = "1.2304.0";
10
11 src = fetchFromGitHub {
12 owner = "rsyslog";
13 repo = "libfastjson";
14 rev = "refs/tags/v${version}";
15 hash = "sha256-WnM6lQjHz0n5BwWWZoDBavURokcaROXJW46RZen9vj4=";
16 };
17
18 nativeBuildInputs = [
19 autoreconfHook
20 ];
21
22 meta = with lib; {
23 description = "Fast json library for C";
24 homepage = "https://github.com/rsyslog/libfastjson";
25 license = licenses.mit;
26 maintainers = with maintainers; [ nequissimus ];
27 platforms = with platforms; unix;
28 };
29}