]> Git — Sourcephile - julm/julm-nix.git/blob - nixpkgs/overlays/irssi.nix
bash: add riseup alias
[julm/julm-nix.git] / nixpkgs / overlays / irssi.nix
1 self: super: {
2 irssi = super.irssi.overrideAttrs (oldAttrs: {
3 patches = [ (super.fetchurl
4 { meta.description = "Irssi dynamic password patch";
5 url = "https://raw.githubusercontent.com/gandalf3/irssi-passwd/master/irssi-connection-set-key.patch";
6 sha256 = "0qgbdbhdc7qf3y1fn2j92xlnd5p37jncf1d5cql7wx9kndaqhisb";
7 })
8 ];
9 postInstall = ''
10 wrapProgram "$out/bin/irssi" --suffix PERL5LIB : $PERL5LIB
11 '';
12 buildInputs = oldAttrs.buildInputs ++ [
13 self.makeWrapper
14 self.perlPackages.HTMLTree
15 self.perlPackages.LWPProtocolHttps
16 self.perlPackages.LWPUserAgent
17 self.perlPackages.URI
18 ];
19 });
20 }