summary refs log blame commit diff
path: root/pkgs/servers/mautrix-whatsapp/default.nix
blob: 892f797a00eac6cd897b5064e57f37fb0e9def0f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                           
 
               

                                      



                              

                                                                    

    


                                                                     




                                                                         
                                                     

    
{ stdenv, buildGoModule, fetchFromGitHub }:

buildGoModule {
  pname = "mautrix-whatsapp-unstable";
  version = "2019-11-17";

  src = fetchFromGitHub {
    owner = "tulir";
    repo = "mautrix-whatsapp";
    rev = "0fba1db6aa88a95ff567f44aa9be7ce6ef24787f";
    sha256 = "07cgpvicr6n897myx86mlnx7bydsxnf51lnjbv9dl5yyii73f957";
  };

  patches = [ ./0001-Add-missing-go-dependencies-to-go.sum.patch ];

  modSha256 = "0y0im3dz5z3rcsmnxkk0l6xqwcyxb0bi9h4arw7zblfy16iw6vrr";

  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 ma27 ];
  };
}