1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/servers/mautrix-whatsapp/default.nix
Charlotte Van Petegem a6692271eb
mautrix-whatsapp: specify agpl3plus license
e.g. f4a7394b67/bridgestate.go
mentions the option of using a later version.
2021-08-07 15:22:16 +02:00

29 lines
664 B
Nix

{ lib, buildGoModule, fetchFromGitHub, olm }:
buildGoModule rec {
pname = "mautrix-whatsapp";
version = "0.1.8";
src = fetchFromGitHub {
owner = "mautrix";
repo = "whatsapp";
rev = "v${version}";
sha256 = "bFuJa4pKwqQmpJDqYwA97CjrTeQ1Q8V/pNqD0ff6x/U=";
};
buildInputs = [ olm ];
vendorSha256 = "NTORR0ixVozUllWlGziTUSJNy1zHoPWQMZbmPUchpQ0=";
doCheck = false;
runVend = true;
meta = with lib; {
homepage = "https://github.com/tulir/mautrix-whatsapp";
description = "Matrix <-> Whatsapp hybrid puppeting/relaybot bridge";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ vskilet ma27 ];
};
}