depot/third_party/nixpkgs/pkgs/tools/graphics/vkmark/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

50 lines
944 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, vulkan-headers
, vulkan-loader
, mesa
, wayland-protocols
, wayland
, glm
, assimp
, libxcb
, xcbutilwm
}:
stdenv.mkDerivation rec {
pname = "vkmark";
version = "unstable-2022-09-09";
src = fetchFromGitHub {
owner = "vkmark";
repo = "vkmark";
rev = "30d2cd37f0566589d90914501fc7c51a4e51f559";
sha256 = "sha256-/awEJbmSiNJT71bijI5mrJkKN4DhRNxXO/qYpQECFnA=";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [
vulkan-headers
vulkan-loader
mesa
glm
assimp
libxcb
xcbutilwm
wayland
wayland-protocols
];
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";
};
}