<commit_before>{ stdenv, fetchurl, makeWrapper, jdk, selenium-server-standalone }:

with stdenv.lib;
let
    name = "selendroid-standalone-${version}";
    pluginName = "selendroid-grid-plugin-${version}";
    version = "0.11.0";
    srcs = {
      jar = fetchurl {
        url = "https://github.com/selendroid/selendroid/releases/download/${version}/${name}-with-dependencies.jar";
        sha256 = "1p6k974pr2634q1g65wx243cxdqhac63x8w2gsmh6vnni0818clk";
      };
      gridPlugin = fetchurl {
        url = "https://search.maven.org/remotecontent?filepath=io/selendroid/selendroid-grid-plugin/${version}/${pluginName}.jar";
        sha256 = "1iazmdv2z0k03fa1xlfipwdf3s9j6404kkpfs5xdyy0513ah02a0";
      };
    };
in
stdenv.mkDerivation rec {

  inherit name;
  inherit version;

  unpackPhase = "true";

  buildInputs = [ jdk makeWrapper ];

  installPhase = ''
    mkdir -p $out/share/lib/selendroid
    cp ${srcs.jar} $out/share/lib/selendroid/${name}.jar
    cp ${srcs.gridPlugin} $out/share/lib/selendroid/${pluginName}.jar

    makeWrapper ${jdk}/bin/java $out/bin/selendroid \<commit_msg>selendroid: 0.11.0 -> 0.17.0<commit_after>{ stdenv, fetchurl, makeWrapper, jdk, selenium-server-standalone }:

with stdenv.lib;
let
    name = "selendroid-standalone-${version}";
    pluginName = "selendroid-grid-plugin-${version}";
    version = "0.17.0";
    srcs = {
      jar = fetchurl {
        url = "https://github.com/selendroid/selendroid/releases/download/${version}/${name}-with-dependencies.jar";
        sha256 = "10lxdsgp711pv8r6dk2aagnbvnn1b25zfqjvz7plc73zqhx1dxvw";
      };
      gridPlugin = fetchurl {
        url = "https://search.maven.org/remotecontent?filepath=io/selendroid/selendroid-grid-plugin/${version}/${pluginName}.jar";
        sha256 = "1x6cjmp2hpghbgbf8vss0qaj2n4sfl29wp3bc4k1s3hnnpccvz70";
      };
    };
in
stdenv.mkDerivation rec {

  inherit name;
  inherit version;

  unpackPhase = "true";

  buildInputs = [ jdk makeWrapper ];

  installPhase = ''
    mkdir -p $out/share/lib/selendroid
    cp ${srcs.jar} $out/share/lib/selendroid/${name}.jar
    cp ${srcs.gridPlugin} $out/share/lib/selendroid/${pluginName}.jar

    makeWrapper ${jdk}/bin/java $out/bin/selendroid \
{'fraction_non_alphanumeric': 0.14997734481196193, 'fraction_numerical': 0.046216583597643864, 'mean_word_length': 3.4969450101832993, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5708892', 'n_tokens_mistral': 892, 'n_tokens_neox': 836, 'n_words': 108}