<commit_before>{ stdenv, fetchgit, fetchFromGitHub, cmake, git, python3, libxcb
, python3Packages, glslang, pkgconfig, x11 }:

assert stdenv.system == "x86_64-linux";

stdenv.mkDerivation rec {
  name = "vulkan-loader-${version}";
  version = "1.0.21.0";

  src = fetchFromGitHub {
    owner = "KhronosGroup";
    repo = "Vulkan-LoaderAndValidationLayers";
    rev = "97e3b677d9681aa8d420c314edae96c4bf72246d";
    sha256 = "1y42rlffmr80rd4m0xfv2mfwd9qvd680i18vr0xs109narb6fm4f";
  };

  buildInputs = [ cmake git python3 libxcb python3Packages.lxml glslang
                  pkgconfig x11
                ];

  installPhase = ''
    mkdir -p $out/lib
    mkdir -p $out/bin
    cp loader/libvulkan.so* $out/lib
    cp demos/vulkaninfo $out/bin
  '';

  meta = with stdenv.lib; {
    description = "LunarG Vulkan loader";
    homepage    = http://www.lunarg.com;
    platforms   = platforms.linux;
  };
}<commit_msg>vulkan-loader: add `spirv-tools` as dependency<commit_after>{ stdenv, fetchgit, fetchFromGitHub, cmake, pkgconfig, git, python3,
  python3Packages, glslang, spirv-tools, x11, libxcb}:

assert stdenv.system == "x86_64-linux";

stdenv.mkDerivation rec {
  name = "vulkan-loader-${version}";
  version = "1.0.21.0";

  src = fetchFromGitHub {
    owner = "KhronosGroup";
    repo = "Vulkan-LoaderAndValidationLayers";
    rev = "97e3b677d9681aa8d420c314edae96c4bf72246d";
    sha256 = "1y42rlffmr80rd4m0xfv2mfwd9qvd680i18vr0xs109narb6fm4f";
  };

  buildInputs = [ cmake pkgconfig git python3 python3Packages.lxml
                  glslang spirv-tools x11 libxcb
                ];

  installPhase = ''
    mkdir -p $out/lib
    mkdir -p $out/bin
    cp loader/libvulkan.so* $out/lib
    cp demos/vulkaninfo $out/bin
  '';

  meta = with stdenv.lib; {
    description = "LunarG Vulkan loader";
    homepage    = http://www.lunarg.com;
    platforms   = platforms.linux;
  };
}
{'fraction_non_alphanumeric': 0.11864406779661017, 'fraction_numerical': 0.06885593220338983, 'mean_word_length': 3.1699779249448126, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4622050', 'n_tokens_mistral': 820, 'n_tokens_neox': 738, 'n_words': 134}