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-07-28 01:40:03 +01:00
version = "1.2.141.0";
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-07-28 01:40:03 +01:00
sha256 = "10nmx6y4llllfcczyfz76amd0vkqv09dj952d19zkzmmgcval7zq";
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 ];
};
}