about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/system/r10k/default.nix
blob: 43d354107609bf6426754e0d6267577c2d34081b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, bundlerApp, makeWrapper, git, gnutar, gzip }:

bundlerApp {
  pname = "r10k";
  gemdir = ./.;
  exes = [ "r10k" ];

  buildInputs = [ makeWrapper ];

  postBuild = ''
    wrapProgram $out/bin/r10k --prefix PATH : ${lib.makeBinPath [ git gnutar gzip ]}
  '';

  meta = with lib; {
    description = "Puppet environment and module deployment";
    homepage    = https://github.com/puppetlabs/r10k;
    license     = licenses.asl20;
    maintainers = with maintainers; [ zimbatm manveru ];
    platforms = platforms.unix;
  };
}