depot/pkgs/tools/graphics/vkmark/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

53 lines
1,021 B
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 = "Extensible Vulkan benchmarking suite";
homepage = "https://github.com/vkmark/vkmark";
license = with licenses; [ lgpl21Plus ];
platforms = platforms.linux;
maintainers = with maintainers; [ muscaln ];
mainProgram = "vkmark";
};
}