1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

spirv-headers: init at 2019.1

This commit is contained in:
Benjamin Saunders 2019-02-17 09:52:31 -08:00
parent ea4eeb3cd0
commit 94b2a0fc6b
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "spirv-headers-${version}";
version = "2019.1"; # spirv-tools version whose DEPS file calls for this commit
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Headers";
rev = "79b6681aadcb53c27d1052e5f8a0e82a981dbf2f"; # from spirv-tools' DEPS
sha256 = "0flng2rdmc4ndq3j71h6wk1ibcjvhjrg2rzd6rv445vcsf0jh2pj";
};
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 ];
};
}

View file

@ -9103,6 +9103,7 @@ in
spin = callPackage ../development/tools/analysis/spin { };
spirv-headers = callPackage ../development/libraries/spirv-headers { };
spirv-tools = callPackage ../development/tools/spirv-tools { };
splint = callPackage ../development/tools/analysis/splint {