nixpkgs/pkgs/development/libraries/libtorrent-rasterbar/default.nix
2014-09-21 17:20:59 -07:00

28 lines
908 B
Nix

{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconvOrNull, geoip }:
stdenv.mkDerivation rec {
name = "libtorrent-rasterbar-${version}";
version = "0.16.16";
src = fetchurl {
url = mirror://sourceforge/libtorrent/libtorrent-rasterbar-0.16.16.tar.gz;
sha256 = "1a3yxwjs4qb0rwx6cfpvar0a8jmavb6ik580b27md08jhvq80if7";
};
buildInputs = [ boost boost.lib pkgconfig openssl zlib python libiconvOrNull geoip ];
configureFlags = [
"--with-boost=${boost}/include/boost"
"--with-boost-libdir=${boost.lib}/lib"
"--enable-python-binding"
"--with-libgeoip=system"
"--with-libiconv=yes"
];
meta = with stdenv.lib; {
homepage = http://www.rasterbar.com/products/libtorrent/;
description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
license = licenses.bsd3;
maintainers = [ maintainers.phreedom ];
};
}