nixpkgs/pkgs/development/libraries/yajl/default.nix

26 lines
713 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake }:
2014-08-03 14:16:38 +01:00
stdenv.mkDerivation rec {
2015-09-22 00:58:19 +01:00
name = "yajl-2.1.0";
src = fetchurl {
2015-09-22 00:58:19 +01:00
url = http://github.com/lloyd/yajl/tarball/2.1.0;
name = "${name}.tar.gz";
2015-09-22 00:58:19 +01:00
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 = stdenv.lib.licenses.isc;
platforms = with stdenv.lib.platforms; linux ++ darwin;
maintainers = with stdenv.lib.maintainers; [ z77z ];
};
}