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: 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: "fancontrol", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 7, column: 21, }, end: Position { line: 7, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "fancontrol.conf", span: Span { start: Position { line: 7, column: 32, }, end: Position { line: 7, column: 47, }, }, }, ), ], span: Span { start: Position { line: 7, column: 31, }, end: Position { line: 7, column: 48, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 7, column: 49, }, end: Position { line: 7, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 7, column: 53, }, end: Position { line: 7, column: 59, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 10, }, }, }, ), Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 11, column: 11, }, end: Position { line: 11, column: 19, }, }, }, ), Raw( PartRaw { content: "fancontrol", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 30, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 12, column: 14, }, end: Position { line: 12, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 12, column: 30, }, end: Position { line: 12, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 12, column: 34, }, end: Position { line: 12, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "software fan control (requires fancontrol.config)", span: Span { start: Position { line: 12, column: 41, }, end: Position { line: 12, column: 90, }, }, }, ), ], span: Span { start: Position { line: 12, column: 40, }, end: Position { line: 12, column: 91, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 15, column: 14, }, end: Position { line: 15, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 15, column: 20, }, end: Position { line: 15, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 16, column: 25, }, end: Position { line: 16, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Required fancontrol configuration file content. See {manpage}`pwmconfig(8)` from the lm_sensors package.", span: Span { start: Position { line: 16, column: 32, }, end: Position { line: 16, column: 136, }, }, }, ), ], span: Span { start: Position { line: 16, column: 31, }, end: Position { line: 16, column: 137, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 14, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Configuration file generated by pwmconfig\nINTERVAL=10\nDEVPATH=hwmon3=devices/virtual/thermal/thermal_zone2 hwmon4=devices/platform/f71882fg.656\nDEVNAME=hwmon3=soc_dts1 hwmon4=f71869a\nFCTEMPS=hwmon4/device/pwm1=hwmon3/temp1_input\nFCFANS=hwmon4/device/pwm1=hwmon4/device/fan1_input\nMINTEMP=hwmon4/device/pwm1=35\nMAXTEMP=hwmon4/device/pwm1=65\nMINSTART=hwmon4/device/pwm1=150\nMINSTOP=hwmon4/device/pwm1=0\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 28, column: 7, }, }, }, ), ], span: Span { start: Position { line: 17, column: 17, }, end: Position { line: 28, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 23, }, end: Position { line: 29, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 33, }, end: Position { line: 30, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 32, column: 3, }, end: Position { line: 32, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 32, column: 12, }, end: Position { line: 32, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 32, column: 17, }, end: Position { line: 32, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 32, column: 21, }, end: Position { line: 32, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 34, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 34, column: 13, }, end: Position { line: 34, column: 21, }, }, }, ), Raw( PartRaw { content: "fancontrol", span: Span { start: Position { line: 34, column: 22, }, end: Position { line: 34, column: 32, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "documentation", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 20, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "man:fancontrol(8)", span: Span { start: Position { line: 35, column: 26, }, end: Position { line: 35, column: 43, }, }, }, ), ], span: Span { start: Position { line: 35, column: 25, }, end: Position { line: 35, column: 44, }, }, }, ), ], span: Span { start: Position { line: 35, column: 23, }, end: Position { line: 35, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "software fan control", span: Span { start: Position { line: 36, column: 22, }, end: Position { line: 36, column: 42, }, }, }, ), ], span: Span { start: Position { line: 36, column: 21, }, end: Position { line: 36, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 37, column: 7, }, end: Position { line: 37, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 37, column: 21, }, end: Position { line: 37, column: 38, }, }, }, ), ], span: Span { start: Position { line: 37, column: 20, }, end: Position { line: 37, column: 39, }, }, }, ), ], span: Span { start: Position { line: 37, column: 18, }, end: Position { line: 37, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "lm_sensors.service", span: Span { start: Position { line: 38, column: 18, }, end: Position { line: 38, column: 36, }, }, }, ), ], span: Span { start: Position { line: 38, column: 17, }, end: Position { line: 38, column: 37, }, }, }, ), ], span: Span { start: Position { line: 38, column: 15, }, end: Position { line: 38, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 41, column: 20, }, end: Position { line: 41, column: 30, }, }, }, ), ], span: Span { start: Position { line: 41, column: 19, }, end: Position { line: 41, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 42, column: 24, }, end: Position { line: 42, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lm_sensors", span: Span { start: Position { line: 42, column: 29, }, end: Position { line: 42, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/sbin/fancontrol ", span: Span { start: Position { line: 42, column: 22, }, end: Position { line: 42, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 42, column: 59, }, end: Position { line: 42, column: 69, }, }, }, ), }, ), ], span: Span { start: Position { line: 42, column: 21, }, end: Position { line: 42, column: 71, }, }, }, ), }, ), ], span: Span { start: Position { line: 40, column: 23, }, end: Position { line: 43, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 34, column: 35, }, end: Position { line: 44, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 28, }, end: Position { line: 45, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 47, column: 3, }, end: Position { line: 47, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 47, column: 8, }, end: Position { line: 47, column: 19, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 47, column: 24, }, end: Position { line: 47, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "evils", span: Span { start: Position { line: 47, column: 36, }, end: Position { line: 47, column: 41, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 47, column: 22, }, end: Position { line: 47, column: 43, }, }, }, ), }, ), ], span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 48, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 48, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 48, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 48, column: 2, }, }, }, )