avro-c: init at 1.8.2
This commit is contained in:
parent
1ff9fe2864
commit
7d537c454d
35
pkgs/development/libraries/avro-c/default.nix
Normal file
35
pkgs/development/libraries/avro-c/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ 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";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace version.sh \
|
||||||
|
--replace /bin/bash "$bash/bin/bash"
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
cmake
|
||||||
|
jansson
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
|
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; [ lblasc ];
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -725,6 +725,8 @@ with pkgs;
|
|||||||
qt4Support = config.avahi.qt4Support or false;
|
qt4Support = config.avahi.qt4Support or false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
avro-c = callPackage ../development/libraries/avro-c { };
|
||||||
|
|
||||||
avro-cpp = callPackage ../development/libraries/avro-c++ { boost = boost160; };
|
avro-cpp = callPackage ../development/libraries/avro-c++ { boost = boost160; };
|
||||||
|
|
||||||
aws = callPackage ../tools/virtualization/aws { };
|
aws = callPackage ../tools/virtualization/aws { };
|
||||||
|
Loading…
Reference in New Issue
Block a user