25 nativeBuildInputs = [ makeWrapper ];
38 ++ lib.optionals stdenv.hostPlatform.isLinux [
45 wrapProgram $out/bin/facter --prefix PATH : ${lib.makeBinPath runtimeDependencies}
49 tests.version = testers.testVersion {
50 command = "${lib.getExe facter} --version";
52 version = (import ./gemset.nix).facter.version;
54 updateScript = bundlerUpdateScript "facter";
58 changelog = "https://www.puppet.com/docs/puppet/latest/release_notes_facter.html";
59 description = "System inventory tool";
60 homepage = "https://github.com/puppetlabs/facter";
61 license = lib.licenses.asl20;
62 mainProgram = "facter";
63 maintainers = with lib.maintainers; [
67 platforms = lib.platforms.unix;