nixpkgs/pkgs/by-name/cl/clj-kondo/package.nix
2024-11-15 02:01:52 +00:00

29 lines
888 B
Nix

{ lib, buildGraalvmNativeImage, graalvmCEPackages, fetchurl
}:
buildGraalvmNativeImage rec {
pname = "clj-kondo";
version = "2024.11.14";
src = fetchurl {
url =
"https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
sha256 = "sha256-/pzRKx6fqcbVwp+Eif3a1mh/awmwhhLVtFldRYibp/g=";
};
graalvmDrv = graalvmCEPackages.graalvm-ce;
extraNativeImageBuildArgs =
[ "-H:+ReportExceptionStackTraces" "--no-fallback" ];
meta = with lib; {
description = "Linter for Clojure code that sparks joy";
homepage = "https://github.com/clj-kondo/clj-kondo";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.epl10;
changelog =
"https://github.com/clj-kondo/clj-kondo/blob/v${version}/CHANGELOG.md";
maintainers = with maintainers; [ jlesquembre bandresen ];
};
}