<commit_before>{ lib, stdenv, fetchFromGitHub, git, gnupg, installShellFiles }:

stdenv.mkDerivation rec {
  pname = "yadm";
  version = "3.1.0";

  buildInputs = [ git gnupg ];

  nativeBuildInputs = [ installShellFiles ];

  src = fetchFromGitHub {
    owner  = "TheLocehiliosan";
    repo   = "yadm";
    rev    = version;
    sha256 = "0ga0p28nvqilswa07bzi93adk7wx6d5pgxlacr9wl9v1h6cds92s";
  };

  dontConfigure = true;
  dontBuild = true;

  installPhase = ''
    runHook preInstall
    install -Dt $out/bin yadm
    runHook postInstall
  '';

  postInstall = ''
    installManPage yadm.1
    installShellCompletion --cmd yadm \
      --zsh completion/zsh/_yadm \
      --bash completion/bash/yadm
  '';

  meta = {
    homepage = "https://github.com/TheLocehiliosan/yadm";<commit_msg>yadm: 3.1.0 -> 3.1.1<commit_after>{ lib, stdenv, fetchFromGitHub, git, gnupg, installShellFiles }:

stdenv.mkDerivation rec {
  pname = "yadm";
  version = "3.1.1";

  buildInputs = [ git gnupg ];

  nativeBuildInputs = [ installShellFiles ];

  src = fetchFromGitHub {
    owner  = "TheLocehiliosan";
    repo   = "yadm";
    rev    = version;
    sha256 = "sha256-bgiRBlqEjDq0gQ0+aUWpFDeE2piFX3Gy2gEAXgChAOk=";
  };

  dontConfigure = true;
  dontBuild = true;

  installPhase = ''
    runHook preInstall
    install -Dt $out/bin yadm
    runHook postInstall
  '';

  postInstall = ''
    installManPage yadm.1
    installShellCompletion --cmd yadm \
      --zsh completion/zsh/_yadm \
      --bash completion/bash/yadm
  '';

  meta = {
    homepage = "https://github.com/TheLocehiliosan/yadm";
{'fraction_non_alphanumeric': 0.12342569269521411, 'fraction_numerical': 0.028337531486146095, 'mean_word_length': 2.913793103448276, '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': '7316242', 'n_tokens_mistral': 664, 'n_tokens_neox': 616, 'n_words': 109}