1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/development/libraries/libtorrent-rasterbar/default.nix
2014-03-26 12:57:10 +02:00

29 lines
894 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 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 ];
};
}