2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, olm }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mautrix-whatsapp";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.1.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tulir";
|
|
|
|
repo = "mautrix-whatsapp";
|
2020-06-18 07:06:33 +00:00
|
|
|
rev = "v${version}";
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-PXahSrA+jBWreFhqCp1Ar9yYfIJGJfU2xH88Ax3fdkE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
buildInputs = [ olm ];
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
vendorSha256 = "sha256-Iscojrn6wVnweOQV1GvhZ4QjUdTfDLOsCP1hVR4u/b4=";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
runVend = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/tulir/mautrix-whatsapp";
|
|
|
|
description = "Matrix <-> Whatsapp hybrid puppeting/relaybot bridge";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ vskilet ma27 ];
|
|
|
|
};
|
2020-05-29 06:06:01 +00:00
|
|
|
}
|