mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 18:24:53 +00:00
Lighter and significantly faster. Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
33 lines
469 B
Nix
33 lines
469 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
name = "owasp blint test";
|
|
|
|
meta.maintainers =
|
|
with lib;
|
|
[
|
|
maintainers.ethancedwards8
|
|
]
|
|
++ teams.ngi.members;
|
|
|
|
containers.machine = {
|
|
environment.systemPackages = with pkgs; [
|
|
blint
|
|
jq
|
|
];
|
|
};
|
|
|
|
testScript =
|
|
{ nodes, ... }:
|
|
''
|
|
start_all()
|
|
|
|
machine.succeed('blint -i ${lib.getExe pkgs.ripgrep} -o /tmp/ripgrep')
|
|
machine.succeed('jq . /tmp/ripgrep/*.json')
|
|
'';
|
|
}
|