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-12-24 03:56:20 +00:00
|
|
|
version = "2021.12.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-12-24 03:56:20 +00:00
|
|
|
sha256 = "sha256-CjqzsYT3Hc2Ej7ALHkuKwBPHMAQkQQilUZhuC3hcZQg=";
|
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-12-01 20:19:34 +00:00
|
|
|
changelog = "https://github.com/clj-kondo/clj-kondo/blob/v${versiont}/CHANGELOG.md";
|
2021-10-02 15:21:19 +01:00
|
|
|
maintainers = with maintainers; [ jlesquembre bandresen thiagokokada ];
|
2019-08-08 20:38:04 +01:00
|
|
|
};
|
|
|
|
}
|