1 { lib, stdenv, fetchFromGitHub, cmake, python3 }:
3 stdenv.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
8 owner = "KhronosGroup";
10 rev = "sdk-${finalAttrs.version}";
11 hash = "sha256-snxbTI4q0YQq8T5NQD3kcsN59iJnhlLiu1Fvr+fCDeQ=";
14 nativeBuildInputs = [ cmake python3 ];
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 ];