3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/spirv-headers/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
550 B
Nix
Raw Normal View History

{ 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";
version = "1.3.211.0";
2019-02-17 17:52:31 +00:00
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Headers";
rev = "sdk-${version}";
sha256 = "sha256-LkIrTFWYvZffLVJJW3152um5LTEsMJEDEsIhBAdhBlk=";
2019-02-17 17:52:31 +00:00
};
nativeBuildInputs = [ cmake ];
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 ];
};
}