diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2013-12-13 11:16:40 +0100 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2013-12-13 11:17:44 +0100 |
commit | 2e094898950c625cbc11be06997023e4248bc453 (patch) | |
tree | e6cce6b06a78cfe0e33e08a0d8da7a156929302a /pkgs/development/libraries/thrift | |
parent | c53d8c81f5025a9a182c7843f3595ea0d9484957 (diff) | |
download | nixpkgs-2e094898950c625cbc11be06997023e4248bc453.tar nixpkgs-2e094898950c625cbc11be06997023e4248bc453.tar.gz nixpkgs-2e094898950c625cbc11be06997023e4248bc453.tar.bz2 nixpkgs-2e094898950c625cbc11be06997023e4248bc453.tar.lz nixpkgs-2e094898950c625cbc11be06997023e4248bc453.tar.xz nixpkgs-2e094898950c625cbc11be06997023e4248bc453.tar.zst nixpkgs-2e094898950c625cbc11be06997023e4248bc453.zip |
Adding Apache Thrift.
Diffstat (limited to 'pkgs/development/libraries/thrift')
-rw-r--r-- | pkgs/development/libraries/thrift/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/libraries/thrift/default.nix b/pkgs/development/libraries/thrift/default.nix new file mode 100644 index 00000000000..2b555db3282 --- /dev/null +++ b/pkgs/development/libraries/thrift/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchgit, boost, zlib, libevent, openssl, python, automake, autoconf, +libtool, pkgconfig, bison, flex }: + +stdenv.mkDerivation { + name = "thrift-0.9.1"; + + # I take git, because the tarball is broken. + # http://stackoverflow.com/questions/18643642/libtool-error-building-thrift-0-9-1-on-ubuntu-13-04 + src = fetchgit { + url = "https://git-wip-us.apache.org/repos/asf/thrift.git"; + rev = "ff980c1432936c6bc897c60469ab05b5e0c6cb5e"; + md5 = "466aca9e43e43df868f4385af50e32f6"; + }; + + enableParallelBuilding = true; + buildInputs = [ boost zlib libevent openssl python automake autoconf libtool + pkgconfig bison flex ]; + + preConfigure = "sh bootstrap.sh; export PY_PREFIX=$out"; + + meta = { + homepage = http://thrift.apache.org/; + license = "ASL2.0"; + description = "Library for scalable cross-language services"; + }; +} |