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