2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, olm }:
|
2019-02-20 02:05:08 +01:00
|
|
|
|
2020-06-05 22:34:25 +02:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mautrix-whatsapp";
|
2021-06-15 22:09:08 +02:00
|
|
|
version = "0.1.7";
|
2019-02-20 02:05:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tulir";
|
|
|
|
repo = "mautrix-whatsapp";
|
2021-06-15 22:09:08 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-PXahSrA+jBWreFhqCp1Ar9yYfIJGJfU2xH88Ax3fdkE=";
|
2019-02-20 02:05:08 +01:00
|
|
|
};
|
|
|
|
|
2020-05-22 11:32:03 +02:00
|
|
|
buildInputs = [ olm ];
|
2020-05-01 03:59:00 +02:00
|
|
|
|
2021-06-15 18:01:30 +02:00
|
|
|
vendorSha256 = "sha256-Iscojrn6wVnweOQV1GvhZ4QjUdTfDLOsCP1hVR4u/b4=";
|
2020-08-04 02:26:27 +02:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-22 18:35:01 +02:00
|
|
|
runVend = true;
|
2019-02-20 02:05:08 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/tulir/mautrix-whatsapp";
|
2019-02-20 02:05:08 +01:00
|
|
|
description = "Matrix <-> Whatsapp hybrid puppeting/relaybot bridge";
|
|
|
|
license = licenses.agpl3;
|
2019-09-04 18:40:46 +02:00
|
|
|
maintainers = with maintainers; [ vskilet ma27 ];
|
2019-02-20 02:05:08 +01:00
|
|
|
};
|
2020-05-22 11:32:03 +02:00
|
|
|
}
|