summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlegendofmiracles <legendofmiracles@protonmail.com>2021-06-02 00:48:03 -0600
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-06-02 08:18:02 +0000
commit2d5507fcd128374d528337e00369b6b7943a0e8b (patch)
tree68d258ce1604e8891516d5329c02cf5c5e1af109
parentMerge pull request #125305 from NixOS/backport-125300-to-release-21.05 (diff)
downloadnixpkgs-origin/backport-125334-to-release-21.05.tar.gz
matterbridge: 1.12.1 -> 1.12.2origin/backport-125334-to-release-21.05
(cherry picked from commit a08f23039cf98d5b8648e2c3d6b872b348bac9d9)
-rw-r--r--pkgs/servers/matterbridge/default.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/servers/matterbridge/default.nix b/pkgs/servers/matterbridge/default.nix
index d6865df66cdb..a3e898e048ab 100644
--- a/pkgs/servers/matterbridge/default.nix
+++ b/pkgs/servers/matterbridge/default.nix
@@ -1,18 +1,18 @@
-{ lib, buildGoModule, fetchurl }:
+{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "matterbridge";
- version = "1.22.1";
+ version = "1.22.2";
- vendorSha256 = null;
-
- doCheck = false;
-
- src = fetchurl {
- url = "https://github.com/42wim/matterbridge/archive/v${version}.tar.gz";
- sha256 = "sha256-yV805OWFNOxKIGd6t2kRcUzdB8xYWYHFK+W2u/QPTXg=";
+ src = fetchFromGitHub {
+ owner = "42wim";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "sha256-H6Cy6yvX57QLNfZPeansZv6IJ4uQVqr0h24QsAlrLx8=";
};
+ vendorSha256 = null;
+
meta = with lib; {
description = "Simple bridge between Mattermost, IRC, XMPP, Gitter, Slack, Discord, Telegram, Rocket.Chat, Hipchat(via xmpp), Matrix and Steam";
homepage = "https://github.com/42wim/matterbridge";