<commit_before>{ lib, stdenv, fetchurl, boost, zlib, bzip2, wxGTK30 }:

stdenv.mkDerivation rec {
  pname = "xylib";
  version = "1.6";

  src = fetchurl {
    url = "https://github.com/wojdyr/xylib/releases/download/v${version}/${pname}-${version}.tar.bz2";
    sha256 = "1iqfrfrk78mki5csxysw86zm35ag71w0jvim0f12nwq1z8rwnhdn";
  };

  buildInputs = [ boost zlib bzip2 wxGTK30 ];

  meta = with lib; {
    description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";<commit_msg>xylib: migrate to wxGTK32<commit_after>{ lib
, stdenv
, fetchurl
, boost
, zlib
, bzip2
, wxGTK32
}:

stdenv.mkDerivation rec {
  pname = "xylib";
  version = "1.6";

  src = fetchurl {
    url = "https://github.com/wojdyr/xylib/releases/download/v${version}/${pname}-${version}.tar.bz2";
    sha256 = "1iqfrfrk78mki5csxysw86zm35ag71w0jvim0f12nwq1z8rwnhdn";
  };

  buildInputs = [
    boost
    zlib
    bzip2
    wxGTK32
  ];

  meta = with lib; {
    description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
{'fraction_non_alphanumeric': 0.12197231833910034, 'fraction_numerical': 0.050173010380622836, 'mean_word_length': 3.9444444444444446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4813933', 'n_tokens_mistral': 478, 'n_tokens_neox': 435, 'n_words': 94}