2016-04-04 20:24:44 +02:00
|
|
|
{ stdenv, fetchFromGitHub, libtool, autoconf, automake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-08-08 01:32:00 +02:00
|
|
|
version = "0.99.8";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "fastjson";
|
2016-04-04 20:24:44 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "libfastjson";
|
|
|
|
owner = "rsyslog";
|
2018-08-08 01:32:00 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0qhs0g9slj3p0v2z4s3cnsx44msrlb4k78ljg7714qiziqbrbwyl";
|
2016-04-04 20:24:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ autoconf automake libtool ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sh autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A fast json library for C";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/rsyslog/libfastjson";
|
2016-04-04 20:24:44 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ nequissimus ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with platforms; unix;
|
2016-04-04 20:24:44 +02:00
|
|
|
};
|
|
|
|
}
|