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

23 lines
582 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2018-06-27 04:31:11 +01:00
stdenv.mkDerivation rec {
pname = "vulkan-headers";
version = "1.2.162.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}";
sha256 = "057c49w1138l02v9gqsk1z8wdz0iilp96jblnldycwm9jc1a1ipq";
2018-06-27 04:31:11 +01:00
};
meta = with lib; {
2018-06-27 04:31:11 +01:00
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 ];
};
}