2021-12-06 16:07:01 +00:00
|
|
|
{ lib, buildGraalvmNativeImage, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildGraalvmNativeImage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "clj-kondo";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "2023.05.26";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-25 03:57:28 +00:00
|
|
|
url = "https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-YnieYpRTBTnV3/jjcy1m469qH4m8uTeAVt3SG55r2/0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
extraNativeImageBuildArgs = [
|
|
|
|
"-H:+ReportExceptionStackTraces"
|
|
|
|
"--no-fallback"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "A linter for Clojure code that sparks joy";
|
2021-04-25 03:57:28 +00:00
|
|
|
homepage = "https://github.com/clj-kondo/clj-kondo";
|
2022-06-16 17:23:12 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.epl10;
|
2021-12-30 13:39:12 +00:00
|
|
|
changelog = "https://github.com/clj-kondo/clj-kondo/blob/v${version}/CHANGELOG.md";
|
2021-10-04 12:37:57 +00:00
|
|
|
maintainers = with maintainers; [ jlesquembre bandresen thiagokokada ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|