depot/pkgs/by-name/pu/puppet-lint/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
750 B
Nix

{
bundlerApp,
bundlerUpdateScript,
lib,
puppet-lint,
testers,
}:
bundlerApp {
pname = "puppet-lint";
gemdir = ./.;
exes = [ "puppet-lint" ];
passthru = {
tests.version = testers.testVersion {
package = puppet-lint;
version = (import ./gemset.nix).puppet-lint.version;
};
updateScript = bundlerUpdateScript "puppet-lint";
};
meta = {
description = "Checks Puppet code against the recommended Puppet language style guide";
homepage = "https://github.com/puppetlabs/puppet-lint";
changelog = "https://github.com/puppetlabs/puppet-lint/blob/main/CHANGELOG.md";
license = lib.licenses.mit;
mainProgram = "puppet-lint";
maintainers = with lib.maintainers; [ anthonyroussel ];
};
}