Unverified Commit 3cadb44d authored by Michael Daniels's avatar Michael Daniels
Browse files

inspec: 6.6.0 -> 7.0.95

parent 245a15fa
Loading
Loading
Loading
Loading
+397 −324

File changed.

Preview size limit exceeded, changes collapsed.

+644 −358

File changed.

Preview size limit exceeded, changes collapsed.

+13 −4
Original line number Diff line number Diff line
{
  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";
  };