---
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: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "meta",
        position: (5, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "maintainers",
           position: (6, 5),
          },
         ],
        },
        PropertyAccess {
         expression: Variable {
          identifier: "teams",
          position: (6, 19),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "freedesktop",
            position: (6, 25),
           },
           Raw {
            content: "members",
            position: (6, 37),
           },
          ],
         },
         default: None,
        },
       ),
      ],
      recursive: false,
      position: (5, 10),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (9, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "xdg",
           position: (10, 5),
          },
          Raw {
           content: "sounds",
           position: (10, 9),
          },
          Raw {
           content: "enable",
           position: (10, 16),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (10, 25),
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (11, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (11, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "bool",
                 position: (11, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "default",
                position: (12, 7),
               },
              ],
             },
             Variable {
              identifier: "true",
              position: (12, 17),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (13, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "Whether to install files to support the\n<link xlink:href=\"https://www.freedesktop.org/wiki/Specifications/sound-theme-spec/\">XDG Sound Theme specification</link>.\n",
                position: (14, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (10, 34),
          },
         ],
        },
       ),
      ],
      recursive: false,
      position: (9, 13),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (20, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (20, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (20, 17),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "xdg",
           position: (20, 24),
          },
          Raw {
           content: "sounds",
           position: (20, 28),
          },
          Raw {
           content: "enable",
           position: (20, 35),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (21, 5),
            },
            Raw {
             content: "systemPackages",
             position: (21, 17),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (22, 7),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "sound-theme-freedesktop",
                position: (22, 12),
               },
              ],
             },
             default: None,
            },
           ],
           position: (21, 34),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (25, 5),
            },
            Raw {
             content: "pathsToLink",
             position: (25, 17),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "/share/sounds",
               position: (26, 8),
              },
             ],
            },
           ],
           position: (25, 31),
          },
         ),
        ],
        recursive: false,
        position: (20, 42),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}