mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
weechat-title!
This commit is contained in:
parent
17e7657f23
commit
e80ff15b82
3 changed files with 30 additions and 0 deletions
|
|
@ -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 { };
|
||||
|
|
|
|||
21
pkgs/weechat-title/default.nix
Normal file
21
pkgs/weechat-title/default.nix
Normal 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 ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue