nixpkgs/pkgs/development/tools/clj-kondo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
832 B
Nix
Raw Normal View History

2021-11-23 15:31:56 +00:00
{ lib, buildGraalvmNativeImage, fetchurl }:
2019-08-08 19:38:04 +00:00
2021-11-23 15:31:56 +00:00
buildGraalvmNativeImage rec {
2019-08-08 19:38:04 +00:00
pname = "clj-kondo";
2022-06-25 06:28:50 +00:00
version = "2022.06.22";
2019-08-08 19:38:04 +00:00
src = fetchurl {
2021-04-22 14:25:41 +00:00
url = "https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
2022-06-25 06:28:50 +00:00
sha256 = "sha256-g+0BYwk9bws+c7CfLGf88r2nfcDBCdDKyqRS285oIQM=";
2019-08-08 19:38:04 +00:00
};
2021-11-23 15:31:56 +00:00
extraNativeImageBuildArgs = [
"-H:+ReportExceptionStackTraces"
"--no-fallback"
];
2019-08-08 19:38:04 +00:00
meta = with lib; {
description = "A linter for Clojure code that sparks joy";
2021-04-22 14:25:41 +00:00
homepage = "https://github.com/clj-kondo/clj-kondo";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
2019-08-08 19:38:04 +00:00
license = licenses.epl10;
2021-12-27 22:59:34 +00:00
changelog = "https://github.com/clj-kondo/clj-kondo/blob/v${version}/CHANGELOG.md";
maintainers = with maintainers; [ jlesquembre bandresen thiagokokada ];
2019-08-08 19:38:04 +00:00
};
}