29 lines
609 B
Nix
29 lines
609 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fastjson";
|
|
version = "1.2304.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rsyslog";
|
|
repo = "libfastjson";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-WnM6lQjHz0n5BwWWZoDBavURokcaROXJW46RZen9vj4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A fast json library for C";
|
|
homepage = "https://github.com/rsyslog/libfastjson";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ nequissimus ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|