2012-04-23 17:47:31 +02:00
|
|
|
{ stdenv, fetchurl, cmake, ruby }:
|
2011-10-14 16:00:50 +02:00
|
|
|
|
2014-08-03 15:16:38 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-09-22 01:58:19 +02:00
|
|
|
name = "yajl-2.1.0";
|
2011-10-14 16:00:50 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-09-22 01:58:19 +02:00
|
|
|
url = http://github.com/lloyd/yajl/tarball/2.1.0;
|
2014-08-03 13:21:08 +02:00
|
|
|
name = "${name}.tar.gz";
|
2015-09-22 01:58:19 +02:00
|
|
|
sha256 = "0f6yrjc05aa26wfi7lqn2gslm19m6rm81b30ksllpkappvh162ji";
|
2011-10-14 16:00:50 +02:00
|
|
|
};
|
|
|
|
|
2012-04-23 17:47:31 +02:00
|
|
|
buildInputs = [ cmake ruby ];
|
2011-10-14 16:00:50 +02: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.
|
|
|
|
'';
|
|
|
|
homepage = http://lloyd.github.com/yajl/;
|
2011-10-20 13:46:13 +02:00
|
|
|
license = stdenv.lib.licenses.isc;
|
2011-10-21 16:43:18 +02:00
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ z77z ];
|
2011-10-14 16:00:50 +02:00
|
|
|
};
|
|
|
|
}
|