3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/yajl/default.nix

26 lines
718 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, ruby }:
2014-08-03 14:16:38 +01:00
stdenv.mkDerivation rec {
2013-12-13 14:21:40 +00:00
name = "yajl-2.0.4";
src = fetchurl {
2013-12-13 14:21:40 +00:00
url = http://github.com/lloyd/yajl/tarball/2.0.4;
name = "${name}.tar.gz";
2013-12-13 14:21:40 +00:00
sha256 = "0661bfi4hfvwg3z2pf51wqbf5qd5kfn0dk83v5s2xwhmry8rd6y1";
};
buildInputs = [ cmake ruby ];
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/;
license = stdenv.lib.licenses.isc;
platforms = with stdenv.lib.platforms; linux ++ darwin;
maintainers = with stdenv.lib.maintainers; [ z77z ];
};
}