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