2018-01-14 14:05:08 +00:00
|
|
|
{ stdenv, fetchurl, cmake }:
|
2011-10-14 15:00:50 +01:00
|
|
|
|
2014-08-03 14:16:38 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-09-22 00:58:19 +01:00
|
|
|
name = "yajl-2.1.0";
|
2011-10-14 15:00:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://github.com/lloyd/yajl/tarball/2.1.0";
|
2014-08-03 12:21:08 +01:00
|
|
|
name = "${name}.tar.gz";
|
2015-09-22 00:58:19 +01:00
|
|
|
sha256 = "0f6yrjc05aa26wfi7lqn2gslm19m6rm81b30ksllpkappvh162ji";
|
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/";
|
2011-10-20 12:46:13 +01:00
|
|
|
license = stdenv.lib.licenses.isc;
|
2011-10-21 15:43:18 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
2019-10-07 15:44:58 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ maggesi ];
|
2011-10-14 15:00:50 +01:00
|
|
|
};
|
|
|
|
}
|