diff options
author | Timo Kaufmann <timokau@zoho.com> | 2020-04-21 23:44:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 23:44:41 +0000 |
commit | 379f7595d29d38017f6dc99e30e92696e197b52f (patch) | |
tree | 2e10cbdf12f7f91157a7456d4ac7cc27c80992ae /pkgs/tools/graphics | |
parent | 5bc177339098ebbfd7b7bcf92787b81a965e350c (diff) | |
parent | 9acb7daac2215fe7ec0724b82fa5e9048299d762 (diff) |
Merge pull request #79454 from Flakebi/spirv-cross
spirv-cross: init at 2020-01-16
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r-- | pkgs/tools/graphics/spirv-cross/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/spirv-cross/default.nix b/pkgs/tools/graphics/spirv-cross/default.nix new file mode 100644 index 000000000000..57b447b1ad79 --- /dev/null +++ b/pkgs/tools/graphics/spirv-cross/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchFromGitHub, cmake, python3 }: + +stdenv.mkDerivation rec { + pname = "spirv-cross"; + version = "2020-04-03"; + + src = fetchFromGitHub { + owner = "KhronosGroup"; + repo = "SPIRV-Cross"; + rev = version; + sha256 = "0489s29kqgq20clxqg22y299yxz23p0yjh87yhka705hm9skx4sa"; + }; + + nativeBuildInputs = [ cmake python3 ]; + + meta = with stdenv.lib; { + description = "A tool designed for parsing and converting SPIR-V to other shader languages"; + homepage = "https://github.com/KhronosGroup/SPIRV-Cross"; + platforms = platforms.linux; + license = licenses.asl20; + maintainers = with maintainers; [ Flakebi ]; + }; +} |