From 0ebe9010357317f2261ebdbbd97b62f7a4ff070e Mon Sep 17 00:00:00 2001 From: Alexey Shmalko Date: Tue, 19 Apr 2016 02:47:56 +0300 Subject: [PATCH] avro-c++: Init at 1.7.5 --- lib/maintainers.nix | 1 + .../libraries/avro-c++/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 32 insertions(+) create mode 100644 pkgs/development/libraries/avro-c++/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 720824ee66e7..f31de5159b0c 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -289,6 +289,7 @@ pxc = "Patrick Callahan "; qknight = "Joachim Schiele "; ragge = "Ragnar Dahlen "; + rasendubi = "Alexey Shmalko "; raskin = "Michael Raskin <7c6f434c@mail.ru>"; redbaron = "Maxim Ivanov "; refnil = "Martin Lavoie "; 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 632468903e98..22ceb37d94fc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -523,6 +523,8 @@ in qt4Support = config.avahi.qt4Support or false; }; + avro-cpp = callPackage ../development/libraries/avro-c++ { }; + aws = callPackage ../tools/virtualization/aws { }; aws_mturk_clt = callPackage ../tools/misc/aws-mturk-clt { };