---
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: "options",
        position: (6, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "hardware",
           position: (8, 5),
          },
          Raw {
           content: "sane",
           position: (8, 14),
          },
          Raw {
           content: "dsseries",
           position: (8, 19),
          },
          Raw {
           content: "enable",
           position: (8, 28),
          },
         ],
        },
        BinaryOperation {
         operator: Update,
         operands: [
          FunctionApplication {
           function: Variable {
            identifier: "mkEnableOption",
            position: (9, 7),
           },
           arguments: [
            String {
             parts: [
              Raw {
               content: "Brother DSSeries scan backend",
               position: (9, 23),
              },
             ],
            },
           ],
          },
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (10, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "When enabled, will automatically register the \"dsseries\" SANE backend.\n\nThis supports the Brother DSmobile scanner series, including the\nDS-620, DS-720D, DS-820W, and DS-920DW scanners.\n",
                position: (11, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (9, 57),
          },
         ],
         position: (9, 54),
        },
       ),
      ],
      recursive: false,
      position: (6, 13),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (19, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (19, 12),
      },
      arguments: [
       BinaryOperation {
        operator: LogicalAnd,
        operands: [
         PropertyAccess {
          expression: Variable {
           identifier: "config",
           position: (19, 18),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "hardware",
             position: (19, 25),
            },
            Raw {
             content: "sane",
             position: (19, 34),
            },
            Raw {
             content: "enable",
             position: (19, 39),
            },
           ],
          },
          default: None,
         },
         PropertyAccess {
          expression: Variable {
           identifier: "config",
           position: (19, 49),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "hardware",
             position: (19, 56),
            },
            Raw {
             content: "sane",
             position: (19, 65),
            },
            Raw {
             content: "dsseries",
             position: (19, 70),
            },
            Raw {
             content: "enable",
             position: (19, 79),
            },
           ],
          },
          default: None,
         },
        ],
        position: (19, 46),
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "hardware",
             position: (21, 5),
            },
            Raw {
             content: "sane",
             position: (21, 14),
            },
            Raw {
             content: "extraBackends",
             position: (21, 19),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (21, 37),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "dsseries",
                position: (21, 42),
               },
              ],
             },
             default: None,
            },
           ],
           position: (21, 35),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "services",
             position: (22, 5),
            },
            Raw {
             content: "udev",
             position: (22, 14),
            },
            Raw {
             content: "packages",
             position: (22, 19),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (22, 32),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "dsseries",
                position: (22, 37),
               },
              ],
             },
             default: None,
            },
           ],
           position: (22, 30),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "boot",
             position: (23, 5),
            },
            Raw {
             content: "kernelModules",
             position: (23, 10),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "sg",
               position: (23, 29),
              },
             ],
            },
           ],
           position: (23, 26),
          },
         ),
        ],
        recursive: false,
        position: (19, 87),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}