nixpkgs/pkgs/development/libraries/libtorrent-rasterbar/default.nix
2014-02-27 18:37:44 +02:00

28 lines
894 B
Nix

{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconvOrNull, geoip }:
stdenv.mkDerivation rec {
name = "libtorrent-rasterbar-${version}";
version = "0.16.15";
src = fetchurl {
url = mirror://sourceforge/libtorrent/libtorrent-rasterbar-0.16.15.tar.gz;
sha256 = "0xcz4hphgkcdxcbmgzk27mxn7478hy417pn55zn5hnpllgndy3w2";
};
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; {
homepage = http://www.rasterbar.com/products/libtorrent/;
description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
license = licenses.bsd3;
maintainers = [ maintainers.phreedom ];
};
}