1 { lib, stdenv, fetchFromGitHub, cmake }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
10 rev = "refs/tags/${version}";
11 sha256 = "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml";
14 nativeBuildInputs = [ cmake ];
17 description = "Yet Another JSON Library";
19 YAJL is a small event-driven (SAX-style) JSON parser written in ANSI
20 C, and a small validating JSON generator.
22 homepage = "http://lloyd.github.com/yajl/";
23 license = lib.licenses.isc;
24 platforms = with lib.platforms; linux ++ darwin;
25 maintainers = with lib.maintainers; [ maggesi ];