---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "pkg",
        position: (6, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "pkgs",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "pgadmin4",
         position: (6, 14),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "cfg",
        position: (7, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (7, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "services",
         position: (7, 16),
        },
        Raw {
         content: "pgadmin",
         position: (7, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "_base",
        position: (9, 3),
       },
      ],
     },
     to: With {
      expression: Variable {
       identifier: "types",
       position: (9, 16),
      },
      target: List {
       elements: [
        Variable {
         identifier: "int",
         position: (9, 25),
        },
        Variable {
         identifier: "bool",
         position: (9, 29),
        },
        Variable {
         identifier: "str",
         position: (9, 34),
        },
       ],
       position: (9, 23),
      },
      position: (9, 11),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "base",
        position: (10, 3),
       },
      ],
     },
     to: With {
      expression: Variable {
       identifier: "types",
       position: (10, 15),
      },
      target: FunctionApplication {
       function: Variable {
        identifier: "oneOf",
        position: (10, 22),
       },
       arguments: [
        Parentheses {
         expression: BinaryOperation {
          operator: Concatenation,
          operands: [
           List {
            elements: [
             Parentheses {
              expression: FunctionApplication {
               function: Variable {
                identifier: "listOf",
                position: (10, 32),
               },
               arguments: [
                Parentheses {
                 expression: FunctionApplication {
                  function: Variable {
                   identifier: "oneOf",
                   position: (10, 40),
                  },
                  arguments: [
                   Variable {
                    identifier: "_base",
                    position: (10, 46),
                   },
                  ],
                 },
                 position: (10, 39),
                },
               ],
              },
              position: (10, 31),
             },
             Parentheses {
              expression: FunctionApplication {
               function: Variable {
                identifier: "attrsOf",
                position: (10, 55),
               },
               arguments: [
                Parentheses {
                 expression: FunctionApplication {
                  function: Variable {
                   identifier: "oneOf",
                   position: (10, 64),
                  },
                  arguments: [
                   Variable {
                    identifier: "_base",
                    position: (10, 70),
                   },
                  ],
                 },
                 position: (10, 63),
                },
               ],
              },
              position: (10, 54),
             },
            ],
            position: (10, 29),
           },
           Variable {
            identifier: "_base",
            position: (10, 83),
           },
          ],
          position: (10, 80),
         },
         position: (10, 28),
        },
       ],
      },
      position: (10, 10),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "formatAttrset",
        position: (12, 3),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "attr",
      },
      definition: String {
       parts: [
        Raw {
         content: "{",
         position: (13, 6),
        },
        Expression {
         expression: FunctionApplication {
          function: Variable {
           identifier: "concatStringsSep",
           position: (13, 9),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: "\n",
              position: (13, 27),
             },
            ],
            position: (13, 26),
           },
           Parentheses {
            expression: FunctionApplication {
             function: Variable {
              identifier: "mapAttrsToList",
              position: (13, 32),
             },
             arguments: [
              Parentheses {
               expression: Function {
                argument: Simple {
                 identifier: "key",
                },
                definition: Function {
                 argument: Simple {
                  identifier: "value",
                 },
                 definition: String {
                  parts: [
                   Expression {
                    expression: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "builtins",
                       position: (13, 63),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "toJSON",
                         position: (13, 72),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      Variable {
                       identifier: "key",
                       position: (13, 79),
                      },
                     ],
                    },
                   },
                   Raw {
                    content: ": ",
                    position: (13, 83),
                   },
                   Expression {
                    expression: FunctionApplication {
                     function: Variable {
                      identifier: "formatPyValue",
                      position: (13, 87),
                     },
                     arguments: [
                      Variable {
                       identifier: "value",
                       position: (13, 101),
                      },
                     ],
                    },
                   },
                   Raw {
                    content: ",",
                    position: (13, 107),
                   },
                  ],
                  position: (13, 60),
                 },
                 position: (13, 53),
                },
                position: (13, 48),
               },
               position: (13, 47),
              },
              Variable {
               identifier: "attr",
               position: (13, 111),
              },
             ],
            },
            position: (13, 31),
           },
          ],
         },
        },
        Raw {
         content: "}",
         position: (13, 117),
        },
       ],
       position: (13, 5),
      },
      position: (12, 19),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "formatPyValue",
        position: (15, 3),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "value",
      },
      definition: IfThenElse {
       predicate: FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "builtins",
          position: (16, 8),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "isString",
            position: (16, 17),
           },
          ],
         },
         default: None,
        },
        arguments: [
         Variable {
          identifier: "value",
          position: (16, 26),
         },
        ],
       },
       then: FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "builtins",
          position: (16, 37),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "toJSON",
            position: (16, 46),
           },
          ],
         },
         default: None,
        },
        arguments: [
         Variable {
          identifier: "value",
          position: (16, 53),
         },
        ],
       },
       else_: IfThenElse {
        predicate: HasProperty {
         expression: Variable {
          identifier: "value",
          position: (17, 13),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "_expr",
            position: (17, 21),
           },
          ],
         },
         position: (17, 19),
        },
        then: PropertyAccess {
         expression: Variable {
          identifier: "value",
          position: (17, 32),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "_expr",
            position: (17, 38),
           },
          ],
         },
         default: None,
        },
        else_: IfThenElse {
         predicate: FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "builtins",
            position: (18, 13),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "isInt",
              position: (18, 22),
             },
            ],
           },
           default: None,
          },
          arguments: [
           Variable {
            identifier: "value",
            position: (18, 28),
           },
          ],
         },
         then: FunctionApplication {
          function: Variable {
           identifier: "toString",
           position: (18, 39),
          },
          arguments: [
           Variable {
            identifier: "value",
            position: (18, 48),
           },
          ],
         },
         else_: IfThenElse {
          predicate: FunctionApplication {
           function: PropertyAccess {
            expression: Variable {
             identifier: "builtins",
             position: (19, 13),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "isBool",
               position: (19, 22),
              },
             ],
            },
            default: None,
           },
           arguments: [
            Variable {
             identifier: "value",
             position: (19, 29),
            },
           ],
          },
          then: Parentheses {
           expression: IfThenElse {
            predicate: Variable {
             identifier: "value",
             position: (19, 44),
            },
            then: String {
             parts: [
              Raw {
               content: "True",
               position: (19, 56),
              },
             ],
             position: (19, 55),
            },
            else_: String {
             parts: [
              Raw {
               content: "False",
               position: (19, 68),
              },
             ],
             position: (19, 67),
            },
            position: (19, 41),
           },
           position: (19, 40),
          },
          else_: IfThenElse {
           predicate: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "builtins",
              position: (20, 13),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "isAttrs",
                position: (20, 22),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Variable {
              identifier: "value",
              position: (20, 30),
             },
            ],
           },
           then: Parentheses {
            expression: FunctionApplication {
             function: Variable {
              identifier: "formatAttrset",
              position: (20, 42),
             },
             arguments: [
              Variable {
               identifier: "value",
               position: (20, 56),
              },
             ],
            },
            position: (20, 41),
           },
           else_: IfThenElse {
            predicate: FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "builtins",
               position: (21, 13),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "isList",
                 position: (21, 22),
                },
               ],
              },
              default: None,
             },
             arguments: [
              Variable {
               identifier: "value",
               position: (21, 29),
              },
             ],
            },
            then: String {
             parts: [
              Raw {
               content: "[",
               position: (21, 41),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "concatStringsSep",
                 position: (21, 44),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: "\n",
                    position: (21, 62),
                   },
                  ],
                  position: (21, 61),
                 },
                 Parentheses {
                  expression: FunctionApplication {
                   function: Variable {
                    identifier: "map",
                    position: (21, 67),
                   },
                   arguments: [
                    Parentheses {
                     expression: Function {
                      argument: Simple {
                       identifier: "v",
                      },
                      definition: String {
                       parts: [
                        Expression {
                         expression: FunctionApplication {
                          function: Variable {
                           identifier: "formatPyValue",
                           position: (21, 78),
                          },
                          arguments: [
                           Variable {
                            identifier: "v",
                            position: (21, 92),
                           },
                          ],
                         },
                        },
                        Raw {
                         content: ",",
                         position: (21, 94),
                        },
                       ],
                       position: (21, 75),
                      },
                      position: (21, 72),
                     },
                     position: (21, 71),
                    },
                    Variable {
                     identifier: "value",
                     position: (21, 98),
                    },
                   ],
                  },
                  position: (21, 66),
                 },
                ],
               },
              },
              Raw {
               content: "]",
               position: (21, 105),
              },
             ],
             position: (21, 40),
            },
            else_: FunctionApplication {
             function: Variable {
              identifier: "throw",
              position: (22, 10),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Unrecognized type",
                 position: (22, 17),
                },
               ],
               position: (22, 16),
              },
             ],
            },
            position: (21, 10),
           },
           position: (20, 10),
          },
          position: (19, 10),
         },
         position: (18, 10),
        },
        position: (17, 10),
       },
       position: (16, 5),
      },
      position: (15, 19),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "formatPy",
        position: (24, 3),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "attrs",
      },
      definition: FunctionApplication {
       function: Variable {
        identifier: "concatStringsSep",
        position: (25, 5),
       },
       arguments: [
        String {
         parts: [
          Raw {
           content: "\n",
           position: (25, 23),
          },
         ],
         position: (25, 22),
        },
        Parentheses {
         expression: FunctionApplication {
          function: Variable {
           identifier: "mapAttrsToList",
           position: (25, 28),
          },
          arguments: [
           Parentheses {
            expression: Function {
             argument: Simple {
              identifier: "key",
             },
             definition: Function {
              argument: Simple {
               identifier: "value",
              },
              definition: String {
               parts: [
                Expression {
                 expression: Variable {
                  identifier: "key",
                  position: (25, 59),
                 },
                },
                Raw {
                 content: " = ",
                 position: (25, 63),
                },
                Expression {
                 expression: FunctionApplication {
                  function: Variable {
                   identifier: "formatPyValue",
                   position: (25, 68),
                  },
                  arguments: [
                   Variable {
                    identifier: "value",
                    position: (25, 82),
                   },
                  ],
                 },
                },
               ],
               position: (25, 56),
              },
              position: (25, 49),
             },
             position: (25, 44),
            },
            position: (25, 43),
           },
           Variable {
            identifier: "attrs",
            position: (25, 91),
           },
          ],
         },
         position: (25, 27),
        },
       ],
      },
      position: (24, 14),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "pyType",
        position: (27, 3),
       },
      ],
     },
     to: With {
      expression: Variable {
       identifier: "types",
       position: (27, 17),
      },
      target: FunctionApplication {
       function: Variable {
        identifier: "attrsOf",
        position: (27, 24),
       },
       arguments: [
        Parentheses {
         expression: FunctionApplication {
          function: Variable {
           identifier: "oneOf",
           position: (27, 33),
          },
          arguments: [
           List {
            elements: [
             Parentheses {
              expression: FunctionApplication {
               function: Variable {
                identifier: "attrsOf",
                position: (27, 42),
               },
               arguments: [
                Variable {
                 identifier: "base",
                 position: (27, 50),
                },
               ],
              },
              position: (27, 41),
             },
             Parentheses {
              expression: FunctionApplication {
               function: Variable {
                identifier: "listOf",
                position: (27, 57),
               },
               arguments: [
                Variable {
                 identifier: "base",
                 position: (27, 64),
                },
               ],
              },
              position: (27, 56),
             },
             Variable {
              identifier: "base",
              position: (27, 70),
             },
            ],
            position: (27, 39),
           },
          ],
         },
         position: (27, 32),
        },
       ],
      },
      position: (27, 12),
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (30, 3),
        },
        Raw {
         content: "services",
         position: (30, 11),
        },
        Raw {
         content: "pgadmin",
         position: (30, 20),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (31, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkEnableOption",
           position: (31, 14),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: "PostgreSQL Admin 4",
              position: (31, 30),
             },
            ],
            position: (31, 29),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "port",
            position: (33, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (33, 12),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (34, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Port for pgadmin4 to run on",
                 position: (34, 22),
                },
               ],
               position: (34, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (35, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (35, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "port",
                  position: (35, 20),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (36, 7),
                },
               ],
              },
              to: Int {
               value: 5050,
               position: (36, 17),
              },
             },
            ],
            recursive: false,
            position: (33, 21),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "initialEmail",
            position: (39, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (39, 20),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (40, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Initial email for the pgAdmin account.",
                 position: (40, 22),
                },
               ],
               position: (40, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (41, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (41, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "str",
                  position: (41, 20),
                 },
                ],
               },
               default: None,
              },
             },
            ],
            recursive: false,
            position: (39, 29),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "initialPasswordFile",
            position: (44, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (44, 27),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (45, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Initial password file for the pgAdmin account.\nNOTE: Should be string not a store path, to prevent the password from being world readable.\n",
                 position: (46, 1),
                },
               ],
               position: (45, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (49, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (49, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "path",
                  position: (49, 20),
                 },
                ],
               },
               default: None,
              },
             },
            ],
            recursive: false,
            position: (44, 36),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "openFirewall",
            position: (52, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkEnableOption",
           position: (52, 20),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: "firewall passthrough for pgadmin4",
              position: (52, 36),
             },
            ],
            position: (52, 35),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "settings",
            position: (54, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (54, 16),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (55, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Settings for pgadmin4.\n<link xlink:href=\"https://www.pgadmin.org/docs/pgadmin4/development/config_py.html\">Documentation</link>.\n",
                 position: (56, 1),
                },
               ],
               position: (55, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (59, 7),
                },
               ],
              },
              to: Variable {
               identifier: "pyType",
               position: (59, 14),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (60, 7),
                },
               ],
              },
              to: Map {
               bindings: [],
               recursive: false,
               position: (60, 16),
              },
             },
            ],
            recursive: false,
            position: (54, 25),
           },
          ],
         },
        },
       ],
       recursive: false,
       position: (30, 30),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (64, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (64, 12),
       },
       arguments: [
        Parentheses {
         expression: PropertyAccess {
          expression: Variable {
           identifier: "cfg",
           position: (64, 18),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "enable",
             position: (64, 22),
            },
           ],
          },
          default: None,
         },
         position: (64, 17),
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "networking",
              position: (65, 5),
             },
             Raw {
              content: "firewall",
              position: (65, 16),
             },
             Raw {
              content: "allowedTCPPorts",
              position: (65, 25),
             },
            ],
           },
           to: FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (65, 43),
            },
            arguments: [
             Parentheses {
              expression: PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (65, 49),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "openFirewall",
                  position: (65, 53),
                 },
                ],
               },
               default: None,
              },
              position: (65, 48),
             },
             List {
              elements: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (65, 69),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "port",
                   position: (65, 73),
                  },
                 ],
                },
                default: None,
               },
              ],
              position: (65, 67),
             },
            ],
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "services",
              position: (67, 5),
             },
             Raw {
              content: "pgadmin",
              position: (67, 14),
             },
             Raw {
              content: "settings",
              position: (67, 22),
             },
            ],
           },
           to: BinaryOperation {
            operator: Update,
            operands: [
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "DEFAULT_SERVER_PORT",
                   position: (68, 7),
                  },
                 ],
                },
                to: PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (68, 29),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "port",
                    position: (68, 33),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "SERVER_MODE",
                   position: (69, 7),
                  },
                 ],
                },
                to: Variable {
                 identifier: "true",
                 position: (69, 21),
                },
               },
              ],
              recursive: false,
              position: (67, 33),
             },
             Parentheses {
              expression: FunctionApplication {
               function: Variable {
                identifier: "optionalAttrs",
                position: (70, 11),
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (70, 25),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "openFirewall",
                    position: (70, 29),
                   },
                  ],
                 },
                 default: None,
                },
                Map {
                 bindings: [
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "DEFAULT_SERVER",
                      position: (71, 7),
                     },
                    ],
                   },
                   to: FunctionApplication {
                    function: Variable {
                     identifier: "mkDefault",
                     position: (71, 24),
                    },
                    arguments: [
                     String {
                      parts: [
                       Raw {
                        content: "::",
                        position: (71, 35),
                       },
                      ],
                      position: (71, 34),
                     },
                    ],
                   },
                  },
                 ],
                 recursive: false,
                 position: (70, 42),
                },
               ],
              },
              position: (70, 10),
             },
            ],
            position: (70, 7),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (74, 5),
             },
             Raw {
              content: "services",
              position: (74, 13),
             },
             Raw {
              content: "pgadmin",
              position: (74, 22),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wantedBy",
                 position: (75, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (75, 21),
                  },
                 ],
                 position: (75, 20),
                },
               ],
               position: (75, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "after",
                 position: (76, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "network.target",
                   position: (76, 18),
                  },
                 ],
                 position: (76, 17),
                },
               ],
               position: (76, 15),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "requires",
                 position: (77, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "network.target",
                   position: (77, 21),
                  },
                 ],
                 position: (77, 20),
                },
               ],
               position: (77, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wants",
                 position: (80, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "postgresql.service",
                   position: (80, 18),
                  },
                 ],
                 position: (80, 17),
                },
               ],
               position: (80, 15),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "path",
                 position: (82, 7),
                },
               ],
              },
              to: List {
               elements: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (82, 16),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "services",
                    position: (82, 23),
                   },
                   Raw {
                    content: "postgresql",
                    position: (82, 32),
                   },
                   Raw {
                    content: "package",
                    position: (82, 43),
                   },
                  ],
                 },
                 default: None,
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "pkgs",
                  position: (82, 51),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "coreutils",
                    position: (82, 56),
                   },
                  ],
                 },
                 default: None,
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "pkgs",
                  position: (82, 66),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "bash",
                    position: (82, 71),
                   },
                  ],
                 },
                 default: None,
                },
               ],
               position: (82, 14),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "preStart",
                 position: (84, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "# NOTE: this is idempotent (aka running it twice has no effect)\n(\n  # Email address:\n  echo ",
                 position: (85, 1),
                },
                Expression {
                 expression: FunctionApplication {
                  function: Variable {
                   identifier: "escapeShellArg",
                   position: (88, 18),
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (88, 33),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "initialEmail",
                       position: (88, 37),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                },
                Raw {
                 content: "\n\n  # file might not contain newline. echo hack fixes that.\n  PW=$(cat ",
                 position: (88, 50),
                },
                Expression {
                 expression: FunctionApplication {
                  function: Variable {
                   identifier: "escapeShellArg",
                   position: (91, 22),
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (91, 37),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "initialPasswordFile",
                       position: (91, 41),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                },
                Raw {
                 content: ")\n\n  # Password:\n  echo \"$PW\"\n  # Retype password:\n  echo \"$PW\"\n) | ",
                 position: (91, 61),
                },
                Expression {
                 expression: Variable {
                  identifier: "pkg",
                  position: (97, 15),
                 },
                },
                Raw {
                 content: "/bin/pgadmin4-setup\n",
                 position: (97, 19),
                },
               ],
               position: (84, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "restartTriggers",
                 position: (100, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "/etc/pgadmin/config_system.py",
                   position: (101, 10),
                  },
                 ],
                 position: (101, 9),
                },
               ],
               position: (100, 25),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "serviceConfig",
                 position: (104, 7),
                },
               ],
              },
              to: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "User",
                    position: (105, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "pgadmin",
                    position: (105, 17),
                   },
                  ],
                  position: (105, 16),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "DynamicUser",
                    position: (106, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "true",
                  position: (106, 23),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "LogsDirectory",
                    position: (107, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "pgadmin",
                    position: (107, 26),
                   },
                  ],
                  position: (107, 25),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "StateDirectory",
                    position: (108, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "pgadmin",
                    position: (108, 27),
                   },
                  ],
                  position: (108, 26),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "ExecStart",
                    position: (109, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Expression {
                    expression: Variable {
                     identifier: "pkg",
                     position: (109, 24),
                    },
                   },
                   Raw {
                    content: "/bin/pgadmin4",
                    position: (109, 28),
                   },
                  ],
                  position: (109, 21),
                 },
                },
               ],
               recursive: false,
               position: (104, 23),
              },
             },
            ],
            recursive: false,
            position: (74, 32),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "users",
              position: (113, 5),
             },
             Raw {
              content: "users",
              position: (113, 11),
             },
             Raw {
              content: "pgadmin",
              position: (113, 17),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "isSystemUser",
                 position: (114, 7),
                },
               ],
              },
              to: Variable {
               identifier: "true",
               position: (114, 22),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "group",
                 position: (115, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "pgadmin",
                 position: (115, 16),
                },
               ],
               position: (115, 15),
              },
             },
            ],
            recursive: false,
            position: (113, 27),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "users",
              position: (118, 5),
             },
             Raw {
              content: "groups",
              position: (118, 11),
             },
             Raw {
              content: "pgadmin",
              position: (118, 18),
             },
            ],
           },
           to: Map {
            bindings: [],
            recursive: false,
            position: (118, 28),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "environment",
              position: (120, 5),
             },
             Raw {
              content: "etc",
              position: (120, 17),
             },
             Expression {
              expression: String {
               parts: [
                Raw {
                 content: "pgadmin/config_system.py",
                 position: (120, 22),
                },
               ],
               position: (120, 21),
              },
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "text",
                 position: (121, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "formatPy",
                position: (121, 14),
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (121, 23),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "settings",
                    position: (121, 27),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "mode",
                 position: (122, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "0600",
                 position: (122, 15),
                },
               ],
               position: (122, 14),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "user",
                 position: (123, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "pgadmin",
                 position: (123, 15),
                },
               ],
               position: (123, 14),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "group",
                 position: (124, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "pgadmin",
                 position: (124, 16),
                },
               ],
               position: (124, 15),
              },
             },
            ],
            recursive: false,
            position: (120, 50),
           },
          },
         ],
         recursive: false,
         position: (64, 30),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (29, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}