mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
mautrix-whatsapp: update to use runVend
This commit is contained in:
parent
3e92195923
commit
96908e4341
|
@ -13,19 +13,8 @@ buildGoModule rec {
|
|||
|
||||
buildInputs = [ olm ];
|
||||
|
||||
vendorSha256 = "0ixfawfavv5r1d01d4gmj87vf5vv6p3f7kv4rkhfv48ys0j0437a";
|
||||
|
||||
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
|
||||
'';
|
||||
};
|
||||
vendorSha256 = "05cqwprd1rcciw27wyz7lj1s3zmz2vq093vw1cx3kkjyf6lq8sk6";
|
||||
runVend = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/tulir/mautrix-whatsapp";
|
||||
|
|
Loading…
Reference in a new issue