1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/servers/matterbridge/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

22 lines
691 B
Nix

{ stdenv, buildGoPackage, fetchurl }:
buildGoPackage rec {
pname = "matterbridge";
version = "1.11.0";
goPackagePath = "github.com/42wim/matterbridge";
src = fetchurl {
url = "https://github.com/42wim/matterbridge/archive/v${version}.tar.gz";
sha256 = "1fjpgdaq4mfgf36gzk3hhmlbpfn44b7xll2rdpy69y460jrjfg6k";
};
meta = with stdenv.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;
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
};
}