summary refs log tree commit diff
path: root/pkgs/development/libraries/rapidjson/default.nix
diff options
context:
space:
mode:
authorCharles Strahan <charles@cstrahan.com>2017-07-24 20:05:56 -0400
committerCharles Strahan <charles@cstrahan.com>2017-08-03 00:38:33 -0400
commit4fcc6da88957ca9311f252db95b6355fa3630c72 (patch)
tree20f7c18cc9ba5a25995772580a93252761c541c5 /pkgs/development/libraries/rapidjson/default.nix
parentcd2b6a94f779f2819b6345bc0718f6a780d84f1b (diff)
downloadnixpkgs-4fcc6da88957ca9311f252db95b6355fa3630c72.tar
nixpkgs-4fcc6da88957ca9311f252db95b6355fa3630c72.tar.gz
nixpkgs-4fcc6da88957ca9311f252db95b6355fa3630c72.tar.bz2
nixpkgs-4fcc6da88957ca9311f252db95b6355fa3630c72.tar.lz
nixpkgs-4fcc6da88957ca9311f252db95b6355fa3630c72.tar.xz
nixpkgs-4fcc6da88957ca9311f252db95b6355fa3630c72.tar.zst
nixpkgs-4fcc6da88957ca9311f252db95b6355fa3630c72.zip
rapidjson: init at 1.1.0
A fast JSON parser/generator for C++ with both SAX/DOM style API.

See: http://rapidjson.org/
Diffstat (limited to 'pkgs/development/libraries/rapidjson/default.nix')
-rw-r--r--pkgs/development/libraries/rapidjson/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/rapidjson/default.nix b/pkgs/development/libraries/rapidjson/default.nix
new file mode 100644
index 00000000000..5e9a11d4251
--- /dev/null
+++ b/pkgs/development/libraries/rapidjson/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake }:
+
+stdenv.mkDerivation rec {
+  name = "rapidjson-${version}";
+  version = "1.1.0";
+
+  src = fetchFromGitHub {
+    owner = "miloyip";
+    repo = "rapidjson";
+    rev = "v${version}";
+    sha256 = "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab";
+  };
+
+  nativeBuildInputs = [ pkgconfig cmake ];
+
+  meta = with lib; {
+    description = "Fast JSON parser/generator for C++ with both SAX/DOM style API";
+    homepage = "http://rapidjson.org/";
+    license = licenses.mit;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ cstrahan ];
+  };
+}