1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/compilers/glslang/default.nix

26 lines
703 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}";
version = "2016-08-26";
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";
rev = "81cd764b5ffc475bc73f1fb35f75fd1171bb2343";
sha256 = "1vfwl6lzkjh9nh29q32b7zca4q1abf3q4nqkahskijgznw5lr59g";
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";
};
}