summary refs log tree commit diff
path: root/pkgs/development/libraries/yajl/default.nix
blob: df47168c79b7b120c02c6800d2c5db32733523e7 (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
{ lib, stdenv, fetchurl, cmake }:

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

  src = fetchurl {
    url = "https://github.com/lloyd/yajl/tarball/2.1.0";
    name = "${name}.tar.gz";
    sha256 = "0f6yrjc05aa26wfi7lqn2gslm19m6rm81b30ksllpkappvh162ji";
  };

  nativeBuildInputs = [ cmake ];

  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 = lib.licenses.isc;
    platforms = with lib.platforms; linux ++ darwin;
    maintainers = with lib.maintainers; [ maggesi ];
  };
}