94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
27 lines
681 B
Nix
27 lines
681 B
Nix
{ lib, stdenv, fetchFromGitHub, libtool, autoconf, automake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.2304.0";
|
|
pname = "fastjson";
|
|
src = fetchFromGitHub {
|
|
repo = "libfastjson";
|
|
owner = "rsyslog";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-WnM6lQjHz0n5BwWWZoDBavURokcaROXJW46RZen9vj4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoconf automake ];
|
|
buildInputs = [ libtool ];
|
|
|
|
preConfigure = ''
|
|
sh autogen.sh
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|