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

23 lines
582 B
Nix
Raw Normal View History

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