2018-01-03 23:40:18 +00:00
|
|
|
{ stdenv, fetchurl, intltool, libtorrentRasterbar, pythonPackages }:
|
2017-08-05 22:13:26 +01:00
|
|
|
pythonPackages.buildPythonPackage rec {
|
|
|
|
name = "deluge-${version}";
|
|
|
|
version = "1.3.15";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.deluge-torrent.org/source/${name}.tar.bz2";
|
|
|
|
sha256 = "1467b9hmgw59gf398mhbf40ggaka948yz3afh6022v753c9j7y6w";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
2018-01-03 23:40:18 +00:00
|
|
|
pyGtkGlade libtorrentRasterbar twisted Mako chardet pyxdg pyopenssl service-identity
|
2017-08-05 22:13:26 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ intltool ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/share/applications
|
|
|
|
cp -R deluge/data/pixmaps $out/share/
|
|
|
|
cp -R deluge/data/icons $out/share/
|
|
|
|
cp deluge/data/share/applications/deluge.desktop $out/share/applications
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://deluge-torrent.org;
|
|
|
|
description = "Torrent client";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ domenkozar ebzzry ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|