2022-08-30 10:50:25 +02:00
|
|
|
self: super: {
|
2022-08-30 10:55:38 +02:00
|
|
|
purple-slack = super.purple-slack.overrideAttrs(old: {
|
2023-09-19 13:12:58 +02:00
|
|
|
version = "2023-05-15";
|
2022-08-30 10:50:25 +02:00
|
|
|
|
|
|
|
src = super.fetchFromGitHub {
|
|
|
|
owner = "dylex";
|
|
|
|
repo = "slack-libpurple";
|
2023-09-19 13:12:58 +02:00
|
|
|
rev = "1cfcf6694c0813d9362d31291e48b54fea1318b2";
|
|
|
|
sha256 = "ri6qFgWMVGQUse0A+q3VjvixoUC0zqCSMNw+vEIfgxI=";
|
2022-08-30 10:50:25 +02:00
|
|
|
};
|
|
|
|
|
2022-09-01 16:44:09 +02:00
|
|
|
# Further ideas to add:
|
2022-09-07 13:57:31 +02:00
|
|
|
# Adjust color of text rendered to start call or open chat
|
2022-09-01 16:44:09 +02:00
|
|
|
# Add command to react to messages
|
2023-01-25 07:50:18 +01:00
|
|
|
# https://github.com/dylex/slack-libpurple/issues/155
|
2022-09-02 11:18:33 +02:00
|
|
|
# Support sending of files
|
2022-09-01 16:44:09 +02:00
|
|
|
# Prevent duplicates of incoming messages (happens from time to time)
|
2023-01-25 07:50:18 +01:00
|
|
|
# https://github.com/dylex/slack-libpurple/issues/155
|
2022-09-01 16:44:09 +02:00
|
|
|
# Formatting (bold, italic, …) see: https://github.com/dylex/slack-libpurple/pull/122
|
|
|
|
# Receive reactions
|
2022-08-30 10:50:25 +02:00
|
|
|
patches = (old.patches or []) ++ [
|
2022-09-02 11:18:33 +02:00
|
|
|
# 3rd Party
|
2022-08-30 10:50:25 +02:00
|
|
|
./browser-based-auth.patch
|
2022-09-02 11:18:33 +02:00
|
|
|
|
|
|
|
# Own
|
2022-09-01 16:30:28 +02:00
|
|
|
./open-command.patch
|
2022-09-02 11:18:33 +02:00
|
|
|
|
|
|
|
# Send upstream
|
|
|
|
./call-command.patch
|
2022-08-30 10:50:25 +02:00
|
|
|
];
|
|
|
|
});
|
|
|
|
}
|