From e6f23b8b1eebf83d8c63582845c74bee3a54a4b5 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Tue, 18 Jun 2019 23:39:15 -0600 Subject: [PATCH] discord-{ptb,canary}: init; add `update-discord` --- maintainers/scripts/update-discord | 36 ++++++++ .../instant-messengers/discord/base.nix | 61 ++++++++++++ .../instant-messengers/discord/default.nix | 92 +++++++------------ pkgs/top-level/all-packages.nix | 15 ++- 4 files changed, 143 insertions(+), 61 deletions(-) create mode 100755 maintainers/scripts/update-discord create mode 100644 pkgs/applications/networking/instant-messengers/discord/base.nix diff --git a/maintainers/scripts/update-discord b/maintainers/scripts/update-discord new file mode 100755 index 000000000000..23ec6e401be4 --- /dev/null +++ b/maintainers/scripts/update-discord @@ -0,0 +1,36 @@ +#!/usr/bin/env bash +# script to generate `pkgs/networking/instant-messengers/discord/default.nix` + +set -e +exec >${1:?usage: $0 } + +cat <