nixpkgs/pkgs/development/libraries/spirv-headers/default.nix

23 lines
540 B
Nix
Raw Normal View History

2019-02-17 09:52:31 -08:00
{ stdenv, fetchFromGitHub, cmake }:
2019-08-06 15:48:24 -07:00
2019-02-17 09:52:31 -08:00
stdenv.mkDerivation rec {
2019-08-06 15:48:24 -07:00
pname = "spirv-headers";
2020-07-27 18:29:42 -07:00
version = "1.5.3";
2019-02-17 09:52:31 -08:00
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Headers";
2019-08-06 15:48:24 -07:00
rev = version;
2020-07-27 18:29:42 -07:00
sha256 = "069sivqajp7z4p44lmrz23lvf237xpkjxd4lzrg27836pwqcz9bj";
2019-02-17 09:52:31 -08: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 ];
};
}