Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, cmake, python3 }: 2 3stdenv.mkDerivation (finalAttrs: { 4 pname = "spirv-cross"; 5 version = "1.3.243.0"; 6 7 src = fetchFromGitHub { 8 owner = "KhronosGroup"; 9 repo = "SPIRV-Cross"; 10 rev = "sdk-${finalAttrs.version}"; 11 hash = "sha256-snxbTI4q0YQq8T5NQD3kcsN59iJnhlLiu1Fvr+fCDeQ="; 12 }; 13 14 nativeBuildInputs = [ cmake python3 ]; 15 16 meta = with lib; { 17 description = "A tool designed for parsing and converting SPIR-V to other shader languages"; 18 homepage = "https://github.com/KhronosGroup/SPIRV-Cross"; 19 changelog = "https://github.com/KhronosGroup/SPIRV-Cross/releases/tag/${version}"; 20 platforms = platforms.all; 21 license = licenses.asl20; 22 maintainers = with maintainers; [ Flakebi ]; 23 }; 24})