about summary refs log tree commit diff
path: root/pkgs/by-name/pu/puppet/package.nix
blob: 9d5f738cad7e4817f27bf74c6f37f226b9c94d19 (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
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 ];
  };
}