<commit_before>{ lib
, stdenv
, fetchFromGitHub
, SDL2
, SDL2_image
, SDL2_mixer
, SDL2_ttf
, boost
, cmake
, gettext
, physfs
, pkg-config
, zip
}:

stdenv.mkDerivation rec {
  pname = "blockattack";
  version = "2.7.0";

  src = fetchFromGitHub {
    name = "${pname}-${version}-src";
    owner = "blockattack";
    repo = "blockattack-game";
    rev = "v${version}";
    hash = "sha256-ySLm3AdoJRiMRdla45OJh8ZIFYNh+HzjG2VnFqoWuZA=";
  };

  nativeBuildInputs = [
    cmake
    pkg-config
    gettext
    zip
  ];

  buildInputs = [
    SDL2
    SDL2_image
    SDL2_mixer
    SDL2_ttf
    SDL2_ttf
    boost
    physfs<commit_msg>blockattack: 2.7.0 -> 2.8.0<commit_after>{ lib
, stdenv
, fetchFromGitHub
, SDL2
, SDL2_image
, SDL2_mixer
, SDL2_ttf
, boost
, cmake
, gettext
, physfs
, pkg-config
, zip
}:

stdenv.mkDerivation rec {
  pname = "blockattack";
  version = "2.8.0";

  src = fetchFromGitHub {
    owner = "blockattack";
    repo = "blockattack-game";
    rev = "v${version}";
    hash = "sha256-2oKesdr2eNZhDlGrFRiH5/8APFkGJfxPCNvzFoIumdQ=";
  };

  nativeBuildInputs = [
    cmake
    pkg-config
    gettext
    zip
  ];

  buildInputs = [
    SDL2
    SDL2_image
    SDL2_mixer
    SDL2_ttf
    SDL2_ttf
    boost
    physfs
{'fraction_non_alphanumeric': 0.12016129032258065, 'fraction_numerical': 0.036290322580645164, 'mean_word_length': 2.7720364741641337, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '1864669', 'n_tokens_mistral': 581, 'n_tokens_neox': 536, 'n_words': 89}