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