summary refs log tree commit diff
path: root/pkgs/tools/graphics/vulkan-tools-lunarg/default.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-08-22 20:02:16 +0300
committerK900 <me@0upti.me>2023-08-22 20:31:45 +0300
commit8d8f1def2137e50320dde46597d4719df48e803c (patch)
tree22c9ab6fd74b0124af01037ce3c5a1e764eec52c /pkgs/tools/graphics/vulkan-tools-lunarg/default.nix
parent6c37d0f5744de2e0fa7e7853c058a6dff1457f47 (diff)
downloadnixpkgs-8d8f1def2137e50320dde46597d4719df48e803c.tar
nixpkgs-8d8f1def2137e50320dde46597d4719df48e803c.tar.gz
nixpkgs-8d8f1def2137e50320dde46597d4719df48e803c.tar.bz2
nixpkgs-8d8f1def2137e50320dde46597d4719df48e803c.tar.lz
nixpkgs-8d8f1def2137e50320dde46597d4719df48e803c.tar.xz
nixpkgs-8d8f1def2137e50320dde46597d4719df48e803c.tar.zst
nixpkgs-8d8f1def2137e50320dde46597d4719df48e803c.zip
vulkan-tools-lunarg: 1.3.250 -> 1.3.261
Diff: https://github.com/LunarG/VulkanTools/compare/v1.3.250...v1.3.261
Diffstat (limited to 'pkgs/tools/graphics/vulkan-tools-lunarg/default.nix')
-rw-r--r--pkgs/tools/graphics/vulkan-tools-lunarg/default.nix16
1 files changed, 6 insertions, 10 deletions
diff --git a/pkgs/tools/graphics/vulkan-tools-lunarg/default.nix b/pkgs/tools/graphics/vulkan-tools-lunarg/default.nix
index 8dec2e5130e..072876e46de 100644
--- a/pkgs/tools/graphics/vulkan-tools-lunarg/default.nix
+++ b/pkgs/tools/graphics/vulkan-tools-lunarg/default.nix
@@ -5,6 +5,7 @@
 , python3
 , jq
 , expat
+, jsoncpp
 , libX11
 , libXdmcp
 , libXrandr
@@ -24,13 +25,13 @@
 
 stdenv.mkDerivation rec {
   pname = "vulkan-tools-lunarg";
-  version = "1.3.250";
+  version = "1.3.261";
 
   src = fetchFromGitHub {
    owner = "LunarG";
    repo = "VulkanTools";
    rev = "v${version}";
-   hash = "sha256-oI2ITvciuE/f8ojFpIwcH+HnYCasz43nKkER3wJxX+c=";
+   hash = "sha256-Kem3nWVaMeDEsidKYMsWr9Bu0yBgjjennDB0sKBDogA=";
    fetchSubmodules = true;
  };
 
@@ -38,6 +39,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     expat
+    jsoncpp
     libX11
     libXdmcp
     libXrandr
@@ -70,6 +72,8 @@ stdenv.mkDerivation rec {
     patchShebangs scripts/*
     sed -i '/^git /d' $update
     ./$update
+
+    substituteInPlace via/CMakeLists.txt --replace "jsoncpp_static" "jsoncpp"
   '';
 
   # Include absolute paths to layer libraries in their associated
@@ -82,14 +86,6 @@ stdenv.mkDerivation rec {
   '';
 
   patches = [
-    # Redefine an internal macro removed in vulkan-validation-layers
-    # FIXME: remove when fixed upstream
-    ./add-missing-macro-definition.patch
-
-    # Skip QNX-specific extension causing build failures
-    # FIXME: remove when fixed upstream
-    ./skip-qnx-extension.patch
-
     ./gtest.patch
   ];