<commit_before>{ stdenv, fetchurl, unzip }:

stdenv.mkDerivation {
  name = "avr8-burn-omat-2.0.1";

  src = fetchurl {
    url = http://avr8-burn-o-mat.brischalle.de/AVR8_Burn-O-Mat_2_0_1.zip;
    sha256 = "0nqlrbsx7z5r3b9y9wb6b7wawa3yxwx07zn7l4g4s59scxah2skk";
  };

  buildInputs = [unzip];

  phases = "unpackPhase installPhase";

  # move to nix-support to not create that many symlinks..
  # TODO burnomat tries to read /usr/local/etc/avrdude.conf (but you can edit it within the settings dialog)
  installPhase = ''
    mkdir -p $out/{nix-support,bin}
    mv *.jar license_gpl-3.0.txt lib *.xml *.png $out/nix-support
    cat >> $out/bin/avr8-burn-omat << EOF
      #!/bin/sh
      cd $out/nix-support; exec java -jar AVR8_Burn_O_Mat.jar
    EOF
    chmod +x $out/bin/avr8-burn-omat
  '';

  meta = { 
    description = "GUI tool for avrdude";
    homepage = http://avr8-burn-o-mat.brischalle.de/avr8_burn_o_mat_avrdude_gui_en.html;
    license = stdenv.lib.licenses.gpl3;
  };
}<commit_msg>avr8-burn-omat: update to version 2.1.2<commit_after>{ stdenv, fetchurl, unzip }:

stdenv.mkDerivation {
  name = "avr8-burn-omat-2.1.2";

  src = fetchurl {
    url = http://avr8-burn-o-mat.aaabbb.de/AVR8_Burn-O-Mat_2_1_2.zip;
    sha256 = "1sik243xqx7kbdddcq3va8h8q2wijf9ffhgp752hx725x3pjh9ss";
  };

  buildInputs = [ unzip ];

  phases = "unpackPhase installPhase";

  # move to nix-support to not create that many symlinks..
  # TODO burnomat tries to read /usr/local/etc/avrdude.conf (but you can edit it within the settings dialog)
  installPhase = ''
    mkdir -p $out/{nix-support,bin}
    mv *.jar license_gpl-3.0.txt lib *.xml *.png $out/nix-support
    cat >> $out/bin/avr8-burn-omat << EOF
      #!/bin/sh
      cd $out/nix-support; exec java -jar AVR8_Burn_O_Mat.jar
    EOF
    chmod +x $out/bin/avr8-burn-omat
  '';

  meta = with stdenv.lib; {
    description = "GUI tool for avrdude";
    homepage = http://avr8-burn-o-mat.aaabbb.de/avr8_burn_o_mat_avrdude_gui_en.html;
    license = stdenv.lib.licenses.gpl3;
    platforms = platforms.all;
  };
}
{'fraction_non_alphanumeric': 0.13766359670382938, 'fraction_numerical': 0.03829374697043141, 'mean_word_length': 3.0710059171597632, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4250996', 'n_tokens_mistral': 920, 'n_tokens_neox': 865, 'n_words': 162}