1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/development/libraries/libjson/default.nix
Shea Levy 63d096bc46 libjson: Update to 7.6.1
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-08-15 09:30:52 -04:00

20 lines
790 B
Nix

{ stdenv, fetchurl, unzip }:
let
version = "7.6.1";
in stdenv.mkDerivation rec {
name = "libjson-${version}";
src = fetchurl {
url = "mirror://sourceforge/libjson/libjson_${version}.zip";
sha256 = "0xkk5qc7kjcdwz9l04kmiz1nhmi7iszl3k165phf53h3a4wpl9h7";
};
patches = [ ./install-fix.patch ];
buildInputs = [ unzip ];
makeFlags = [ "prefix=$(out)" ];
preInstall = "mkdir -p $out/lib";
meta = {
homepage = "http://libjson.sourceforge.net/";
description = "A JSON reader and writer";
longDescription = "A JSON reader and writer which is super-effiecient and usually runs circles around other JSON libraries. It's highly customizable to optimize for your particular project, and very lightweight. For Windows, OSX, or Linux. Works in any language.";
};
}