2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fastjson";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.2304.0";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rsyslog";
|
2023-07-15 17:15:38 +00:00
|
|
|
repo = "libfastjson";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-WnM6lQjHz0n5BwWWZoDBavURokcaROXJW46RZen9vj4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Fast json library for C";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/rsyslog/libfastjson";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nequissimus ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|