about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/inspec/default.nix
blob: 759b1fcaed874e1c5f99f79c765a34d37b358d6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, ruby, bundlerApp, bundlerUpdateScript }:

bundlerApp {
  pname = "inspec";
  gemdir = ./.;

  inherit ruby;

  exes = ["inspec"];

  passthru.updateScript = bundlerUpdateScript "inspec";

  meta = with lib; {
    description = "Inspec is an 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 = licenses.asl20;
    maintainers = with maintainers; [ dylanmtaylor ];
    mainProgram = "inspec";
  };
}