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:
parent
ea4eeb3cd0
commit
94b2a0fc6b
21
pkgs/development/libraries/spirv-headers/default.nix
Normal file
21
pkgs/development/libraries/spirv-headers/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue