<commit_before>{ lib, stdenv, fetchFromGitHub, python3, bash }:

stdenv.mkDerivation rec {
  pname = "autojump";
  version = "22.5.3";

  src = fetchFromGitHub {
    owner = "wting";
    repo = "autojump";
    rev = "release-v${version}";
    sha256 = "1rgpsh70manr2dydna9da4x7p8ahii7dgdgwir5fka340n1wrcws";
  };

  nativeBuildInputs = [ python3 ];
  dontBuild = true;

  installPhase = ''<commit_msg>autojump: fixup python shebang after cross fix<commit_after>{ lib, stdenv, fetchFromGitHub, python3, bash }:

stdenv.mkDerivation rec {
  pname = "autojump";
  version = "22.5.3";

  src = fetchFromGitHub {
    owner = "wting";
    repo = "autojump";
    rev = "release-v${version}";
    sha256 = "1rgpsh70manr2dydna9da4x7p8ahii7dgdgwir5fka340n1wrcws";
  };

  buildInputs = [ python3 ];
  nativeBuildInputs = [ python3 ];
  dontBuild = true;
  strictDeps = true;

  installPhase = ''
{'fraction_non_alphanumeric': 0.13220338983050847, 'fraction_numerical': 0.05310734463276836, 'mean_word_length': 3.8950276243093924, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1064630', 'n_tokens_mistral': 382, 'n_tokens_neox': 358, 'n_words': 64}