mautrix-whatsapp: update to use runVend
This commit is contained in:
parent
3e92195923
commit
96908e4341
|
@ -13,19 +13,8 @@ buildGoModule rec {
|
||||||
|
|
||||||
buildInputs = [ olm ];
|
buildInputs = [ olm ];
|
||||||
|
|
||||||
vendorSha256 = "0ixfawfavv5r1d01d4gmj87vf5vv6p3f7kv4rkhfv48ys0j0437a";
|
vendorSha256 = "05cqwprd1rcciw27wyz7lj1s3zmz2vq093vw1cx3kkjyf6lq8sk6";
|
||||||
|
runVend = true;
|
||||||
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; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/tulir/mautrix-whatsapp";
|
homepage = "https://github.com/tulir/mautrix-whatsapp";
|
||||||
|
|
Loading…
Reference in New Issue