1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/tools/system/r10k/default.nix
2019-07-22 12:02:47 +00:00

24 lines
622 B
Nix

{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, git, gnutar, gzip }:
bundlerApp {
pname = "r10k";
gemdir = ./.;
exes = [ "r10k" ];
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/r10k --prefix PATH : ${lib.makeBinPath [ git gnutar gzip ]}
'';
passthru.updateScript = bundlerUpdateScript "r10k";
meta = with lib; {
description = "Puppet environment and module deployment";
homepage = https://github.com/puppetlabs/r10k;
license = licenses.asl20;
maintainers = with maintainers; [ zimbatm manveru nicknovitski ];
platforms = platforms.unix;
};
}