mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
26 lines
832 B
Nix
26 lines
832 B
Nix
{ lib, buildGraalvmNativeImage, fetchurl }:
|
|
|
|
buildGraalvmNativeImage rec {
|
|
pname = "clj-kondo";
|
|
version = "2023.02.17";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
|
|
sha256 = "sha256-HVwZZ280ZABgG/LAAaRfq6wYmUF1c2ojR7XLMCwVSk0=";
|
|
};
|
|
|
|
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";
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
|
license = licenses.epl10;
|
|
changelog = "https://github.com/clj-kondo/clj-kondo/blob/v${version}/CHANGELOG.md";
|
|
maintainers = with maintainers; [ jlesquembre bandresen thiagokokada ];
|
|
};
|
|
}
|