about summary refs log tree commit diff
path: root/pkgs/by-name/pu/puppet-lint/package.nix
blob: 588d9f0c86fad6946aada68d33367f8cccf362d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  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 ];
  };
}