deluge: add patch for libtorrent >=0.16 compat

This commit is contained in:
Yegor Timoshenko 2018-06-14 20:47:13 +00:00
parent 9807281253
commit 011cc930d2

View file

@ -1,4 +1,5 @@
{ stdenv, fetchurl, intltool, libtorrentRasterbar, pythonPackages }:
{ stdenv, fetchurl, fetchpatch, intltool, libtorrentRasterbar, pythonPackages }:
pythonPackages.buildPythonPackage rec {
name = "deluge-${version}";
version = "1.3.15";
@ -8,6 +9,14 @@ pythonPackages.buildPythonPackage rec {
sha256 = "1467b9hmgw59gf398mhbf40ggaka948yz3afh6022v753c9j7y6w";
};
patches = [
# Fix preferences when built against libtorrent >=0.16
(fetchpatch {
url = "https://git.deluge-torrent.org/deluge/patch/?id=38d7b7cdfde3c50d6263602ffb03af92fcbfa52e";
sha256 = "0la3i0lkj6yv4725h4kbd07mhfwcb34w7prjl9gxg12q7px6c31d";
})
];
propagatedBuildInputs = with pythonPackages; [
pyGtkGlade libtorrentRasterbar twisted Mako chardet pyxdg pyopenssl service-identity
];