directx-shader-compiler: Add Darwin support
This commit is contained in:
parent
6ea2fd15d8
commit
be8a89e784
|
@ -36,14 +36,14 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/lib $dev/include
|
mkdir -p $out/bin $out/lib $dev/include
|
||||||
mv bin/dxc* $out/bin/
|
mv bin/dxc* $out/bin/
|
||||||
mv lib/libdxcompiler.so* $out/lib/
|
mv lib/libdxcompiler.so* lib/libdxcompiler.*dylib $out/lib/
|
||||||
cp -r $src/include/dxc $dev/include/
|
cp -r $src/include/dxc $dev/include/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A compiler to compile HLSL programs into DXIL and SPIR-V";
|
description = "A compiler to compile HLSL programs into DXIL and SPIR-V";
|
||||||
homepage = "https://github.com/microsoft/DirectXShaderCompiler";
|
homepage = "https://github.com/microsoft/DirectXShaderCompiler";
|
||||||
platforms = platforms.linux;
|
platforms = with platforms; linux ++ darwin;
|
||||||
license = licenses.ncsa;
|
license = licenses.ncsa;
|
||||||
maintainers = with maintainers; [ expipiplus1 ];
|
maintainers = with maintainers; [ expipiplus1 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue