3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/clj-kondo/default.nix

25 lines
772 B
Nix
Raw Normal View History

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; {
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";
maintainers = with maintainers; [ jlesquembre bandresen thiagokokada ];
2019-08-08 20:38:04 +01:00
};
}