thrift: add meta.platforms, small cleanup

I set platforms to 'linux' because that's the only thing I have tested.
This commit is contained in:
Bjørn Forsman 2014-03-12 13:14:00 +01:00
parent 2cb2be8161
commit 3339f1e1f4

View File

@ -1,5 +1,6 @@
{ stdenv, fetchgit, boost, zlib, libevent, openssl, python, automake, autoconf, { stdenv, fetchgit, boost, zlib, libevent, openssl, python, automake, autoconf
libtool, pkgconfig, bison, flex }: , libtool, pkgconfig, bison, flex
}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "thrift-0.9.1"; name = "thrift-0.9.1";
@ -13,14 +14,19 @@ stdenv.mkDerivation {
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = [ boost zlib libevent openssl python automake autoconf libtool
pkgconfig bison flex ]; buildInputs = [
boost zlib libevent openssl python automake autoconf libtool pkgconfig
bison flex
];
preConfigure = "sh bootstrap.sh; export PY_PREFIX=$out"; preConfigure = "sh bootstrap.sh; export PY_PREFIX=$out";
meta = { meta = with stdenv.lib; {
homepage = http://thrift.apache.org/;
license = "ASL2.0";
description = "Library for scalable cross-language services"; description = "Library for scalable cross-language services";
homepage = http://thrift.apache.org/;
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
}; };
} }