Skip to content

Commit

Permalink
mautrix-whatsapp: 2020-05-21 -> 2020-05-27
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed May 27, 2020
1 parent 45e53a7 commit 1b5925f
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions pkgs/servers/mautrix-whatsapp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,30 @@

buildGoModule {
pname = "mautrix-whatsapp-unstable";
version = "2020-05-21";
version = "2020-05-27";

src = fetchFromGitHub {
owner = "tulir";
repo = "mautrix-whatsapp";
rev = "b4949eec5982643502bb9787cf5e2872a78807c1";
sha256 = "1hjqxqfza6r7fsxr4fgwhfdwjzligxk416692xi4pavd5krfxxmd";
rev = "7cf19b0908dec6cb8239aebc3f79ee88dccbfc51";
sha256 = "14cadqvbcjd9vp6dix3jzn0l071r3i9sz0lwpppgzpid8mg9zbx4";
};

buildInputs = [ olm ];

vendorSha256 = "0ix65b48cpx6vkqmjizzij7zl8h2kjkfsa0s42vnmjdlmsv7yn42";
vendorSha256 = "01psqvxkf13had7gkg1cbzf2flac4a6ivlb7vfzw7s50vhwkb95d";

overrideModAttrs = _: {
postBuild = ''
rm -r vendor/github.com/chai2010/webp
cp -r --reflink=auto ${fetchFromGitHub {
owner = "chai2010";
repo = "webp";
rev = "3da79ec3d682694d42bfd211db18fc1343c07cd7";
sha256 = "0gh3g52vz8na153mjmxkl80g3dvrcjw77xpjs1c02vagpj9jyw46";
}} vendor/github.com/chai2010/webp
'';
};

meta = with stdenv.lib; {
homepage = "https://github.com/tulir/mautrix-whatsapp";
Expand Down

0 comments on commit 1b5925f

Please sign in to comment.