nixpkgs/pkgs/by-name/pd/pdk/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
552 B
Nix
Raw Normal View History

2024-03-24 15:40:37 +00:00
{
2023-11-17 15:46:28 +00:00
bundlerApp,
bundlerUpdateScript,
2024-03-24 15:40:37 +00:00
gnumake,
lib,
2023-11-17 15:46:28 +00:00
makeWrapper,
}:
bundlerApp {
pname = "pdk";
gemdir = ./.;
exes = [ "pdk" ];
nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/pdk --prefix PATH : ${lib.makeBinPath [ gnumake ]}
'';
passthru.updateScript = bundlerUpdateScript "pdk";
2024-03-24 15:40:37 +00:00
meta = {
2023-11-17 15:46:28 +00:00
description = "Puppet Development Kit";
2024-03-24 15:40:37 +00:00
homepage = "https://github.com/puppetlabs/pdk";
license = lib.licenses.asl20;
2024-03-24 15:40:53 +00:00
maintainers = with lib.maintainers; [ netali anthonyroussel ];
2023-11-17 15:46:28 +00:00
};
}