1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/compilers/glslang/default.nix

28 lines
766 B
Nix
Raw Normal View History

2016-04-02 20:34:50 +01:00
{ stdenv, fetchFromGitHub, cmake, bison }:
stdenv.mkDerivation rec {
name = "glslang-git-${version}";
2017-01-30 01:15:34 +00:00
version = "2016-12-21";
2016-04-02 20:34:50 +01:00
# `vulkan-loader` requires a specific version of `glslang` as specified in
# `<vulkan-loader-repo>/glslang_revision`.
2016-04-02 20:34:50 +01:00
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "glslang";
2017-01-30 01:15:34 +00:00
rev = "807a0d9e2f4e176f75d62ac3c179c81800ec2608";
sha256 = "02jckgihqhagm73glipb4c6ri5fr3pnbxb5vrznn2vppyfdfghbj";
2016-04-02 20:34:50 +01:00
};
patches = [ ./install-headers.patch ];
buildInputs = [ cmake bison ];
enableParallelBuilding = true;
2016-04-02 20:34:50 +01:00
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Khronos reference front-end for GLSL and ESSL";
license = licenses.asl20;
platforms = platforms.linux;
2016-04-02 20:34:50 +01:00
};
}