<commit_before>{ lib
, rustPlatform
, fetchCrate
}:

rustPlatform.buildRustPackage rec {
  pname = "svdtools";
  version = "0.2.5";

  src = fetchCrate {
    inherit version pname;
    sha256 = "sha256-tN1GC4tQXyaA8bgq7wB/NZEdO14p/0f8BXtgTk6aOzg=";
  };

  cargoSha256 = "sha256-puaveP9a11rlGgsguCfueYXfYSd7Xew8ZRGeDP8WrSI=";

  meta = with lib; {
    description = "Tools to handle vendor-supplied, often buggy SVD files";<commit_msg>svdtools: 0.2.5 -> 0.2.6<commit_after>{ lib
, rustPlatform
, fetchCrate
}:

rustPlatform.buildRustPackage rec {
  pname = "svdtools";
  version = "0.2.6";

  src = fetchCrate {
    inherit version pname;
    sha256 = "sha256-y0RCUSk7YEE5bF/dVEuH/sTtHcVIT4+P0DVkPiNf54I=";
  };

  cargoSha256 = "sha256-PPoHTh8cjQMkD69BYk/HW/PwDV5j/OrHHpjFZdBqZxM=";

  meta = with lib; {
    description = "Tools to handle vendor-supplied, often buggy SVD files";
{'fraction_non_alphanumeric': 0.12145289443813848, 'fraction_numerical': 0.07037457434733257, 'mean_word_length': 4.127906976744186, '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': '4930959', 'n_tokens_mistral': 426, 'n_tokens_neox': 394, 'n_words': 63}