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