9 stdenv.mkDerivation rec {
13 jarfilename = "${pname}-${version}-executable.jar";
15 nativeBuildInputs = [ makeWrapper ];
18 url = "mirror://maven/io/trino/${pname}/${version}/${jarfilename}";
19 sha256 = "sha256-ANrv3+hpRn00zFAu6FHltk6seQ4lP2esDIhsJrctfY0=";
27 install -D "$src" "$out/share/java/${jarfilename}"
29 makeWrapper ${jre_headless}/bin/java $out/bin/trino \
30 --add-flags "-jar $out/share/java/${jarfilename}"
36 description = "Trino CLI provides a terminal-based, interactive shell for running queries";
37 mainProgram = "trino";
38 homepage = "https://github.com/trinodb/trino";
39 license = licenses.asl20;
40 maintainers = with maintainers; [