2019-07-22 05:02:47 -07:00
|
|
|
{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, git, gnutar, gzip }:
|
2016-09-30 09:28:11 -07:00
|
|
|
|
2019-05-03 09:42:01 -07:00
|
|
|
bundlerApp {
|
|
|
|
pname = "r10k";
|
|
|
|
gemdir = ./.;
|
|
|
|
exes = [ "r10k" ];
|
2016-09-30 09:28:11 -07:00
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
2019-05-03 09:42:01 -07:00
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/r10k --prefix PATH : ${lib.makeBinPath [ git gnutar gzip ]}
|
2016-09-30 09:28:11 -07:00
|
|
|
'';
|
|
|
|
|
2019-07-22 05:02:47 -07:00
|
|
|
passthru.updateScript = bundlerUpdateScript "r10k";
|
|
|
|
|
2016-09-30 09:28:11 -07:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Puppet environment and module deployment";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/puppetlabs/r10k";
|
2016-10-03 10:50:16 -07:00
|
|
|
license = licenses.asl20;
|
2019-07-22 05:02:47 -07:00
|
|
|
maintainers = with maintainers; [ zimbatm manveru nicknovitski ];
|
2019-05-03 09:42:01 -07:00
|
|
|
platforms = platforms.unix;
|
2016-09-30 09:28:11 -07:00
|
|
|
};
|
|
|
|
}
|