From 3339f1e1f4ee09da7ab4e51728da33ed73346bdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Wed, 12 Mar 2014 13:14:00 +0100 Subject: [PATCH] thrift: add meta.platforms, small cleanup I set platforms to 'linux' because that's the only thing I have tested. --- pkgs/development/libraries/thrift/default.nix | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/thrift/default.nix b/pkgs/development/libraries/thrift/default.nix index 2b555db3282..0153cfa62ac 100644 --- a/pkgs/development/libraries/thrift/default.nix +++ b/pkgs/development/libraries/thrift/default.nix @@ -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 ]; }; }