<commit_before>{ lib, stdenv, fetchurl, pkg-config, python3, udev, systemd }:

let
  name = "media-player-info-24";
in

  stdenv.mkDerivation {
    inherit name;

    src = fetchurl {
      url = "https://www.freedesktop.org/software/media-player-info/${name}.tar.gz";
      sha256 = "0d0i7av8v369hzvlynwlrbickv1brlzsmiky80lrjgjh1gdldkz6";
    };

    buildInputs = [ udev systemd ];
    nativeBuildInputs = [ pkg-config python3 ];

    postPatch = ''
      patchShebangs ./tools
    '';

    configureFlags = [ "--with-udevdir=${placeholder "out"}/lib/udev" ];

    meta = with lib; {
      description = "A repository of data files describing media player capabilities";
      homepage = "https://www.freedesktop.org/wiki/Software/media-player-info/";
      license = licenses.bsd3;
      maintainers = with maintainers; [ ttuegel ];
      platforms = with platforms; linux;
    };
  }<commit_msg>media-player-info: rename name to pname&version<commit_after>{ lib, stdenv, fetchurl, pkg-config, python3, udev, systemd }:

stdenv.mkDerivation rec {
  pname = "media-player-info";
  version = "24";

  src = fetchurl {
    url = "https://www.freedesktop.org/software/media-player-info/${pname}-${version}.tar.gz";
    sha256 = "0d0i7av8v369hzvlynwlrbickv1brlzsmiky80lrjgjh1gdldkz6";
  };

  buildInputs = [ udev systemd ];
  nativeBuildInputs = [ pkg-config python3 ];

  postPatch = ''
    patchShebangs ./tools
  '';

  configureFlags = [ "--with-udevdir=${placeholder "out"}/lib/udev" ];

  meta = with lib; {
    description = "A repository of data files describing media player capabilities";
    homepage = "https://www.freedesktop.org/wiki/Software/media-player-info/";
    license = licenses.bsd3;
    maintainers = with maintainers; [ ttuegel ];
    platforms = with platforms; linux;
  };
}
{'fraction_non_alphanumeric': 0.1388888888888889, 'fraction_numerical': 0.022222222222222223, 'mean_word_length': 3.3502415458937196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2969650', 'n_tokens_mistral': 653, 'n_tokens_neox': 617, 'n_words': 119}