nixpkgs/overlays/purple-slack/default.nix

33 lines
990 B
Nix
Raw Normal View History

self: super: {
purple-slack = super.purple-slack.overrideAttrs(old: {
2023-01-25 07:50:18 +01:00
version = "2023-01-19";
src = super.fetchFromGitHub {
owner = "dylex";
repo = "slack-libpurple";
2023-01-25 07:50:18 +01:00
rev = "6778b7c7ae28d9b62339262245c8ca7d11fb5a16";
sha256 = "sha256-smv2/bHLD5OJyUZhvgzqqzYO6NVWAY6d0dLamiXIEm4=";
};
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
];
});
}