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

23 lines
584 B
Nix
Raw Normal View History

2018-06-27 04:31:11 +01:00
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "vulkan-headers";
2020-01-29 06:25:05 +00:00
version = "1.2.131.1";
2018-06-27 04:31:11 +01:00
2019-08-31 17:04:31 +01:00
nativeBuildInputs = [ cmake ];
2018-06-27 04:31:11 +01:00
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "Vulkan-Headers";
2019-02-17 07:57:14 +00:00
rev = "sdk-${version}";
2020-01-29 06:25:05 +00:00
sha256 = "1yf42c2cnhx1y4wkxsdl6g653xl2vvamhpkldz6jb4ca5wk03gxf";
2018-06-27 04:31:11 +01:00
};
meta = with stdenv.lib; {
description = "Vulkan Header files and API registry";
homepage = "https://www.lunarg.com";
2018-06-27 04:31:11 +01:00
platforms = platforms.linux;
license = licenses.asl20;
maintainers = [ maintainers.ralith ];
};
}