<commit_before>{ lib, stdenv, fetchurl, unzip }:

stdenv.mkDerivation {
  name = "dlx-2012.07.08";

  src = fetchurl {
    url = "https://www.davidviner.com/zip/dlx/dlx.zip";
    sha256 = "0q5hildq2xcig7yrqi26n7fqlanyssjirm7swy2a9icfxpppfpkn";
  };

  nativeBuildInputs = [ unzip ];

  makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "LINK=${stdenv.cc.targetPrefix}cc" "CFLAGS=-O2" ];

  hardeningDisable = [ "format" ];

  installPhase = ''
    mkdir -p $out/include/dlx $out/share/dlx/{examples,doc} $out/bin
    mv -v masm mon dasm $out/bin/
    mv -v *.i auto.a $out/include/dlx/
    mv -v *.a *.m $out/share/dlx/examples/
    mv -v README.txt MANUAL.TXT $out/share/dlx/doc/
  '';

  meta = {
    homepage = "http://www.davidviner.com/dlx.php";
    description = "DLX Simulator";
    license = lib.licenses.gpl2;
    platforms = lib.platforms.all;
  };
}<commit_msg>dlx: cleanup (#93655)<commit_after>{ lib, stdenv, fetchzip }:

stdenv.mkDerivation rec {
  pname = "dlx";
  version = "2012-07-08";

  src = fetchzip {
    url = "https://www.davidviner.com/zip/dlx/dlx.zip";
    sha256 = "0508linnar9ivy3xr99gzrb2l027ngx12dlxaxs7w67cnwqnb0dg";
  };

  makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "LINK=${stdenv.cc.targetPrefix}cc" "CFLAGS=-O2" ];
  hardeningDisable = [ "format" ];

  installPhase = ''
    mkdir -p $out/include/dlx $out/share/dlx/{examples,doc} $out/bin
    mv masm mon dasm $out/bin/
    mv *.i auto.a $out/include/dlx/
    mv *.a *.m $out/share/dlx/examples/
    mv README.txt MANUAL.TXT $out/share/dlx/doc/
  '';

  meta = with lib; {
    homepage = "https://www.davidviner.com/dlx.html?name=DLX+Simulator";
    description = "An DLX simulator written in C";
    license = licenses.gpl2Only;
    platforms = platforms.linux;
  };
}
{'fraction_non_alphanumeric': 0.1707455890722823, 'fraction_numerical': 0.03357996585088219, 'mean_word_length': 3.1658767772511847, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 4, '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': '4651188', 'n_tokens_mistral': 789, 'n_tokens_neox': 731, 'n_words': 122}