2021-11-23 15:31:56 +00:00
|
|
|
{ lib, buildGraalvmNativeImage, fetchurl }:
|
2019-08-08 20:38:04 +01:00
|
|
|
|
2021-11-23 15:31:56 +00:00
|
|
|
buildGraalvmNativeImage rec {
|
2019-08-08 20:38:04 +01:00
|
|
|
pname = "clj-kondo";
|
2021-10-29 08:19:30 +01:00
|
|
|
version = "2021.10.19";
|
2019-08-08 20:38:04 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-22 15:25:41 +01:00
|
|
|
url = "https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
|
2021-10-29 08:19:30 +01:00
|
|
|
sha256 = "sha256-i0OeQPZfQPUeXC/Bs84I91IahBKK6W1mFix97s8/lVA=";
|
2019-08-08 20:38:04 +01:00
|
|
|
};
|
|
|
|
|
2021-11-23 15:31:56 +00:00
|
|
|
extraNativeImageBuildArgs = [
|
|
|
|
"-H:+ReportExceptionStackTraces"
|
|
|
|
"--no-fallback"
|
|
|
|
];
|
2019-08-08 20:38:04 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "A linter for Clojure code that sparks joy";
|
2021-04-22 15:25:41 +01:00
|
|
|
homepage = "https://github.com/clj-kondo/clj-kondo";
|
2019-08-08 20:38:04 +01:00
|
|
|
license = licenses.epl10;
|
2021-10-02 15:21:19 +01:00
|
|
|
maintainers = with maintainers; [ jlesquembre bandresen thiagokokada ];
|
2019-08-08 20:38:04 +01:00
|
|
|
};
|
|
|
|
}
|