Merge pull request #35658 from tvbeat/avro-c

avro-c: init at 1.8.2
This commit is contained in:
Jörg Thalheim 2018-02-26 22:36:54 +00:00 committed by GitHub
commit 9bf653c06c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 0 deletions

View File

@ -373,6 +373,7 @@
lasandell = "Luke Sandell <lasandell@gmail.com>";
lassulus = "Lassulus <lassulus@gmail.com>";
layus = "Guillaume Maudoux <layus.on@gmail.com>";
lblasc = "Luka Blaskovic <lblasc@znode.net>";
ldesgoui = "Lucas Desgouilles <ldesgoui@gmail.com>";
league = "Christopher League <league@contrapunctus.net>";
lebastr = "Alexander Lebedev <lebastr@gmail.com>";

View File

@ -0,0 +1,30 @@
{ stdenv, bash, cmake, fetchurl, pkgconfig, jansson, zlib }:
let
version = "1.8.2";
in stdenv.mkDerivation rec {
name = "avro-c-${version}";
src = fetchurl {
url = "mirror://apache/avro/avro-${version}/c/avro-c-${version}.tar.gz";
sha256 = "03pixl345kkpn1jds03rpdcwjabi41rgdzi8f7y93gcg5cmrhfa6";
};
postPatch = ''
patchShebangs .
'';
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ jansson zlib ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A C library which implements parts of the Avro Specification";
homepage = https://avro.apache.org/;
license = licenses.asl20;
maintainers = with maintainers; [ lblasc ];
platforms = platforms.all;
};
}

View File

@ -726,6 +726,8 @@ with pkgs;
qt4Support = config.avahi.qt4Support or false;
};
avro-c = callPackage ../development/libraries/avro-c { };
avro-cpp = callPackage ../development/libraries/avro-c++ { boost = boost160; };
aws = callPackage ../tools/virtualization/aws { };