nixpkgs/overlays/purple-slack/default.nix

33 lines
983 B
Nix
Raw Normal View History

self: super: {
purple-slack = super.purple-slack.overrideAttrs(old: {
version = "2023-05-15";
src = super.fetchFromGitHub {
owner = "dylex";
repo = "slack-libpurple";
rev = "1cfcf6694c0813d9362d31291e48b54fea1318b2";
sha256 = "ri6qFgWMVGQUse0A+q3VjvixoUC0zqCSMNw+vEIfgxI=";
};
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
# 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
patches = (old.patches or []) ++ [
# 3rd Party
./browser-based-auth.patch
# Own
./open-command.patch
# Send upstream
./call-command.patch
];
});
}