2019-09-04 18:40:46 +02:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2019-02-20 02:05:08 +01:00
|
|
|
|
2019-09-06 03:20:09 +02:00
|
|
|
buildGoModule {
|
2019-11-29 16:32:49 +01:00
|
|
|
pname = "mautrix-whatsapp-unstable";
|
|
|
|
version = "2019-11-17";
|
2019-02-20 02:05:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tulir";
|
|
|
|
repo = "mautrix-whatsapp";
|
2019-11-29 16:32:49 +01:00
|
|
|
rev = "0fba1db6aa88a95ff567f44aa9be7ce6ef24787f";
|
|
|
|
sha256 = "07cgpvicr6n897myx86mlnx7bydsxnf51lnjbv9dl5yyii73f957";
|
2019-02-20 02:05:08 +01:00
|
|
|
};
|
|
|
|
|
2019-11-29 16:32:49 +01:00
|
|
|
patches = [ ./0001-Add-missing-go-dependencies-to-go.sum.patch ];
|
|
|
|
|
|
|
|
modSha256 = "0y0im3dz5z3rcsmnxkk0l6xqwcyxb0bi9h4arw7zblfy16iw6vrr";
|
2019-02-20 02:05:08 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/tulir/mautrix-whatsapp;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|