2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2019-08-06 23:48:24 +01:00
|
|
|
|
2019-02-17 17:52:31 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-06 23:48:24 +01:00
|
|
|
pname = "spirv-headers";
|
2021-10-30 01:44:21 +01:00
|
|
|
version = "unstable-2021-08-11";
|
2019-02-17 17:52:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "SPIRV-Headers";
|
2021-10-30 01:44:21 +01:00
|
|
|
rev = "e71feddb3f17c5586ff7f4cfb5ed1258b800574b";
|
|
|
|
sha256 = "sha256-9m0EBcgdya+KCNJHC3x+YV2sXoSNToTcgDkpeKzId6U=";
|
2019-02-17 17:52:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-02-17 17:52:31 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Machine-readable components of the Khronos SPIR-V Registry";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ralith ];
|
|
|
|
};
|
|
|
|
}
|