summary refs log tree commit diff
path: root/pkgs/development/libraries/avro-c++/default.nix
diff options
context:
space:
mode:
authorAlexey Shmalko <rasen.dubi@gmail.com>2016-04-19 02:47:56 +0300
committerAlexey Shmalko <rasen.dubi@gmail.com>2016-04-19 16:57:02 +0300
commit0ebe9010357317f2261ebdbbd97b62f7a4ff070e (patch)
tree75a37ef27a7529eb3de7781213bee631d026e9e8 /pkgs/development/libraries/avro-c++/default.nix
parent05e713e7a543d030d905863697e35aac6bb31bc7 (diff)
downloadnixlib-0ebe9010357317f2261ebdbbd97b62f7a4ff070e.tar
nixlib-0ebe9010357317f2261ebdbbd97b62f7a4ff070e.tar.gz
nixlib-0ebe9010357317f2261ebdbbd97b62f7a4ff070e.tar.bz2
nixlib-0ebe9010357317f2261ebdbbd97b62f7a4ff070e.tar.lz
nixlib-0ebe9010357317f2261ebdbbd97b62f7a4ff070e.tar.xz
nixlib-0ebe9010357317f2261ebdbbd97b62f7a4ff070e.tar.zst
nixlib-0ebe9010357317f2261ebdbbd97b62f7a4ff070e.zip
avro-c++: Init at 1.7.5
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;
+  };
+}