summary refs log tree commit diff
path: root/pkgs/development/libraries/avro-c++/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/avro-c++/default.nix')
-rw-r--r--pkgs/development/libraries/avro-c++/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/libraries/avro-c++/default.nix b/pkgs/development/libraries/avro-c++/default.nix
new file mode 100644
index 000000000000..2cd03253e7e4
--- /dev/null
+++ b/pkgs/development/libraries/avro-c++/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchurl, cmake, boost155, pythonPackages
+}:
+
+let version = "1.7.5"; in
+
+stdenv.mkDerivation {
+  name = "avro-c++-${version}";
+
+  src = fetchurl {
+    url = "mirror://apache/avro/avro-${version}/cpp/avro-cpp-${version}.tar.gz";
+    sha256 = "064ssbbgrc3hyalzj8rn119bsrnyk1vlpkhl8gghv96jgqbpdyb3";
+  };
+
+  buildInputs = [
+    cmake
+    boost155
+    pythonPackages.python
+  ];
+
+  enableParallelBuilding = true;
+
+  meta = {
+    description = "A C++ library which implements parts of the Avro Specification";
+    homepage = https://avro.apache.org/;
+    license = stdenv.lib.licenses.asl20;
+    maintainers = with stdenv.lib.maintainers; [ rasendubi ];
+    platforms = stdenv.lib.platforms.all;
+  };
+}