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: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 7, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 6, column: 5, }, end: Position { line: 6, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "teams", span: Span { start: Position { line: 6, column: 19, }, end: Position { line: 6, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "freedesktop", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 36, }, }, }, ), Raw( PartRaw { content: "members", span: Span { start: Position { line: 6, column: 37, }, end: Position { line: 6, column: 44, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 5, column: 10, }, end: Position { line: 7, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "xdg", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 8, }, }, }, ), Raw( PartRaw { content: "menus", span: Span { start: Position { line: 10, column: 9, }, end: Position { line: 10, column: 14, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 10, column: 15, }, end: Position { line: 10, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 10, column: 24, }, end: Position { line: 10, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 11, column: 14, }, end: Position { line: 11, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 13, column: 21, }, end: Position { line: 13, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 13, column: 25, }, end: Position { line: 13, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to install files to support the\n[XDG Desktop Menu specification](https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html).\n", span: Span { start: Position { line: 14, column: 1, }, end: Position { line: 16, column: 7, }, }, }, ), ], span: Span { start: Position { line: 13, column: 31, }, end: Position { line: 16, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 33, }, end: Position { line: 17, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 18, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 20, column: 12, }, end: Position { line: 20, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 20, column: 17, }, end: Position { line: 20, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xdg", span: Span { start: Position { line: 20, column: 24, }, end: Position { line: 20, column: 27, }, }, }, ), Raw( PartRaw { content: "menus", span: Span { start: Position { line: 20, column: 28, }, end: Position { line: 20, column: 33, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 20, column: 34, }, end: Position { line: 20, column: 40, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 16, }, }, }, ), Raw( PartRaw { content: "pathsToLink", span: Span { start: Position { line: 21, column: 17, }, end: Position { line: 21, column: 28, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/share/applications", span: Span { start: Position { line: 22, column: 8, }, end: Position { line: 22, column: 27, }, }, }, ), ], span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 28, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/share/desktop-directories", span: Span { start: Position { line: 23, column: 8, }, end: Position { line: 23, column: 34, }, }, }, ), ], span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 35, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/etc/xdg/menus", span: Span { start: Position { line: 24, column: 8, }, end: Position { line: 24, column: 22, }, }, }, ), ], span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 23, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/etc/xdg/menus/applications-merged", span: Span { start: Position { line: 25, column: 8, }, end: Position { line: 25, column: 42, }, }, }, ), ], span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 43, }, }, }, ), ], span: Span { start: Position { line: 21, column: 31, }, end: Position { line: 26, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 20, column: 41, }, end: Position { line: 27, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 29, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 29, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 29, column: 2, }, }, }, )