at 21.11-pre 356 B view raw
1import ./make-test-python.nix ({ pkgs, ... }: { 2 name = "yq"; 3 meta = with pkgs.lib.maintainers; { maintainers = [ nequissimus ]; }; 4 5 nodes.yq = { pkgs, ... }: { environment.systemPackages = with pkgs; [ jq yq ]; }; 6 7 testScript = '' 8 assert "hello:\n foo: bar\n" in yq.succeed( 9 'echo \'{"hello":{"foo":"bar"}}\' | yq -y .' 10 ) 11 ''; 12})