diff options
author | Yegor Timoshenko <yegortimoshenko@riseup.net> | 2018-06-14 20:47:13 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@riseup.net> | 2018-06-14 20:47:13 +0000 |
commit | 011cc930d2f1781d6e9e9d16a937adf57d29f7b5 (patch) | |
tree | 9b12a4805ef0861b1f5ee91a66988493821c1495 /pkgs/applications | |
parent | 9807281253b7e4f0d7555f6109f011b74e8ea1aa (diff) | |
download | nixlib-011cc930d2f1781d6e9e9d16a937adf57d29f7b5.tar nixlib-011cc930d2f1781d6e9e9d16a937adf57d29f7b5.tar.gz nixlib-011cc930d2f1781d6e9e9d16a937adf57d29f7b5.tar.bz2 nixlib-011cc930d2f1781d6e9e9d16a937adf57d29f7b5.tar.lz nixlib-011cc930d2f1781d6e9e9d16a937adf57d29f7b5.tar.xz nixlib-011cc930d2f1781d6e9e9d16a937adf57d29f7b5.tar.zst nixlib-011cc930d2f1781d6e9e9d16a937adf57d29f7b5.zip |
deluge: add patch for libtorrent >=0.16 compat
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/p2p/deluge/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/networking/p2p/deluge/default.nix b/pkgs/applications/networking/p2p/deluge/default.nix index c6e5d0f3cb31..7ca1e595c35d 100644 --- a/pkgs/applications/networking/p2p/deluge/default.nix +++ b/pkgs/applications/networking/p2p/deluge/default.nix @@ -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 ]; |