anchor.diff:      '';
       license = licenses.publicDomain;
       platforms = with platforms; linux ++ darwin;
  -    maintainers = with maintainers; [ bluescreen303 phreedom AndersonTorres fuuzetsu fpletz ];
  +    maintainers = with maintainers; [ bluescreen303 phreedom AndersonTorres fuuzetsu fpletz enzime ];
     };
   }
  
positive.code:   makeWrapperArgs = let
        packagesToBinPath =
          [ atomicparsley ]
          ++ optional ffmpegSupport ffmpeg
          ++ optional rtmpSupport rtmpdump
          ++ optional phantomjsSupport phantomjs2;
      in [ ''--prefix PATH : "${makeBinPath packagesToBinPath}"'' ];
  
    postInstall = ''
      mkdir -p $out/share/zsh/site-functions
  
negative.code: , hlsEncryptedSupport ? true
  , makeWrapper }:
  
  buildPythonPackage rec {
  
    pname = "youtube-dl";
    version = "2018.07.10";
  
    src = fetchurl {
      url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
      sha256 = "1rigah941k2drzx5qz937lk68gw9jrizj5lgd9f9znp0bgi2d0xd";
    };
  
    nativeBuildInputs = [ makeWrapper ];
    buildInputs = [ zip ] ++ lib.optional generateManPage pandoc;
    propagatedBuildInputs = lib.optional hlsEncryptedSupport pycryptodome;
  
    # Ensure ffmpeg is available in $PATH for post-processing & transcoding support.
    # rtmpdump is required to download files over RTMP
  