inspec: 6.6.0 -> 7.0.95 (#467650)

This commit is contained in:
Michael Daniels
2025-12-12 03:59:55 +00:00
committed by GitHub
3 changed files with 1076 additions and 708 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+13 -4
View File
@@ -1,24 +1,33 @@
{
lib,
ruby,
ruby_3_4, # fix "Source locally installed gems is ignoring ... because it is missing extensions"
bundlerApp,
bundlerUpdateScript,
inspec,
testers,
}:
bundlerApp {
pname = "inspec";
gemdir = ./.;
inherit ruby;
ruby = ruby_3_4;
exes = [ "inspec" ];
passthru.updateScript = bundlerUpdateScript "inspec";
passthru = {
updateScript = bundlerUpdateScript "inspec";
tests.version = testers.testVersion {
package = inspec;
command = "inspec version";
inherit ((import ./gemset.nix).inspec) version;
};
};
meta = {
description = "Open-source testing framework for infrastructure with a human- and machine-readable language for specifying compliance, security and policy requirements";
homepage = "https://inspec.io/";
license = lib.licenses.asl20;
license = lib.licenses.unfree; # rubygems distribution is unfree, see https://github.com/inspec/inspec/blob/main/Chef-EULA
maintainers = with lib.maintainers; [ dylanmtaylor ];
mainProgram = "inspec";
};