depot/third_party/nixpkgs/pkgs/development/libraries/yajl/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
721 B
Nix

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