<commit_before>{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc
, systemd, pango, cairo, gdk_pixbuf
, wayland, wayland-protocols
, fetchpatch }:

stdenv.mkDerivation rec {
  pname = "mako";
  version = "1.3";

  src = fetchFromGitHub {
    owner = "emersion";
    repo = pname;
    rev = "v${version}";
    sha256 = "17azdc37xsbmx13fkfp23vg9lznrv9fh6nhagn64wdq3nhsxm3b6";
  };

  # to be removed with next release
  patches = [
    (fetchpatch {
      url = "https://github.com/emersion/mako/commit/ca8e763f06756136c534b1bbd2e5b536be6b1995.patch";
      sha256 = "09mi7nn2vwc69igxxc6y2m36n3snhsz0ady99yabhrzl17k4ryds";
    })
  ];

  nativeBuildInputs = [ meson ninja pkgconfig scdoc wayland-protocols ];
  buildInputs = [ systemd pango cairo gdk_pixbuf wayland ];

  mesonFlags = [
    "-Dicons=enabled" "-Dman-pages=enabled" "-Dzsh-completions=true"
  ];

  meta = with stdenv.lib; {
    description = "A lightweight Wayland notification daemon";
    homepage = https://wayland.emersion.fr/mako/;
    license = licenses.mit;
    maintainers = with maintainers; [ dywedir ];
    platforms = platforms.linux;
  };
}<commit_msg>mako: 1.3 -> 1.4<commit_after>{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc
, systemd, pango, cairo, gdk_pixbuf
, wayland, wayland-protocols }:

stdenv.mkDerivation rec {
  pname = "mako";
  version = "1.4";

  src = fetchFromGitHub {
    owner = "emersion";
    repo = pname;
    rev = "v${version}";
    sha256 = "11ymiq6cr2ma0iva1mqybn3j6k73bsc6lv6pcbdq7hkhd4f9b7j9";
  };

  nativeBuildInputs = [ meson ninja pkgconfig scdoc wayland-protocols ];
  buildInputs = [ systemd pango cairo gdk_pixbuf wayland ];

  mesonFlags = [ "-Dzsh-completions=true" ];

  meta = with stdenv.lib; {
    description = "A lightweight Wayland notification daemon";
    homepage = https://wayland.emersion.fr/mako/;
    license = licenses.mit;
    maintainers = with maintainers; [ dywedir ];
    platforms = platforms.linux;
  };
}
{'fraction_non_alphanumeric': 0.1218144750254842, 'fraction_numerical': 0.047400611620795105, 'mean_word_length': 3.776155717761557, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 3, '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': '1545797', 'n_tokens_mistral': 807, 'n_tokens_neox': 748, 'n_words': 141}