Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
769 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
bundlerApp,
bundlerUpdateScript,
lib,
puppet,
ruby_3_4,
testers,
}:
(bundlerApp.override { ruby = ruby_3_4; }) {
pname = "puppet";
gemdir = ./.;
exes = [ "puppet" ];
passthru = {
tests.version = testers.testVersion {
package = puppet;
command = "HOME=$(mktemp -d) puppet --version";
inherit ((import ./gemset.nix).puppet) version;
};
updateScript = bundlerUpdateScript "puppet";
};
meta = {
description = "Server automation framework and application";
homepage = "https://github.com/puppetlabs/puppet";
changelog = "https://github.com/puppetlabs/puppet/blob/main/CHANGELOG.md";
license = lib.licenses.asl20;
mainProgram = "puppet";
maintainers = with lib.maintainers; [ baloo ];
};
}