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: 4, column: 6, }, end: Position { line: 4, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 8, column: 9, }, end: Position { line: 8, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 8, column: 16, }, end: Position { line: 8, column: 24, }, }, }, ), Raw( PartRaw { content: "uvcvideo", span: Span { start: Position { line: 8, column: 25, }, end: Position { line: 8, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uvcdynctrl-udev-rules", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 24, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "packages", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 10, column: 37, }, end: Position { line: 10, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "callPackage", span: Span { start: Position { line: 10, column: 42, }, end: Position { line: 10, column: 53, }, }, }, ), ], default: None, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./uvcdynctrl-udev-rules.nix", span: Span { start: Position { line: 10, column: 54, }, end: Position { line: 10, column: 81, }, }, }, ), ], span: Span { start: Position { line: 10, column: 54, }, end: Position { line: 10, column: 81, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "drivers", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "packages", span: Span { start: Position { line: 11, column: 15, }, end: Position { line: 11, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "udevDebug", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 22, }, }, }, ), }, ), ], span: Span { start: Position { line: 10, column: 82, }, end: Position { line: 13, column: 4, }, }, }, ), ], }, ), span: Span { start: Position { line: 10, column: 27, }, end: Position { line: 13, column: 4, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 13, }, }, }, ), Raw( PartRaw { content: "uvcvideo", span: Span { start: Position { line: 20, column: 14, }, end: Position { line: 20, column: 22, }, }, }, ), Raw( PartRaw { content: "dynctrl", span: Span { start: Position { line: 20, column: 23, }, end: Position { line: 20, column: 30, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 22, column: 16, }, end: Position { line: 22, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 16, }, end: Position { line: 23, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 23, column: 22, }, end: Position { line: 23, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 24, column: 19, }, end: Position { line: 24, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 25, column: 9, }, end: Position { line: 25, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 25, column: 23, }, end: Position { line: 25, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 25, column: 27, }, end: Position { line: 25, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable {command}`uvcvideo` dynamic controls.\n\nNote that enabling this brings the {command}`uvcdynctrl` tool\ninto your environment and register all dynamic controls from\nspecified {command}`packages` to the {command}`uvcvideo` driver.\n", span: Span { start: Position { line: 26, column: 1, }, end: Position { line: 31, column: 9, }, }, }, ), ], span: Span { start: Position { line: 25, column: 33, }, end: Position { line: 31, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 22, column: 25, }, end: Position { line: 32, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "packages", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 34, column: 18, }, end: Position { line: 34, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 35, column: 16, }, end: Position { line: 35, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 35, column: 22, }, end: Position { line: 35, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 35, column: 29, }, end: Position { line: 35, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 35, column: 35, }, end: Position { line: 35, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 36, column: 9, }, end: Position { line: 36, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 36, column: 19, }, end: Position { line: 36, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "[ pkgs.tiscamera ]", span: Span { start: Position { line: 36, column: 38, }, end: Position { line: 36, column: 56, }, }, }, ), ], span: Span { start: Position { line: 36, column: 37, }, end: Position { line: 36, column: 57, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 37, column: 23, }, end: Position { line: 37, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 37, column: 27, }, end: Position { line: 37, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of packages containing {command}`uvcvideo` dynamic controls\nrules. All files found in\n{file}`«pkg»/share/uvcdynctrl/data`\nwill be included.\n\nNote that these will serve as input to the {command}`libwebcam`\npackage which through its own {command}`udev` rule will register\nthe dynamic controls from specified packages to the {command}`uvcvideo`\ndriver.\n", span: Span { start: Position { line: 38, column: 1, }, end: Position { line: 47, column: 9, }, }, }, ), ], span: Span { start: Position { line: 37, column: 33, }, end: Position { line: 47, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apply", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 48, column: 17, }, end: Position { line: 48, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "getBin", span: Span { start: Position { line: 48, column: 21, }, end: Position { line: 48, column: 27, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 34, column: 27, }, end: Position { line: 49, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 20, column: 33, }, end: Position { line: 50, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 19, column: 13, }, end: Position { line: 51, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 53, column: 3, }, end: Position { line: 53, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 53, column: 12, }, end: Position { line: 53, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 53, column: 17, }, end: Position { line: 53, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dynctrl", span: Span { start: Position { line: 53, column: 21, }, end: Position { line: 53, column: 28, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 53, column: 29, }, end: Position { line: 53, column: 35, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 55, column: 5, }, end: Position { line: 55, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 55, column: 14, }, end: Position { line: 55, column: 18, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 55, column: 19, }, end: Position { line: 55, column: 27, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "uvcdynctrl-udev-rules", span: Span { start: Position { line: 56, column: 8, }, end: Position { line: 56, column: 29, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 56, column: 30, }, end: Position { line: 56, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dynctrl", span: Span { start: Position { line: 56, column: 34, }, end: Position { line: 56, column: 41, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 56, column: 42, }, end: Position { line: 56, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), ], span: Span { start: Position { line: 55, column: 30, }, end: Position { line: 57, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 59, column: 5, }, end: Position { line: 59, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 59, column: 17, }, end: Position { line: 59, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 60, column: 7, }, end: Position { line: 60, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "libwebcam", span: Span { start: Position { line: 60, column: 12, }, end: Position { line: 60, column: 21, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 59, column: 34, }, end: Position { line: 61, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 53, column: 36, }, end: Position { line: 63, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 17, column: 1, }, end: Position { line: 64, column: 2, }, }, }, ), span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 64, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 64, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 64, column: 2, }, }, }, )