weechatScripts.wee-slack: init at 2.1.1

This commit is contained in:
Maximilian Bosch 2018-09-06 15:10:37 +02:00
parent 18d419141d
commit f5becfb5b0
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
2 changed files with 31 additions and 0 deletions

@ -8,4 +8,6 @@
weechat-matrix-bridge = callPackage ./weechat-matrix-bridge {
inherit (luaPackages) cjson;
};
wee-slack = callPackage ./wee-slack { };
}

@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "wee-slack-${version}";
version = "2.1.1";
src = fetchFromGitHub {
repo = "wee-slack";
owner = "wee-slack";
rev = "v${version}";
sha256 = "05caackz645aw6kljmiihiy7xz9jld8b9blwpmh0cnaihavgj1wc";
};
passthru.scripts = [ "wee_slack.py" ];
installPhase = ''
mkdir -p $out/share
cp wee_slack.py $out/share/wee_slack.py
'';
meta = with stdenv.lib; {
homepage = https://github.com/wee-slack/wee-slack;
license = licenses.mit;
maintainers = with maintainers; [ ma27 ];
description = ''
A WeeChat plugin for Slack.com. Synchronizes read markers, provides typing notification, search, etc..
'';
};
}