1 { lib, stdenv, fetchurl, boost, zlib, libevent, openssl, python3, pkg-config, bison
5 stdenv.mkDerivation rec {
10 url = "https://archive.apache.org/dist/thrift/${version}/${pname}-${version}.tar.gz";
11 sha256 = "02x1xw0l669idkn6xww39j60kqxzcbmim4mvpb5h9nz8wqnx1292";
14 #enableParallelBuilding = true; problems on hydra
16 # Workaround to make the python wrapper not drop this package:
17 # pythonFull.buildEnv.override { extraLibs = [ thrift ]; }
20 nativeBuildInputs = [ pkg-config ];
22 boost zlib libevent openssl bison flex (python3.withPackages (ps: [ps.twisted]))
25 preConfigure = "export PY_PREFIX=$out";
27 # TODO: package boost-test, so we can run the test suite. (Currently it fails
28 # to find libboost_unit_test_framework.a.)
29 configureFlags = [ "--enable-tests=no" ];
33 description = "Library for scalable cross-language services";
34 homepage = "https://thrift.apache.org/";
35 license = licenses.asl20;
36 platforms = platforms.linux ++ platforms.darwin;
37 maintainers = [ maintainers.bjornfor ];
38 knownVulnerabilities = [