weechatScripts.wee-slack: 2.2.0 -> 2.3.0

This commit is contained in:
geistesk 2019-06-05 22:17:24 +02:00
parent 57507ca0b1
commit 1420e7dea8
2 changed files with 8 additions and 8 deletions

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "wee-slack-${version}";
version = "2.2.0";
version = "2.3.0";
src = fetchFromGitHub {
repo = "wee-slack";
owner = "wee-slack";
rev = "v${version}";
sha256 = "1iy70q630cgs7fvk2151fq9519dwxrlqq862sbrwypzr6na6yqpg";
sha256 = "0544j6vqbvb2xshq7ma2a3apx2vvpgfg3jh5prg265wnh4991nsw";
};
patches = [

View File

@ -1,13 +1,13 @@
diff --git a/wee_slack.py b/wee_slack.py
index c5c7bc6..23fef2f 100644
index dbe6446..d1b7546 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -25,6 +25,8 @@ try:
except:
from StringIO import StringIO
@@ -25,6 +25,8 @@ import random
import socket
import string
+sys.path.append('@env@')
+
from websocket import create_connection, WebSocketConnectionClosedException
from websocket import ABNF, create_connection, WebSocketConnectionClosedException
# hack to make tests possible.. better way?
try: