nixpkgs/pkgs/development/libraries/libtorrent-rasterbar/default.nix

29 lines
908 B
Nix
Raw Normal View History

{ 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";
};
2014-09-19 18:56:08 +01:00
buildInputs = [ boost boost.lib pkgconfig openssl zlib python libiconvOrNull geoip ];
configureFlags = [
"--with-boost=${boost}/include/boost"
2014-09-19 18:56:08 +01:00
"--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 ];
};
}