2012-04-23 16:47:31 +01:00
|
|
|
{ stdenv, fetchurl, cmake, ruby }:
|
2011-10-14 15:00:50 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-12-13 14:21:40 +00:00
|
|
|
name = "yajl-2.0.4";
|
2011-10-14 15:00:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-12-13 14:21:40 +00:00
|
|
|
url = http://github.com/lloyd/yajl/tarball/2.0.4;
|
2011-10-14 15:00:50 +01:00
|
|
|
name = "yajl-2.0.1.tar.gz";
|
2013-12-13 14:21:40 +00:00
|
|
|
sha256 = "0661bfi4hfvwg3z2pf51wqbf5qd5kfn0dk83v5s2xwhmry8rd6y1";
|
2011-10-14 15:00:50 +01:00
|
|
|
};
|
|
|
|
|
2012-04-23 16:47:31 +01:00
|
|
|
buildInputs = [ cmake ruby ];
|
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.
|
|
|
|
'';
|
|
|
|
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;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ z77z ];
|
2011-10-14 15:00:50 +01:00
|
|
|
};
|
|
|
|
}
|