anchor.diff:      ${python.interpreter} setup.py build
     '';
   
  -  postInstall = optionalString (channel == "head") ''
  +  postInstall = ''
       mkdir -pv $out/share/applications
       cp -Rv deluge/ui/data/pixmaps $out/share/
       cp -Rv deluge/ui/data/icons $out/share/
  
positive.code: { stdenv
  , buildPythonPackage
  , fetchgit
  , fetchTritonPatch
  , fetchurl
  , gettext
  , intltool
  , isPy3
  
negative.code:   src =
      if channel != "head" then
        fetchurl {
          url = "http://download.deluge-torrent.org/source/2.0/"
            + "deluge-${source.version}.tar.xz";
          inherit (source) sha256;
        }
      else
        fetchFromGitHub {
          version = source.fetchzipversion;
          owner = "deluge-torrent";
          repo = "deluge";
          inherit (source) rev sha256;
        };
  
  