Merge pull request #42045 from yegortimoshenko/deluge-patch

deluge: add patch for libtorrent >=0.16 compat
This commit is contained in:
Yegor Timoshenko 2018-06-14 21:32:59 +00:00 committed by GitHub
commit 85286b2092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
];