---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (5, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "appstream",
           position: (6, 5),
          },
          Raw {
           content: "enable",
           position: (6, 15),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (6, 24),
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (7, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (7, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "bool",
                 position: (7, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "default",
                position: (8, 7),
               },
              ],
             },
             Variable {
              identifier: "true",
              position: (8, 17),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (9, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "Whether to install files to support the\n<link xlink:href=\"https://www.freedesktop.org/software/appstream/docs/index.html\">AppStream metadata specification</link>.\n",
                position: (10, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (6, 33),
          },
         ],
        },
       ),
      ],
      recursive: false,
      position: (5, 13),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (16, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (16, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (16, 17),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "appstream",
           position: (16, 24),
          },
          Raw {
           content: "enable",
           position: (16, 34),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (17, 5),
            },
            Raw {
             content: "pathsToLink",
             position: (17, 17),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "/share/metainfo",
               position: (19, 8),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "/share/appdata",
               position: (21, 8),
              },
             ],
            },
           ],
           position: (17, 31),
          },
         ),
        ],
        recursive: false,
        position: (16, 41),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}