npm-groovy-lint: init at 17.0.5 (#531136)

This commit is contained in:
Sandro
2026-06-27 05:56:23 +00:00
committed by GitHub
@@ -0,0 +1,46 @@
{
lib,
fetchFromGitHub,
nix-update-script,
buildNpmPackage,
versionCheckHook,
jdk,
}:
buildNpmPackage (finalAttrs: {
pname = "npm-groovy-lint";
version = "17.0.5";
__structuredAttrs = true;
strictDeps = true;
src = fetchFromGitHub {
owner = "nvuillam";
repo = "npm-groovy-lint";
tag = "v${finalAttrs.version}";
hash = "sha256-Cq4SPOqR2mb2Foc1jlrA6B7qJBcmgLfcC84iTc4+tcw=";
};
npmDepsHash = "sha256-XGXiuqA0JmuFVretXDjWejV9HJAK6eWR9/LR3rUI99s=";
passthru.updateScript = nix-update-script { };
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
makeWrapperArgs = [
"--prefix"
"PATH"
":"
(lib.makeBinPath [ jdk ])
];
meta = {
description = "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files using command line";
homepage = "https://github.com/nvuillam/npm-groovy-lint";
changelog = "https://github.com/nvuillam/npm-groovy-lint/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jlesquembre ];
mainProgram = "npm-groovy-lint";
platforms = lib.platforms.all;
};
})