Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 44 lines 882 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 cmake, 6 vulkan-headers, 7 vulkan-loader, 8}: 9stdenv.mkDerivation { 10 pname = "monado-vulkan-layers"; 11 version = "0-unstable-2024-02-21"; 12 13 src = fetchFromGitLab { 14 domain = "gitlab.freedesktop.org"; 15 owner = "monado"; 16 repo = "utilities/vulkan-layers"; 17 rev = "ae43cdcbd25c56e3481bbc8a0ce2bfcebba9f7c2"; 18 sha256 = "sha256-QabYVKcenW+LQ+QSjUoQOLOQAVHdjE0YXd+1WsdzNPc="; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 ]; 24 25 buildInputs = [ 26 vulkan-headers 27 vulkan-loader 28 ]; 29 30 patches = [ 31 ./absolute-layer-path.patch 32 ]; 33 34 meta = with lib; { 35 description = "Vulkan Layers for Monado"; 36 homepage = "https://gitlab.freedesktop.org/monado/utilities/vulkan-layers"; 37 platforms = platforms.linux; 38 license = licenses.boost; 39 maintainers = with maintainers; [ 40 Scrumplex 41 passivelemon 42 ]; 43 }; 44}