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,
libtool, pkgconfig, bison, flex }:
{ stdenv, fetchgit, boost, zlib, libevent, openssl, python, automake, autoconf
, libtool, pkgconfig, bison, flex
}:
stdenv.mkDerivation {
name = "thrift-0.9.1";
@ -13,14 +14,19 @@ stdenv.mkDerivation {
};
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";
meta = {
homepage = http://thrift.apache.org/;
license = "ASL2.0";
meta = with stdenv.lib; {
description = "Library for scalable cross-language services";
homepage = http://thrift.apache.org/;
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}