weechat-title!

This commit is contained in:
kat witch 2021-03-24 22:52:29 +00:00
parent 17e7657f23
commit e80ff15b82
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
3 changed files with 30 additions and 0 deletions

View file

@ -27,6 +27,10 @@ let
pkgs = self;
};
weechatScripts = super.weechatScripts // {
weechat-title = (super.callPackage ./weechat-title { });
};
screenstub = unstable.callPackage ./screenstub { };
kat-weather = super.callPackage ./kat-weather { };

View file

@ -0,0 +1,21 @@
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "title.py";
version = "2011-11-15";
sha256 = "1h8mxpv47q3inhynlfjm3pdjxlr2fl06z4cdhr06kpm8f7xvz56p";
src = fetchurl {
name = pname;
url = "https://weechat.org/files/scripts/title.py";
sha256 = sha256;
};
unpackPhase = "true";
installPhase = ''
install -D $src $out/share/title.py
'';
passthru.scripts = [ pname ];
}