From 91decd3a354e56e4f413a3b8139a6022fae1ba43 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Tue, 24 Dec 2013 23:19:55 +0200 Subject: [PATCH] libtorrentRasterbar: add missing dependencies --- pkgs/development/libraries/libtorrent-rasterbar/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libtorrent-rasterbar/default.nix b/pkgs/development/libraries/libtorrent-rasterbar/default.nix index b4380c71986..035077e12a6 100644 --- a/pkgs/development/libraries/libtorrent-rasterbar/default.nix +++ b/pkgs/development/libraries/libtorrent-rasterbar/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python }: +{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconvOrNull, geoip }: stdenv.mkDerivation rec { name = "libtorrent-rasterbar-${version}"; @@ -9,12 +9,14 @@ stdenv.mkDerivation rec { sha256 = "1sr788hhip6pgfb842110nl36hqdc1vz2s9n5vzypm0jy7qklmvm"; }; - buildInputs = [ boost pkgconfig openssl zlib python ]; + buildInputs = [ boost pkgconfig openssl zlib python libiconvOrNull geoip ]; configureFlags = [ "--with-boost=${boost}/include/boost" "--with-boost-libdir=${boost}/lib" "--enable-python-binding" + "--with-libgeoip=system" + "--with-libiconv=yes" ]; meta = with stdenv.lib; {