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