2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "yajl-2.1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/lloyd/yajl/tarball/2.1.0";
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
sha256 = "0f6yrjc05aa26wfi7lqn2gslm19m6rm81b30ksllpkappvh162ji";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
homepage = "http://lloyd.github.com/yajl/";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.isc;
|
|
|
|
platforms = with lib.platforms; linux ++ darwin;
|
|
|
|
maintainers = with lib.maintainers; [ maggesi ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|