nixpkgs/pkgs/tools/graphics/vkmark/default.nix
Sergei Trofimovich 29753a7cdf vkmark: unstable-2022-09-09 -> 2017.08-unstable-2023-04-12
Without the update build fails on `master` after `gcc-13` update as
https://hydra.nixos.org/build/249036926:

    In file included from ../src/benchmark.cpp:25:
    ../src/scene.h:79:5: error: 'uint64_t' does not name a type
       79 |     uint64_t start_time;
          |     ^~~~~~~~
2024-02-11 11:55:58 +00:00

54 lines
1.0 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, vulkan-headers
, vulkan-loader
, mesa
, wayland-protocols
, wayland
, glm
, assimp
, libxcb
, xcbutilwm
, unstableGitUpdater
}:
stdenv.mkDerivation rec {
pname = "vkmark";
version = "2017.08-unstable-2023-04-12";
src = fetchFromGitHub {
owner = "vkmark";
repo = "vkmark";
rev = "ab6e6f34077722d5ae33f6bd40b18ef9c0e99a15";
sha256 = "sha256-X1Y2U1aJymKrv3crJLN7tvXHG2W+w0W5gB2g00y4yvc=";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [
vulkan-headers
vulkan-loader
mesa
glm
assimp
libxcb
xcbutilwm
wayland
wayland-protocols
];
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "An extensible Vulkan benchmarking suite";
homepage = "https://github.com/vkmark/vkmark";
license = with licenses; [ lgpl21Plus ];
platforms = platforms.linux;
maintainers = with maintainers; [ muscaln ];
mainProgram = "vkmark";
};
}