Merge pull request #62738 from geistesk/wee-slack-2.3

weechatScripts.wee-slack: 2.2.0 -> 2.3.0
This commit is contained in:
Maximilian Bosch 2019-06-07 18:39:01 +02:00 committed by GitHub
commit 23bd9e7e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: