Function(
 Function {
  head: Destructured(
   FunctionHeadDestructured {
    ellipsis: true,
    identifier: None,
    arguments: [
     FunctionHeadDestructuredArgument {
      identifier: "config",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "lib",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "pkgs",
      default: None,
     },
    ],
   },
  ),
  body: LetIn(
   LetIn {
    bindings: [
     KeyValue(
      BindingKeyValue {
       from: [
        Raw(
         PartRaw {
          content: "cfg",
          span: Span {
           start: Position {
            line: 3,
            column: 3,
           },
           end: Position {
            line: 3,
            column: 6,
           },
          },
         },
        ),
       ],
       to: PropertyAccess(
        PropertyAccess {
         expression: Identifier(
          Identifier {
           id: "config",
           span: Span {
            start: Position {
             line: 3,
             column: 9,
            },
            end: Position {
             line: 3,
             column: 15,
            },
           },
          },
         ),
         attribute_path: [
          Raw(
           PartRaw {
            content: "hardware",
            span: Span {
             start: Position {
              line: 3,
              column: 16,
             },
             end: Position {
              line: 3,
              column: 24,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "flirc",
            span: Span {
             start: Position {
              line: 3,
              column: 25,
             },
             end: Position {
              line: 3,
              column: 30,
             },
            },
           },
          ),
         ],
         default: None,
        },
       ),
      },
     ),
    ],
    target: Map(
     Map {
      recursive: false,
      bindings: [
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "options",
            span: Span {
             start: Position {
              line: 6,
              column: 3,
             },
             end: Position {
              line: 6,
              column: 10,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "hardware",
            span: Span {
             start: Position {
              line: 6,
              column: 11,
             },
             end: Position {
              line: 6,
              column: 19,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "flirc",
            span: Span {
             start: Position {
              line: 6,
              column: 20,
             },
             end: Position {
              line: 6,
              column: 25,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "enable",
            span: Span {
             start: Position {
              line: 6,
              column: 26,
             },
             end: Position {
              line: 6,
              column: 32,
             },
            },
           },
          ),
         ],
         to: FunctionApplication(
          FunctionApplication {
           function: PropertyAccess(
            PropertyAccess {
             expression: Identifier(
              Identifier {
               id: "lib",
               span: Span {
                start: Position {
                 line: 6,
                 column: 35,
                },
                end: Position {
                 line: 6,
                 column: 38,
                },
               },
              },
             ),
             attribute_path: [
              Raw(
               PartRaw {
                content: "mkEnableOption",
                span: Span {
                 start: Position {
                  line: 6,
                  column: 39,
                 },
                 end: Position {
                  line: 6,
                  column: 53,
                 },
                },
               },
              ),
             ],
             default: None,
            },
           ),
           arguments: [
            FunctionApplication(
             FunctionApplication {
              function: PropertyAccess(
               PropertyAccess {
                expression: Identifier(
                 Identifier {
                  id: "lib",
                  span: Span {
                   start: Position {
                    line: 6,
                    column: 55,
                   },
                   end: Position {
                    line: 6,
                    column: 58,
                   },
                  },
                 },
                ),
                attribute_path: [
                 Raw(
                  PartRaw {
                   content: "mdDoc",
                   span: Span {
                    start: Position {
                     line: 6,
                     column: 59,
                    },
                    end: Position {
                     line: 6,
                     column: 64,
                    },
                   },
                  },
                 ),
                ],
                default: None,
               },
              ),
              arguments: [
               String(
                String_ {
                 parts: [
                  Raw(
                   PartRaw {
                    content: "software to configure a Flirc USB device",
                    span: Span {
                     start: Position {
                      line: 6,
                      column: 66,
                     },
                     end: Position {
                      line: 6,
                      column: 106,
                     },
                    },
                   },
                  ),
                 ],
                 span: Span {
                  start: Position {
                   line: 6,
                   column: 65,
                  },
                  end: Position {
                   line: 6,
                   column: 107,
                  },
                 },
                },
               ),
              ],
             },
            ),
           ],
          },
         ),
        },
       ),
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "config",
            span: Span {
             start: Position {
              line: 8,
              column: 3,
             },
             end: Position {
              line: 8,
              column: 9,
             },
            },
           },
          ),
         ],
         to: FunctionApplication(
          FunctionApplication {
           function: PropertyAccess(
            PropertyAccess {
             expression: Identifier(
              Identifier {
               id: "lib",
               span: Span {
                start: Position {
                 line: 8,
                 column: 12,
                },
                end: Position {
                 line: 8,
                 column: 15,
                },
               },
              },
             ),
             attribute_path: [
              Raw(
               PartRaw {
                content: "mkIf",
                span: Span {
                 start: Position {
                  line: 8,
                  column: 16,
                 },
                 end: Position {
                  line: 8,
                  column: 20,
                 },
                },
               },
              ),
             ],
             default: None,
            },
           ),
           arguments: [
            PropertyAccess(
             PropertyAccess {
              expression: Identifier(
               Identifier {
                id: "cfg",
                span: Span {
                 start: Position {
                  line: 8,
                  column: 21,
                 },
                 end: Position {
                  line: 8,
                  column: 24,
                 },
                },
               },
              ),
              attribute_path: [
               Raw(
                PartRaw {
                 content: "enable",
                 span: Span {
                  start: Position {
                   line: 8,
                   column: 25,
                  },
                  end: Position {
                   line: 8,
                   column: 31,
                  },
                 },
                },
               ),
              ],
              default: None,
             },
            ),
            Map(
             Map {
              recursive: false,
              bindings: [
               KeyValue(
                BindingKeyValue {
                 from: [
                  Raw(
                   PartRaw {
                    content: "environment",
                    span: Span {
                     start: Position {
                      line: 9,
                      column: 5,
                     },
                     end: Position {
                      line: 9,
                      column: 16,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "systemPackages",
                    span: Span {
                     start: Position {
                      line: 9,
                      column: 17,
                     },
                     end: Position {
                      line: 9,
                      column: 31,
                     },
                    },
                   },
                  ),
                 ],
                 to: List(
                  List {
                   elements: [
                    PropertyAccess(
                     PropertyAccess {
                      expression: Identifier(
                       Identifier {
                        id: "pkgs",
                        span: Span {
                         start: Position {
                          line: 9,
                          column: 36,
                         },
                         end: Position {
                          line: 9,
                          column: 40,
                         },
                        },
                       },
                      ),
                      attribute_path: [
                       Raw(
                        PartRaw {
                         content: "flirc",
                         span: Span {
                          start: Position {
                           line: 9,
                           column: 41,
                          },
                          end: Position {
                           line: 9,
                           column: 46,
                          },
                         },
                        },
                       ),
                      ],
                      default: None,
                     },
                    ),
                   ],
                   span: Span {
                    start: Position {
                     line: 9,
                     column: 34,
                    },
                    end: Position {
                     line: 9,
                     column: 48,
                    },
                   },
                  },
                 ),
                },
               ),
               KeyValue(
                BindingKeyValue {
                 from: [
                  Raw(
                   PartRaw {
                    content: "services",
                    span: Span {
                     start: Position {
                      line: 10,
                      column: 5,
                     },
                     end: Position {
                      line: 10,
                      column: 13,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "udev",
                    span: Span {
                     start: Position {
                      line: 10,
                      column: 14,
                     },
                     end: Position {
                      line: 10,
                      column: 18,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "packages",
                    span: Span {
                     start: Position {
                      line: 10,
                      column: 19,
                     },
                     end: Position {
                      line: 10,
                      column: 27,
                     },
                    },
                   },
                  ),
                 ],
                 to: List(
                  List {
                   elements: [
                    PropertyAccess(
                     PropertyAccess {
                      expression: Identifier(
                       Identifier {
                        id: "pkgs",
                        span: Span {
                         start: Position {
                          line: 10,
                          column: 32,
                         },
                         end: Position {
                          line: 10,
                          column: 36,
                         },
                        },
                       },
                      ),
                      attribute_path: [
                       Raw(
                        PartRaw {
                         content: "flirc",
                         span: Span {
                          start: Position {
                           line: 10,
                           column: 37,
                          },
                          end: Position {
                           line: 10,
                           column: 42,
                          },
                         },
                        },
                       ),
                      ],
                      default: None,
                     },
                    ),
                   ],
                   span: Span {
                    start: Position {
                     line: 10,
                     column: 30,
                    },
                    end: Position {
                     line: 10,
                     column: 44,
                    },
                   },
                  },
                 ),
                },
               ),
              ],
              span: Span {
               start: Position {
                line: 8,
                column: 32,
               },
               end: Position {
                line: 11,
                column: 4,
               },
              },
             },
            ),
           ],
          },
         ),
        },
       ),
      ],
      span: Span {
       start: Position {
        line: 5,
        column: 1,
       },
       end: Position {
        line: 12,
        column: 2,
       },
      },
     },
    ),
    span: Span {
     start: Position {
      line: 2,
      column: 1,
     },
     end: Position {
      line: 12,
      column: 2,
     },
    },
   },
  ),
  span: Span {
   start: Position {
    line: 1,
    column: 1,
   },
   end: Position {
    line: 12,
    column: 2,
   },
  },
 },
)