2022-02-04 13:16:47 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, olm }:
|
2019-02-20 02:05:08 +01:00
|
|
|
|
2022-02-04 13:16:47 +01:00
|
|
|
buildGoModule rec {
|
2020-06-05 22:34:25 +02:00
|
|
|
pname = "mautrix-whatsapp";
|
2023-12-17 09:48:41 +01:00
|
|
|
version = "0.10.5";
|
2019-02-20 02:05:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-08-07 15:21:51 +02:00
|
|
|
owner = "mautrix";
|
|
|
|
repo = "whatsapp";
|
2021-06-15 22:09:08 +02:00
|
|
|
rev = "v${version}";
|
2023-12-17 09:48:41 +01:00
|
|
|
hash = "sha256-bn9nUTtpaEkzF2SEdCcKG27WQDL7xsgfgA/72wElQqA=";
|
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
|
|
|
|
2023-12-17 09:48:41 +01:00
|
|
|
vendorHash = "sha256-PDUSjza+0SDanQwKYQRuLzsiA/sHjRnG0xpzlzhkm+U=";
|
2020-08-04 02:26:27 +02:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
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";
|
2021-08-07 15:22:16 +02:00
|
|
|
license = licenses.agpl3Plus;
|
2022-05-17 09:59:52 +02:00
|
|
|
maintainers = with maintainers; [ vskilet ma27 chvp ];
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "mautrix-whatsapp";
|
2019-02-20 02:05:08 +01:00
|
|
|
};
|
2020-05-22 11:32:03 +02:00
|
|
|
}
|