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

27 lines
796 B
Nix
Raw Normal View History

{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconvOrNull, geoip }:
stdenv.mkDerivation rec {
2014-10-28 04:08:57 +03:00
name = "libtorrent-rasterbar-1.0.2";
src = fetchurl {
2014-10-28 04:08:57 +03:00
url = "mirror://sourceforge/libtorrent/${name}.tar.gz";
sha256 = "1ph4cb6nrk2hiy89j3kz1wj16ph0b9yixrf4f4935rnzhha8x31w";
};
2014-10-01 23:55:40 +04:00
buildInputs = [ boost pkgconfig openssl zlib python libiconvOrNull geoip ];
configureFlags = [
"--enable-python-binding"
"--with-libgeoip=system"
"--with-libiconv=yes"
2014-10-28 04:08:57 +03:00
"--with-boost=${boost.lib}"
];
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 ];
};
}