1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 02:14:36 +00:00
nixpkgs/pkgs/development/libraries/thrift/default.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, boost, zlib, libevent, openssl, python, pkgconfig, bison
, flex, twisted
}:
2013-12-13 10:16:40 +00:00
stdenv.mkDerivation rec {
pname = "thrift";
version = "0.13.0";
2013-12-13 10:16:40 +00:00
src = fetchurl {
url = "https://archive.apache.org/dist/thrift/${version}/${pname}-${version}.tar.gz";
sha256 = "0yai9c3bdsrkkjshgim7zk0i7malwfprg00l9774dbrkh2w4ilvs";
2013-12-13 10:16:40 +00:00
};
#enableParallelBuilding = true; problems on hydra
# Workaround to make the python wrapper not drop this package:
2014-10-19 18:54:33 +01:00
# pythonFull.buildEnv.override { extraLibs = [ thrift ]; }
pythonPath = [];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
boost zlib libevent openssl python bison flex twisted
];
2013-12-13 10:16:40 +00:00
preConfigure = "export PY_PREFIX=$out";
# TODO: package boost-test, so we can run the test suite. (Currently it fails
# to find libboost_unit_test_framework.a.)
2018-07-25 22:44:21 +01:00
configureFlags = [ "--enable-tests=no" ];
doCheck = false;
2013-12-13 10:16:40 +00:00
meta = with stdenv.lib; {
2013-12-13 10:16:40 +00:00
description = "Library for scalable cross-language services";
homepage = http://thrift.apache.org/;
license = licenses.asl20;
2014-10-09 17:57:18 +01:00
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ maintainers.bjornfor ];
2013-12-13 10:16:40 +00:00
};
}