<commit_before>{ stdenv, lib, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "semver-tool";
  version = "3.2.0";

  src = fetchFromGitHub {
    owner = "fsaintjacques";
    repo = pname;
    rev = version;
    sha256 = "sha256-coy/g4nEvSN+0/aqK2r3EEIaoUcnsZhzX66H1qsK9ac=";
  };

  dontBuild = true; # otherwise we try to 'make' which fails.

  installPhase = ''
    runHook preInstall

    mkdir -p $out/bin
    install src/semver $out/bin

    runHook postInstall
  '';

  meta = with lib; {
    homepage = "https://github.com/fsaintjacques/semver-tool";
    description = "semver bash implementation";
    license = licenses.gpl3Plus;
    platforms = platforms.unix;<commit_msg>semver-tool: 3.2.0 -> 3.3.0<commit_after>{ stdenv, lib, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "semver-tool";
  version = "3.3.0";

  src = fetchFromGitHub {
    owner = "fsaintjacques";
    repo = pname;
    rev = version;
    sha256 = "sha256-LqZTHFiis4BYL1bnJoeuW56wf8+o38Ygs++CV9CKNhM=";
  };

  dontBuild = true; # otherwise we try to 'make' which fails.

  installPhase = ''
    runHook preInstall

    mkdir -p $out/bin
    install src/semver $out/bin

    runHook postInstall
  '';

  meta = with lib; {
    homepage = "https://github.com/fsaintjacques/semver-tool";
    description = "semver bash implementation";
    license = licenses.asl20;
    platforms = platforms.unix;
{'fraction_non_alphanumeric': 0.12652767792954708, 'fraction_numerical': 0.030913012221423435, 'mean_word_length': 3.1183431952662723, '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': '4224327', 'n_tokens_mistral': 556, 'n_tokens_neox': 517, 'n_words': 107}