2021-12-06 16:07:01 +00:00
|
|
|
{ lib, buildGraalvmNativeImage, fetchurl }:
|
|
|
|
|
|
|
|
buildGraalvmNativeImage rec {
|
|
|
|
pname = "jet";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "0.4.23";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-ijqMyzmF1C3+5oT3ho1MSkoGuFJGvjhh7WWF/JDV/j8=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extraNativeImageBuildArgs = [
|
|
|
|
"-H:+ReportExceptionStackTraces"
|
|
|
|
"-H:Log=registerResource:"
|
|
|
|
"--no-fallback"
|
|
|
|
"--no-server"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-12-02 08:20:57 +00:00
|
|
|
description = "CLI to transform between JSON, EDN, YAML and Transit, powered with a minimal query language";
|
2021-12-06 16:07:01 +00:00
|
|
|
homepage = "https://github.com/borkdude/jet";
|
2022-06-16 17:23:12 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2021-12-06 16:07:01 +00:00
|
|
|
license = licenses.epl10;
|
|
|
|
maintainers = with maintainers; [ ericdallo ];
|
|
|
|
};
|
|
|
|
}
|