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";
|
2022-01-25 03:21:06 +00:00
|
|
|
version = "2022.01.15";
|
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";
|
2022-01-25 03:21:06 +00:00
|
|
|
sha256 = "sha256-s1SdCy4GaxFL9M3Fp/WGu1C6qY2Kst5PXFShrGCizUE=";
|
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";
|
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
|
|
|
};
|
|
|
|
}
|