nixpkgs/pkgs/development/tools/clj-kondo/default.nix
Robert Scott 3b6bc4b69c treewide: set sourceProvenance for packages containing downloaded jars
these are the easily identifiable cases and will not be comprehensive
2022-06-04 19:47:57 +01:00

25 lines
832 B
Nix

{ lib, buildGraalvmNativeImage, fetchurl }:
buildGraalvmNativeImage rec {
pname = "clj-kondo";
version = "2022.04.25";
src = fetchurl {
url = "https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
sha256 = "sha256-BqqeJQ7mBMofX6efJCSUr6qMZXubO9CuDiCNNNKT3DA=";
};
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 ];
};
}