Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", 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: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "i2c", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 28, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 10, }, }, }, ), Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 10, column: 11, }, end: Position { line: 10, column: 19, }, }, }, ), Raw( PartRaw { content: "i2c", span: Span { start: Position { line: 10, column: 20, }, end: Position { line: 10, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 11, column: 14, }, end: Position { line: 11, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 11, column: 30, }, end: Position { line: 11, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 11, column: 34, }, end: Position { line: 11, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "i2c devices support. By default access is granted to users in the \"i2c\"\ngroup (will be created if non-existent) and any user with a seat, meaning\nlogged on the computer locally.\n", span: Span { start: Position { line: 12, column: 1, }, end: Position { line: 15, column: 5, }, }, }, ), ], span: Span { start: Position { line: 11, column: 40, }, end: Position { line: 15, column: 7, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 17, column: 13, }, end: Position { line: 17, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 18, column: 14, }, end: Position { line: 18, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 18, column: 20, }, end: Position { line: 18, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "i2c", span: Span { start: Position { line: 19, column: 18, }, end: Position { line: 19, column: 21, }, }, }, ), ], span: Span { start: Position { line: 19, column: 17, }, end: Position { line: 19, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 21, }, end: Position { line: 20, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 20, column: 25, }, end: Position { line: 20, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Grant access to i2c devices (/dev/i2c-*) to users in this group.\n", span: Span { start: Position { line: 21, column: 1, }, end: Position { line: 22, column: 7, }, }, }, ), ], span: Span { start: Position { line: 20, column: 31, }, end: Position { line: 22, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 17, column: 22, }, end: Position { line: 23, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 26, }, end: Position { line: 24, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 26, column: 3, }, end: Position { line: 26, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 26, column: 12, }, end: Position { line: 26, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 26, column: 17, }, end: Position { line: 26, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 26, column: 21, }, end: Position { line: 26, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 9, }, }, }, ), Raw( PartRaw { content: "kernelModules", span: Span { start: Position { line: 28, column: 10, }, end: Position { line: 28, column: 23, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "i2c-dev", span: Span { start: Position { line: 28, column: 29, }, end: Position { line: 28, column: 36, }, }, }, ), ], span: Span { start: Position { line: 28, column: 28, }, end: Position { line: 28, column: 37, }, }, }, ), ], span: Span { start: Position { line: 28, column: 26, }, end: Position { line: 28, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 30, column: 5, }, end: Position { line: 30, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 30, column: 11, }, end: Position { line: 30, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 30, column: 20, }, end: Position { line: 30, column: 24, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 30, column: 26, }, end: Position { line: 30, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 30, column: 30, }, end: Position { line: 30, column: 35, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "i2c", span: Span { start: Position { line: 30, column: 40, }, end: Position { line: 30, column: 43, }, }, }, ), ], span: Span { start: Position { line: 30, column: 39, }, end: Position { line: 30, column: 44, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "i2c", span: Span { start: Position { line: 31, column: 7, }, end: Position { line: 31, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 31, column: 13, }, end: Position { line: 31, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 46, }, end: Position { line: 32, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 34, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 34, column: 14, }, end: Position { line: 34, column: 18, }, }, }, ), Raw( PartRaw { content: "extraRules", span: Span { start: Position { line: 34, column: 19, }, end: Position { line: 34, column: 29, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# allow group ", span: Span { start: Position { line: 35, column: 1, }, end: Position { line: 35, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 35, column: 23, }, end: Position { line: 35, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 35, column: 27, }, end: Position { line: 35, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " and users with a seat use of i2c devices\nACTION==\"add\", KERNEL==\"i2c-[0-9]*\", TAG+=\"uaccess\", GROUP=\"", span: Span { start: Position { line: 35, column: 1, }, end: Position { line: 36, column: 67, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 36, column: 69, }, end: Position { line: 36, column: 72, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 36, column: 73, }, end: Position { line: 36, column: 78, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\", MODE=\"660\"\n", span: Span { start: Position { line: 35, column: 1, }, end: Position { line: 37, column: 5, }, }, }, ), ], span: Span { start: Position { line: 34, column: 32, }, end: Position { line: 37, column: 7, }, }, }, ), }, ), ], span: Span { start: Position { line: 26, column: 28, }, end: Position { line: 39, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 41, column: 3, }, end: Position { line: 41, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 41, column: 8, }, end: Position { line: 41, column: 19, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 41, column: 24, }, end: Position { line: 41, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "rnhmjoj", span: Span { start: Position { line: 41, column: 36, }, end: Position { line: 41, column: 43, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 41, column: 22, }, end: Position { line: 41, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 43, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 43, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 43, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 43, column: 2, }, }, }, )