2022-02-10 20:34:41 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, olm }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
buildGoModule rec {
|
2020-06-18 07:06:33 +00:00
|
|
|
pname = "mautrix-whatsapp";
|
2023-02-16 17:41:37 +00:00
|
|
|
version = "0.8.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-08-08 23:34:03 +00:00
|
|
|
owner = "mautrix";
|
|
|
|
repo = "whatsapp";
|
2020-06-18 07:06:33 +00:00
|
|
|
rev = "v${version}";
|
2023-02-16 17:41:37 +00:00
|
|
|
hash = "sha256-0hnBqYwFVVlqv+8Cx2qvytDU6I+MPWQIpG4nYd7mPLM=";
|
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
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
vendorSha256 = "sha256-n3DBPI1gjbmP9m+xkGVoTSBcA0ELSokNZb9i3cYmAqc=";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
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";
|
2021-08-08 23:34:03 +00:00
|
|
|
license = licenses.agpl3Plus;
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = with maintainers; [ vskilet ma27 chvp ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-05-29 06:06:01 +00:00
|
|
|
}
|