diff options
Diffstat (limited to 'pkgs/by-name/pu/puppet/package.nix')
-rw-r--r-- | pkgs/by-name/pu/puppet/package.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/by-name/pu/puppet/package.nix b/pkgs/by-name/pu/puppet/package.nix new file mode 100644 index 0000000000000..9d5f738cad7e4 --- /dev/null +++ b/pkgs/by-name/pu/puppet/package.nix @@ -0,0 +1,31 @@ +{ + bundlerApp, + bundlerUpdateScript, + lib, + puppet, + testers, +}: + +bundlerApp { + 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 ]; + }; +} |