Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 27 lines 595 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "spirv-headers"; 10 version = "1.4.313.0"; 11 12 src = fetchFromGitHub { 13 owner = "KhronosGroup"; 14 repo = "SPIRV-Headers"; 15 rev = "vulkan-sdk-${version}"; 16 hash = "sha256-bUgt7m3vJYoozxgrA5hVTRcbPg3OAzht0e+MgTH7q9k="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 description = "Machine-readable components of the Khronos SPIR-V Registry"; 23 homepage = "https://github.com/KhronosGroup/SPIRV-Headers"; 24 license = licenses.mit; 25 maintainers = [ maintainers.ralith ]; 26 }; 27}