<commit_before>{ stdenv, fetchFromGitHub, coreutils }:

stdenv.mkDerivation rec {
  name = "brightnessctl-${version}";
  version = "0.3.2";

  src = fetchFromGitHub {
    owner = "Hummer12007";
    repo = "brightnessctl";
    rev = "${version}";
    sha256 = "0amxhcikcgj04z81272kz35m5h5q4jx9x7v71h8yl1rv4b2lzh7z";
  };

  makeFlags = [ "MODE=0755" "PREFIX=" "DESTDIR=$(out)" ];
  installTargets = [ "install" "install_udev_rules" ];

  postPatch = ''
    substituteInPlace 90-brightnessctl.rules --replace /bin/ ${coreutils}/bin/
    substituteInPlace 90-brightnessctl.rules --replace %k '*'
  '';

  meta = {
    homepage = "https://github.com/Hummer12007/brightnessctl";
    maintainers = [ stdenv.lib.maintainers.Dje4321 ];<commit_msg>brightnessctl: 0.3.2 -> 0.4<commit_after>{ stdenv, fetchFromGitHub, coreutils }:

stdenv.mkDerivation rec {
  name = "brightnessctl-${version}";
  version = "0.4";

  src = fetchFromGitHub {
    owner = "Hummer12007";
    repo = "brightnessctl";
    rev = "${version}";
    sha256 = "1n1gb8ldgqv3vs565yhk1w4jfvrviczp94r8wqlkv5q6ab43c8w9";
  };

  makeFlags = [ "MODE=0755" "PREFIX=" "DESTDIR=$(out)" ];
  installTargets = [ "install" "install_udev_rules" ];

  postPatch = ''
    substituteInPlace 90-brightnessctl.rules --replace /bin/ ${coreutils}/bin/
    substituteInPlace 90-brightnessctl.rules --replace %k '*'
  '';

  meta = {
    homepage = "https://github.com/Hummer12007/brightnessctl";
    maintainers = [ stdenv.lib.maintainers.Dje4321 ];
{'fraction_non_alphanumeric': 0.15771812080536912, 'fraction_numerical': 0.06711409395973154, 'mean_word_length': 3.953488372093023, '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': '3850518', 'n_tokens_mistral': 646, 'n_tokens_neox': 573, 'n_words': 86}