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: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 5, column: 9, }, end: Position { line: 5, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 24, }, }, }, ), Raw( PartRaw { content: "xone", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 29, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 10, }, }, }, ), Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 8, column: 11, }, end: Position { line: 8, column: 19, }, }, }, ), Raw( PartRaw { content: "xone", span: Span { start: Position { line: 8, column: 20, }, end: Position { line: 8, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 9, column: 14, }, end: Position { line: 9, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 30, }, end: Position { line: 9, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 9, column: 34, }, end: Position { line: 9, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "the xone driver for Xbox One and Xbobx Series X|S accessories", span: Span { start: Position { line: 9, column: 41, }, end: Position { line: 9, column: 102, }, }, }, ), ], span: Span { start: Position { line: 9, column: 40, }, end: Position { line: 9, column: 103, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 27, }, end: Position { line: 10, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 12, column: 3, }, end: Position { line: 12, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 12, column: 12, }, end: Position { line: 12, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 12, column: 21, }, end: Position { line: 12, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 9, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "blacklistedKernelModules", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 31, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "xpad", span: Span { start: Position { line: 14, column: 37, }, end: Position { line: 14, column: 41, }, }, }, ), ], span: Span { start: Position { line: 14, column: 36, }, end: Position { line: 14, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mt76x2u", span: Span { start: Position { line: 14, column: 44, }, end: Position { line: 14, column: 51, }, }, }, ), ], span: Span { start: Position { line: 14, column: 43, }, end: Position { line: 14, column: 52, }, }, }, ), ], span: Span { start: Position { line: 14, column: 34, }, end: Position { line: 14, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraModulePackages", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 26, }, }, }, ), ], to: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 15, column: 34, }, end: Position { line: 15, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 15, column: 41, }, end: Position { line: 15, column: 45, }, }, }, ), Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 15, column: 46, }, end: Position { line: 15, column: 60, }, }, }, ), ], default: None, }, ), target: List( List { elements: [ Identifier( Identifier { id: "xone", span: Span { start: Position { line: 15, column: 64, }, end: Position { line: 15, column: 68, }, }, }, ), ], span: Span { start: Position { line: 15, column: 62, }, end: Position { line: 15, column: 70, }, }, }, ), span: Span { start: Position { line: 15, column: 29, }, end: Position { line: 15, column: 70, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 12, }, end: Position { line: 16, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 13, }, }, }, ), Raw( PartRaw { content: "firmware", span: Span { start: Position { line: 17, column: 14, }, end: Position { line: 17, column: 22, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 17, column: 27, }, end: Position { line: 17, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xow_dongle-firmware", span: Span { start: Position { line: 17, column: 32, }, end: Position { line: 17, column: 51, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 17, column: 25, }, end: Position { line: 17, column: 53, }, }, }, ), }, ), ], span: Span { start: Position { line: 12, column: 28, }, end: Position { line: 18, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 7, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 16, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 21, column: 24, }, end: Position { line: 21, column: 35, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "rhysmdnz", span: Span { start: Position { line: 21, column: 39, }, end: Position { line: 21, column: 47, }, }, }, ), ], span: Span { start: Position { line: 21, column: 37, }, end: Position { line: 21, column: 49, }, }, }, ), span: Span { start: Position { line: 21, column: 19, }, end: Position { line: 21, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 20, column: 10, }, end: Position { line: 22, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 23, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 23, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 23, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 23, column: 2, }, }, }, )