self: super: { irssi = super.irssi.overrideAttrs (oldAttrs: { patches = [ (super.fetchurl { meta.description = "Irssi dynamic password patch"; url = "https://raw.githubusercontent.com/gandalf3/irssi-passwd/master/irssi-connection-set-key.patch"; sha256 = "0qgbdbhdc7qf3y1fn2j92xlnd5p37jncf1d5cql7wx9kndaqhisb"; }) ]; postInstall = '' wrapProgram "$out/bin/irssi" --suffix PERL5LIB : $PERL5LIB ''; buildInputs = oldAttrs.buildInputs ++ [ self.makeWrapper self.perlPackages.HTMLTree self.perlPackages.LWPProtocolHttps self.perlPackages.LWPUserAgent self.perlPackages.URI ]; }); }