add deluge torrent client and it's dependencies

This commit is contained in:
Domen Kozar
2013-02-17 23:39:00 +01:00
parent 947651b6c2
commit 77f61dd987
3 changed files with 101 additions and 5 deletions

View File

@@ -1,17 +1,21 @@
{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib }:
{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python }:
stdenv.mkDerivation rec {
name = "libtorrent-rasterbar-${version}";
version = "0.15.8";
version = "0.16.8";
src = fetchurl {
url = "http://libtorrent.googlecode.com/files/${name}.tar.gz";
sha256 = "0767i20igrfadscw3vdyadd4qidybwx9h898rkaq95zlwhaygpzm";
sha256 = "01jxhyndqkc0qag22s5w0vs63hlp4rr4bca8k7fj37gky7w119c0";
};
buildInputs = [ boost pkgconfig openssl zlib ];
buildInputs = [ boost pkgconfig openssl zlib python ];
configureFlags = [ "--with-boost=${boost}/include/boost" "--with-boost-libdir=${boost}/lib" ];
configureFlags = [
"--with-boost=${boost}/include/boost"
"--with-boost-libdir=${boost}/lib"
"--enable-python-binding"
];
meta = with stdenv.lib; {
homepage = http://www.rasterbar.com/products/libtorrent/;