2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
|
2020-02-07 14:23:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "spirv-cross";
|
2021-01-25 13:47:00 +01:00
|
|
|
version = "2021-01-15";
|
2020-02-07 14:23:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "SPIRV-Cross";
|
|
|
|
rev = version;
|
2021-01-25 13:47:00 +01:00
|
|
|
sha256 = "/9/Owt7XcdOjujWZnaG1Q7FlywvsRo8/l8/CouS48Vk=";
|
2020-02-07 14:23:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake python3 ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-02-07 14:23:57 +01:00
|
|
|
description = "A tool designed for parsing and converting SPIR-V to other shader languages";
|
|
|
|
homepage = "https://github.com/KhronosGroup/SPIRV-Cross";
|
2020-09-23 11:41:35 +02:00
|
|
|
changelog = "https://github.com/KhronosGroup/SPIRV-Cross/releases/tag/${version}";
|
2021-03-18 16:24:08 +01:00
|
|
|
platforms = platforms.all;
|
2020-02-07 14:23:57 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ Flakebi ];
|
|
|
|
};
|
|
|
|
}
|