a6692271eb
e.g. f4a7394b67/bridgestate.go
mentions the option of using a later version.
29 lines
664 B
Nix
29 lines
664 B
Nix
{ lib, buildGoModule, fetchFromGitHub, olm }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mautrix-whatsapp";
|
|
version = "0.1.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mautrix";
|
|
repo = "whatsapp";
|
|
rev = "v${version}";
|
|
sha256 = "bFuJa4pKwqQmpJDqYwA97CjrTeQ1Q8V/pNqD0ff6x/U=";
|
|
};
|
|
|
|
buildInputs = [ olm ];
|
|
|
|
vendorSha256 = "NTORR0ixVozUllWlGziTUSJNy1zHoPWQMZbmPUchpQ0=";
|
|
|
|
doCheck = false;
|
|
|
|
runVend = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/tulir/mautrix-whatsapp";
|
|
description = "Matrix <-> Whatsapp hybrid puppeting/relaybot bridge";
|
|
license = licenses.agpl3Plus;
|
|
maintainers = with maintainers; [ vskilet ma27 ];
|
|
};
|
|
}
|