2024-01-27 21:22:02 +00:00
|
|
|
{ lib, buildGraalvmNativeImage, graalvmCEPackages, fetchurl
|
2023-11-23 11:57:31 +00:00
|
|
|
}:
|
2019-08-08 19:38:04 +00:00
|
|
|
|
2021-11-23 15:31:56 +00:00
|
|
|
buildGraalvmNativeImage rec {
|
2019-08-08 19:38:04 +00:00
|
|
|
pname = "clj-kondo";
|
2024-09-27 02:18:55 +00:00
|
|
|
version = "2024.09.27";
|
2019-08-08 19:38:04 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-11-23 11:57:31 +00:00
|
|
|
url =
|
|
|
|
"https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
|
2024-09-27 02:18:55 +00:00
|
|
|
sha256 = "sha256-DrSfL1WazlNd5H0jG6m0S5aED4BLVufr1rGIAyifn6E=";
|
2019-08-08 19:38:04 +00:00
|
|
|
};
|
|
|
|
|
2023-11-23 11:57:31 +00:00
|
|
|
graalvmDrv = graalvmCEPackages.graalvm-ce;
|
|
|
|
|
|
|
|
extraNativeImageBuildArgs =
|
|
|
|
[ "-H:+ReportExceptionStackTraces" "--no-fallback" ];
|
|
|
|
|
2019-08-08 19:38:04 +00:00
|
|
|
meta = with lib; {
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "Linter for Clojure code that sparks joy";
|
2021-04-22 14:25:41 +00:00
|
|
|
homepage = "https://github.com/clj-kondo/clj-kondo";
|
2022-06-02 13:38:41 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2019-08-08 19:38:04 +00:00
|
|
|
license = licenses.epl10;
|
2023-11-23 11:57:31 +00:00
|
|
|
changelog =
|
|
|
|
"https://github.com/clj-kondo/clj-kondo/blob/v${version}/CHANGELOG.md";
|
2024-01-07 21:39:15 +00:00
|
|
|
maintainers = with maintainers; [ jlesquembre bandresen ];
|
2019-08-08 19:38:04 +00:00
|
|
|
};
|
|
|
|
}
|