3 buildGraalvmNativeImage,
10 buildGraalvmNativeImage rec {
15 url = "https://github.com/weavejester/cljfmt/releases/download/${version}/cljfmt-${version}-standalone.jar";
16 hash = "sha256-gPIDaFb8mmJyoAIOUWV7ZNNi/rSnuRkYN16Grqly0/c=";
19 extraNativeImageBuildArgs = [
20 "-H:+ReportExceptionStackTraces"
21 "-H:Log=registerResource:"
22 "--initialize-at-build-time"
24 "--report-unsupported-elements-at-runtime"
28 passthru.updateScript = nix-update-script { };
30 passthru.tests.version = testers.testVersion {
33 command = "cljfmt --version";
37 mainProgram = "cljfmt";
38 description = "Tool for formatting Clojure code";
39 homepage = "https://github.com/weavejester/cljfmt";
40 sourceProvenance = with sourceTypes; [ binaryBytecode ];
41 license = licenses.epl10;
42 changelog = "https://github.com/weavejester/cljfmt/blob/${version}/CHANGELOG.md";
43 maintainers = with maintainers; [ sg-qwt ];