nixpkgs/pkgs/development/tools/clj-kondo/default.nix
2022-03-05 02:59:44 +00:00

24 lines
771 B
Nix

{ lib, buildGraalvmNativeImage, fetchurl }:
buildGraalvmNativeImage rec {
pname = "clj-kondo";
version = "2022.03.04";
src = fetchurl {
url = "https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
sha256 = "sha256-x/mDyWYxWR5H894n+BCBaxgRLQLPgVCip59nOUbavpk=";
};
extraNativeImageBuildArgs = [
"-H:+ReportExceptionStackTraces"
"--no-fallback"
];
meta = with lib; {
description = "A linter for Clojure code that sparks joy";
homepage = "https://github.com/clj-kondo/clj-kondo";
license = licenses.epl10;
changelog = "https://github.com/clj-kondo/clj-kondo/blob/v${version}/CHANGELOG.md";
maintainers = with maintainers; [ jlesquembre bandresen thiagokokada ];
};
}