diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/yajl')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/yajl/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/yajl/default.nix b/nixpkgs/pkgs/development/libraries/yajl/default.nix new file mode 100644 index 000000000000..022284b0b130 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/yajl/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + pname = "yajl"; + version = "2.1.0"; + + src = fetchFromGitHub { + owner = "lloyd"; + repo = "yajl"; + rev = "refs/tags/${version}"; + sha256 = "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"; + }; + + 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 ]; + }; +} |