mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
mautrix-discord: init at 0.6.1
This commit is contained in:
parent
dcf4a134a6
commit
57838b4133
44
pkgs/servers/mautrix-discord/default.nix
Normal file
44
pkgs/servers/mautrix-discord/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, olm
|
||||||
|
, nix-update-script
|
||||||
|
, testers
|
||||||
|
, mautrix-discord
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "mautrix-discord";
|
||||||
|
version = "0.6.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mautrix";
|
||||||
|
repo = "discord";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-rs7wWlQMc79Vls+cqPPo+lRzYAGye4WcKKz+9EXlEBo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-ZI1+Tfru2OfnqLnaaiDL08OtSmbMBiRDvkL39+jhhmI=";
|
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
buildInputs = [ olm ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
tests.version = testers.testVersion {
|
||||||
|
package = mautrix-discord;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A Matrix-Discord puppeting bridge";
|
||||||
|
homepage = "https://github.com/mautrix/discord";
|
||||||
|
changelog = "https://github.com/mautrix/discord/blob/${src.rev}/CHANGELOG.md";
|
||||||
|
license = licenses.agpl3Only;
|
||||||
|
maintainers = with maintainers; [ MoritzBoehme ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9993,6 +9993,8 @@ with pkgs;
|
||||||
|
|
||||||
matrix-hookshot = callPackage ../servers/matrix-synapse/matrix-hookshot { };
|
matrix-hookshot = callPackage ../servers/matrix-synapse/matrix-hookshot { };
|
||||||
|
|
||||||
|
mautrix-discord = callPackage ../servers/mautrix-discord { };
|
||||||
|
|
||||||
mautrix-facebook = callPackage ../servers/mautrix-facebook { };
|
mautrix-facebook = callPackage ../servers/mautrix-facebook { };
|
||||||
|
|
||||||
mautrix-googlechat = callPackage ../servers/mautrix-googlechat { };
|
mautrix-googlechat = callPackage ../servers/mautrix-googlechat { };
|
||||||
|
|
Loading…
Reference in a new issue