mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
e08b9ab8d3
Conflicts: pkgs/applications/networking/mailreaders/sup/default.nix pkgs/development/compilers/ghc/7.8.3-binary.nix pkgs/development/interpreters/php/5.3.nix pkgs/development/interpreters/ruby/patches.nix pkgs/development/libraries/cairo/default.nix pkgs/development/libraries/poppler/default.nix pkgs/top-level/all-packages.nix
32 lines
861 B
Nix
32 lines
861 B
Nix
{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconv, geoip
|
|
# Version specific options
|
|
, version, sha256
|
|
, ... }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libtorrent-rasterbar-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libtorrent/${name}.tar.gz";
|
|
inherit sha256;
|
|
};
|
|
|
|
buildInputs = [ boost pkgconfig openssl zlib python libiconv geoip ];
|
|
|
|
configureFlags = [
|
|
"--enable-python-binding"
|
|
"--with-libgeoip=system"
|
|
"--with-libiconv=yes"
|
|
"--with-boost=${boost.dev}"
|
|
"--with-boost-libdir=${boost.lib}/lib"
|
|
"--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 ];
|
|
};
|
|
}
|