2021-06-20 15:12:08 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2011-10-14 15:00:50 +01:00
|
|
|
|
2014-08-03 14:16:38 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 15:12:08 +01:00
|
|
|
pname = "yajl";
|
|
|
|
version = "2.1.0";
|
2011-10-14 15:00:50 +01:00
|
|
|
|
2021-06-20 15:12:08 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lloyd";
|
|
|
|
repo = "yajl";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml";
|
2011-10-14 15:00:50 +01:00
|
|
|
};
|
|
|
|
|
2018-01-14 14:05:08 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2011-10-14 15:00:50 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Yet Another JSON Library";
|
|
|
|
longDescription = ''
|
|
|
|
YAJL is a small event-driven (SAX-style) JSON parser written in ANSI
|
|
|
|
C, and a small validating JSON generator.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://lloyd.github.com/yajl/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.isc;
|
|
|
|
platforms = with lib.platforms; linux ++ darwin;
|
|
|
|
maintainers = with lib.maintainers; [ maggesi ];
|
2011-10-14 15:00:50 +01:00
|
|
|
};
|
|
|
|
}
|