2019-02-20 02:05:08 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "mautrix-unstable-${version}";
|
2019-06-09 12:54:31 +02:00
|
|
|
version = "2019-07-04";
|
2019-02-20 02:05:08 +01:00
|
|
|
|
|
|
|
goPackagePath = "maunium.net/go/mautrix-whatsapp";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tulir";
|
|
|
|
repo = "mautrix-whatsapp";
|
2019-06-09 12:54:31 +02:00
|
|
|
rev = "29f5ae45c4b22f463003b23e355b951831f08b3e";
|
|
|
|
sha256 = "12209m3x01i7bnnkg57ag1ivsk6n6pqaqfin7y02irgi3i3rm31r";
|
2019-02-20 02:05:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/tulir/mautrix-whatsapp;
|
|
|
|
description = "Matrix <-> Whatsapp hybrid puppeting/relaybot bridge";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ vskilet ];
|
|
|
|
};
|
|
|
|
}
|