aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/jsoncpp
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-03-21 12:32:12 -0500
committerThomas Tuegel <ttuegel@gmail.com>2015-03-21 12:32:12 -0500
commit19a4fc2b46a8bdcd36e8348d188434bb1572b870 (patch)
tree00aecb6273d5130122327d7282473ada3ac07e46 /pkgs/development/libraries/jsoncpp
parent37c95d6a48b146fe93283b15aa1fd0a5d38dfeaa (diff)
add jsoncpp-1.6.0
dependency of cmake-3.2
Diffstat (limited to 'pkgs/development/libraries/jsoncpp')
-rw-r--r--pkgs/development/libraries/jsoncpp/1.6.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/jsoncpp/1.6.nix b/pkgs/development/libraries/jsoncpp/1.6.nix
new file mode 100644
index 000000000000..69dfc2175731
--- /dev/null
+++ b/pkgs/development/libraries/jsoncpp/1.6.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, cmake, python }:
+
+let
+ basename = "jsoncpp";
+ version = "1.6.0";
+in
+stdenv.mkDerivation rec {
+ name = "${basename}-${version}";
+ src = fetchurl {
+ url = "https://github.com/open-source-parsers/${basename}/archive/${version}.tar.gz";
+ sha256 = "0ff1niks3y41gr6z13q9m391na70abqyi9rj4z3y2fz69cwm6sgz";
+ };
+
+ nativeBuildInputs = [ cmake python ];
+
+ meta = {
+ inherit version;
+ homepage = https://github.com/open-source-parsers/jsoncpp;
+ description = "A simple API to manipulate JSON data in C++";
+ maintainers = with stdenv.lib.maintainers; [ ttuegel ];
+ license = with stdenv.lib.licenses; [ mit ];
+ branch = "1.6";
+ };
+}