puppet-lint: add meta, passthru.{tests,updateScript}
This commit is contained in:
parent
51c3cfc68e
commit
ab0bd8ca52
|
@ -1,7 +1,30 @@
|
||||||
{ bundlerApp }:
|
{
|
||||||
|
bundlerApp,
|
||||||
|
bundlerUpdateScript,
|
||||||
|
lib,
|
||||||
|
puppet-lint,
|
||||||
|
testers,
|
||||||
|
}:
|
||||||
|
|
||||||
bundlerApp {
|
bundlerApp {
|
||||||
pname = "puppet-lint";
|
pname = "puppet-lint";
|
||||||
gemdir = ./.;
|
gemdir = ./.;
|
||||||
exes = [ "puppet-lint" ];
|
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 ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user