---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "programs",
         position: (6, 16),
        },
        Raw {
         content: "plotinus",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "meta",
         position: (9, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "maintainers",
            position: (10, 5),
           },
          ],
         },
         PropertyAccess {
          expression: Variable {
           identifier: "pkgs",
           position: (10, 19),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "plotinus",
             position: (10, 24),
            },
            Raw {
             content: "meta",
             position: (10, 33),
            },
            Raw {
             content: "maintainers",
             position: (10, 38),
            },
           ],
          },
          default: None,
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "doc",
            position: (11, 5),
           },
          ],
         },
         Path {
          parts: [
           Raw {
            content: "./plotinus.xml",
            position: (11, 11),
           },
          ],
         },
        ),
       ],
       recursive: false,
       position: (9, 10),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (16, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "programs",
            position: (17, 5),
           },
           Raw {
            content: "plotinus",
            position: (17, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (18, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (18, 16),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (19, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "false",
                  position: (19, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (20, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Whether to enable the Plotinus GTK 3 plugin. Plotinus provides a\npopup (triggered by Ctrl-Shift-P) to search the menus of a\ncompatible application.\n",
                    position: (21, 1),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (25, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (25, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (25, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
               ],
               recursive: false,
               position: (18, 25),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (17, 25),
         },
        ),
       ],
       recursive: false,
       position: (16, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (32, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (32, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (32, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (32, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (33, 5),
             },
             Raw {
              content: "sessionVariables",
              position: (33, 17),
             },
             Raw {
              content: "XDG_DATA_DIRS",
              position: (33, 34),
             },
            ],
           },
           List {
            elements: [
             String {
              parts: [
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "pkgs",
                  position: (33, 55),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "plotinus",
                    position: (33, 60),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: "/share/gsettings-schemas/",
                position: (33, 69),
               },
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "pkgs",
                  position: (33, 96),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "plotinus",
                    position: (33, 101),
                   },
                   Raw {
                    content: "name",
                    position: (33, 110),
                   },
                  ],
                 },
                 default: None,
                },
               },
              ],
             },
            ],
            position: (33, 50),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (34, 5),
             },
             Raw {
              content: "variables",
              position: (34, 17),
             },
             Raw {
              content: "GTK3_MODULES",
              position: (34, 27),
             },
            ],
           },
           List {
            elements: [
             String {
              parts: [
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "pkgs",
                  position: (34, 47),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "plotinus",
                    position: (34, 52),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: "/lib/libplotinus.so",
                position: (34, 61),
               },
              ],
             },
            ],
            position: (34, 42),
           },
          ),
         ],
         recursive: false,
         position: (32, 28),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (8, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}