2019-02-17 17:52:31 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
2019-08-06 22:48:24 +00:00
|
|
|
|
2019-02-17 17:52:31 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-06 22:48:24 +00:00
|
|
|
pname = "spirv-headers";
|
2019-10-24 00:59:30 +00:00
|
|
|
version = "1.5.1";
|
2019-02-17 17:52:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "SPIRV-Headers";
|
2019-08-06 22:48:24 +00:00
|
|
|
rev = version;
|
2019-10-24 00:59:30 +00:00
|
|
|
sha256 = "1fnd8qwss6pxcch5j9qi1pdz70828zxsg4m8apgrhyj0p9lm0rbg";
|
2019-02-17 17:52:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Machine-readable components of the Khronos SPIR-V Registry";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ralith ];
|
|
|
|
};
|
|
|
|
}
|