<commit_before>{ stdenv, fetchFromGitHub, cairo, meson, ninja, wayland, pkgconfig, wayland-protocols }:

stdenv.mkDerivation rec {
  name = "slurp-${version}";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "emersion";
    repo = "slurp";
    rev = "v${version}";
    sha256 = "072lkwhpvr753wfqzmd994bnhbrgfavxcgqcyml7abab28sdhs1y";
  };

  nativeBuildInputs = [
    meson
    ninja
    pkgconfig
  ];

  buildInputs = [
    cairo
    wayland
    wayland-protocols
  ];

  meta = with stdenv.lib; {
    description = "Select a region in a Wayland compositor";
    homepage = https://github.com/emersion/slurp;
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = with maintainers; [ buffet ];<commit_msg>slurp: 1.0.1 -> 1.1.0<commit_after>{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
, cairo, wayland, wayland-protocols
, buildDocs ? true, scdoc
}:

stdenv.mkDerivation rec {
  pname = "slurp";
  version = "1.1.0";

  src = fetchFromGitHub {
    owner = "emersion";
    repo = "slurp";
    rev = "v${version}";
    sha256 = "15fqspg3cjl830l95ibibprxf9p13mc2rpyf9bdwsdx2f4qrkq62";
  };

  nativeBuildInputs = [
    meson
    ninja
    pkgconfig
  ] ++ stdenv.lib.optional buildDocs scdoc;

  buildInputs = [
    cairo
    wayland
    wayland-protocols
  ];

  mesonFlags = stdenv.lib.optional buildDocs "-Dman-pages=enabled";

  meta = with stdenv.lib; {
    description = "Select a region in a Wayland compositor";
    homepage = https://github.com/emersion/slurp;
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = with maintainers; [ buffet ];
{'fraction_non_alphanumeric': 0.12168004941321804, 'fraction_numerical': 0.02964793082149475, 'mean_word_length': 3.21875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '502244', 'n_tokens_mistral': 649, 'n_tokens_neox': 608, 'n_words': 120}