Skip to content

Commit

Permalink
Merge pull request #221631 from PedroHLC/vulkan-caps-viewer-3.29
Browse files Browse the repository at this point in the history
vulkan-caps-viewer: 3.28 -> 3.29
  • Loading branch information
superherointj committed Mar 17, 2023
2 parents b6d10ae + 145ce73 commit 9b0777f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkgs/tools/graphics/vulkan-caps-viewer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@
, fetchFromGitHub
, qmake
, vulkan-loader
, wayland
, wrapQtAppsHook
, withX11 ? true
, qtx11extras
}:

stdenv.mkDerivation rec {
pname = "vulkan-caps-viewer";
version = "3.28";
version = "3.29";

src = fetchFromGitHub {
owner = "SaschaWillems";
repo = "VulkanCapsViewer";
rev = version;
hash = "sha256-gy0gFbPZAwQJHqJvk7WrbZ5y2I+9BGv9VaCoOW1QPek=";
hash = "sha256-c7jvlwvz85cf8lUlBPyRYvDkSlvkzSW6Jc6wlyKnHBc=";
# Note: this derivation strictly requires vulkan-header to be the same it was developed against.
# To help us, they've put it in a git-submodule.
# The result will work with any vulkan-loader version.
Expand All @@ -30,6 +31,7 @@ stdenv.mkDerivation rec {

buildInputs = [
vulkan-loader
wayland
] ++ lib.lists.optionals withX11 [ qtx11extras ];

patchPhase = ''
Expand All @@ -38,9 +40,8 @@ stdenv.mkDerivation rec {
'';

qmakeFlags = [
"DEFINES+=wayland"
"CONFIG+=release"
] ++ lib.lists.optionals withX11 [ "DEFINES+=X11" ];
];

installFlags = [ "INSTALL_ROOT=$(out)" ];

Expand Down

0 comments on commit 9b0777f

Please sign in to comment.