mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
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:
parent
ebcb68135f
commit
2014e8cad0
|
@ -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 Apple’s Metal API";
|
||||
homepage = "https://github.com/KhronosGroup/MoltenVK";
|
||||
|
|
Loading…
Reference in a new issue