3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/r10k/default.nix

24 lines
624 B
Nix
Raw Normal View History

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