moltenvk: 1.2.3 -> 1.2.4 (#242096)

* moltenvk: add updateScript

* moltenvk: fix invalid signature on MoltenVKShaderConverter

* moltenvk: 1.2.3 -> 1.2.4

https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.2.4
This commit is contained in:
Randy Eckenrode 2023-07-20 13:06:41 -06:00 committed by GitHub
parent ebcb68135f
commit 2014e8cad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
, stdenv
, fetchurl
, fetchFromGitHub
, gitUpdater
, cctools
, sigtool
, cereal
@ -23,7 +24,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "MoltenVK";
version = "1.2.3";
version = "1.2.4";
buildInputs = [
AppKit
@ -46,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "KhronosGroup";
repo = "MoltenVK";
rev = "v${finalAttrs.version}";
hash = "sha256-GPOF2lyo1eDf1GrPjcj0y1OuUHI/c80L9gSQM+4wEp0=";
hash = "sha256-BL46BgZHUpk0dpzmeZ/2W0msHxFwieeGDjmVB8Nb1J4=";
};
patches = [
@ -144,8 +145,13 @@ stdenv.mkDerivation (finalAttrs: {
postFixup = ''
install_name_tool -id "$out/lib/libMoltenVK.dylib" "$out/lib/libMoltenVK.dylib"
codesign -s - -f "$out/lib/libMoltenVK.dylib"
codesign -s - -f "$bin/bin/MoltenVKShaderConverter"
'';
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = {
description = "A Vulkan Portability implementation built on top of Apples Metal API";
homepage = "https://github.com/KhronosGroup/MoltenVK";