pdk: add passthru.tests.version, meta.changelog, meta.mainProgram
This commit is contained in:
parent
6826d9de87
commit
6efd3efcb1
|
@ -4,6 +4,8 @@
|
|||
gnumake,
|
||||
lib,
|
||||
makeWrapper,
|
||||
pdk,
|
||||
testers,
|
||||
}:
|
||||
|
||||
bundlerApp {
|
||||
|
@ -17,12 +19,20 @@ bundlerApp {
|
|||
wrapProgram $out/bin/pdk --prefix PATH : ${lib.makeBinPath [ gnumake ]}
|
||||
'';
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "pdk";
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = pdk;
|
||||
version = (import ./gemset.nix).pdk.version;
|
||||
};
|
||||
updateScript = bundlerUpdateScript "pdk";
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/puppetlabs/pdk/blob/main/CHANGELOG.md";
|
||||
description = "Puppet Development Kit";
|
||||
homepage = "https://github.com/puppetlabs/pdk";
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "pdk";
|
||||
maintainers = with lib.maintainers; [ netali anthonyroussel ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue