Add yaml - Yet Another JSON Library
svn path=/nixpkgs/trunk/; revision=29837
This commit is contained in:
parent
1fc00185f4
commit
39df2ce05e
23
pkgs/development/libraries/yajl/default.nix
Normal file
23
pkgs/development/libraries/yajl/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{stdenv, fetchurl, cmake, ruby}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "yajl-2.0.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://github.com/lloyd/yajl/tarball/2.0.1;
|
||||||
|
name = "yajl-2.0.1.tar.gz";
|
||||||
|
sha256 = "08a7bgmdpvi6w9f9bxx5f42njwmwzdf6jz3w6ila7jgbl5mhknf2";
|
||||||
|
};
|
||||||
|
|
||||||
|
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.license.isc;
|
||||||
|
};
|
||||||
|
}
|
@ -82,6 +82,12 @@
|
|||||||
url = https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception;
|
url = https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
isc = {
|
||||||
|
shortName = "ISC";
|
||||||
|
fullName = "Internet Systems Consortium License";
|
||||||
|
url = http://www.opensource.org/licenses/ISC;
|
||||||
|
};
|
||||||
|
|
||||||
ipl10 = {
|
ipl10 = {
|
||||||
shortName = "IPL 1.0";
|
shortName = "IPL 1.0";
|
||||||
fullName = "IBM Public License Version 1.0";
|
fullName = "IBM Public License Version 1.0";
|
||||||
|
@ -4640,6 +4640,8 @@ let
|
|||||||
|
|
||||||
xvidcore = callPackage ../development/libraries/xvidcore { };
|
xvidcore = callPackage ../development/libraries/xvidcore { };
|
||||||
|
|
||||||
|
yajl = callPackage ../development/libraries/yajl { };
|
||||||
|
|
||||||
zangband = builderDefsPackage (import ../games/zangband) {
|
zangband = builderDefsPackage (import ../games/zangband) {
|
||||||
inherit ncurses flex bison autoconf automake m4 coreutils;
|
inherit ncurses flex bison autoconf automake m4 coreutils;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user