summary refs log tree commit diff
path: root/pkgs/development/libraries/yajl/default.nix
blob: 079b457ab1fe299e38078edb6999fac635918102 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, cmake, ruby }:

stdenv.mkDerivation rec {
  name = "yajl-2.0.4";

  src = fetchurl {
    url = http://github.com/lloyd/yajl/tarball/2.0.4;
    name = "${name}.tar.gz";
    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 ];
  };
}