2012-04-23 15:47:31 +00:00
|
|
|
{ stdenv, fetchurl, cmake, ruby }:
|
2011-10-14 14:00:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "yajl-2.0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://github.com/lloyd/yajl/tarball/2.0.1;
|
|
|
|
name = "yajl-2.0.1.tar.gz";
|
|
|
|
sha256 = "08a7bgmdpvi6w9f9bxx5f42njwmwzdf6jz3w6ila7jgbl5mhknf2";
|
|
|
|
};
|
|
|
|
|
2012-04-23 15:47:31 +00:00
|
|
|
buildInputs = [ cmake ruby ];
|
2011-10-14 14:00:50 +00: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 11:46:13 +00:00
|
|
|
license = stdenv.lib.licenses.isc;
|
2011-10-21 14:43:18 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ z77z ];
|
2011-10-14 14:00:50 +00:00
|
|
|
};
|
|
|
|
}
|