<commit_before>{ stdenv, fetchFromGitHub, meson, ninja }:

stdenv.mkDerivation rec {
  pname = "libvmaf";
  version = "1.5.2";

  src = fetchFromGitHub {
    owner = "netflix";
    repo = "vmaf";
    rev = "v${version}";
    sha256 = "18w0z3w90fdbzsqaa4diwvq0xmvg0aiw4hi3aaa4pq0zgnb8g3mk";
  };

  sourceRoot = "source/libvmaf";

  nativeBuildInputs = [ meson ninja ];
  outputs = [ "out" "dev" ];
  doCheck = true;

  meta = with stdenv.lib; {
    homepage = "https://github.com/Netflix/vmaf";
    description = "Perceptual video quality assessment based on multi-method fusion (VMAF)";
    platforms = platforms.unix;
    license = licenses.asl20;
    maintainers = [ maintainers.cfsmp3 maintainers.marsam ];
  };

}<commit_msg>libvmaf: match upstream license<commit_after>{ stdenv, fetchFromGitHub, meson, ninja }:

stdenv.mkDerivation rec {
  pname = "libvmaf";
  version = "1.5.2";

  src = fetchFromGitHub {
    owner = "netflix";
    repo = "vmaf";
    rev = "v${version}";
    sha256 = "18w0z3w90fdbzsqaa4diwvq0xmvg0aiw4hi3aaa4pq0zgnb8g3mk";
  };

  sourceRoot = "source/libvmaf";

  nativeBuildInputs = [ meson ninja ];
  outputs = [ "out" "dev" ];
  doCheck = true;

  meta = with stdenv.lib; {
    homepage = "https://github.com/Netflix/vmaf";
    description = "Perceptual video quality assessment based on multi-method fusion (VMAF)";
    platforms = platforms.unix;
    license = licenses.bsd2Patent;
    maintainers = [ maintainers.cfsmp3 maintainers.marsam ];
  };

}
{'fraction_non_alphanumeric': 0.1341874578556979, 'fraction_numerical': 0.03169251517194875, 'mean_word_length': 3.608695652173913, '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': '2486042', 'n_tokens_mistral': 597, 'n_tokens_neox': 572, 'n_words': 109}