summary refs log tree commit diff
path: root/pkgs/development/libraries/libjson
diff options
context:
space:
mode:
authorDavid Guibert <david.guibert@gmail.com>2011-11-01 17:07:14 +0000
committerDavid Guibert <david.guibert@gmail.com>2011-11-01 17:07:14 +0000
commit2a0816fb45ee8a4f9e93341c22f387eee213cb7d (patch)
tree59478882fa22dc219b6b894f3919d7103bf1651b /pkgs/development/libraries/libjson
parent752e53e95db5e4a6f3cbc2cd81e3f58277be5030 (diff)
downloadnixpkgs-2a0816fb45ee8a4f9e93341c22f387eee213cb7d.tar
nixpkgs-2a0816fb45ee8a4f9e93341c22f387eee213cb7d.tar.gz
nixpkgs-2a0816fb45ee8a4f9e93341c22f387eee213cb7d.tar.bz2
nixpkgs-2a0816fb45ee8a4f9e93341c22f387eee213cb7d.tar.lz
nixpkgs-2a0816fb45ee8a4f9e93341c22f387eee213cb7d.tar.xz
nixpkgs-2a0816fb45ee8a4f9e93341c22f387eee213cb7d.tar.zst
nixpkgs-2a0816fb45ee8a4f9e93341c22f387eee213cb7d.zip
add libjson library
svn path=/nixpkgs/trunk/; revision=30168
Diffstat (limited to 'pkgs/development/libraries/libjson')
-rw-r--r--pkgs/development/libraries/libjson/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libjson/default.nix b/pkgs/development/libraries/libjson/default.nix
new file mode 100644
index 00000000000..f49c885c066
--- /dev/null
+++ b/pkgs/development/libraries/libjson/default.nix
@@ -0,0 +1,16 @@
+{ stdenv, fetchurl, unzip }:
+
+stdenv.mkDerivation rec {
+  name = "libjson-7.4.0";
+  src = fetchurl {
+    url = "mirror://sourceforge/libjson/libjson_7.4.0.zip";
+    sha256 = "0rd6m3r3acm7xq6f0mbyyhc3dnwmiga60cws29yjl6nx2f9h3r0x";
+  };
+  buildInputs = [ unzip ];
+  makeFlags = "prefix=$out";
+  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.";
+  };
+}