---
Function {
    argument: None,
    arguments: FunctionArguments {
        arguments: [
            FunctionArgument {
                identifier: "pythonOlder",
                default: None,
            },
            FunctionArgument {
                identifier: "typing-extensions",
                default: None,
            },
            FunctionArgument {
                identifier: "pyaes",
                default: None,
            },
            FunctionArgument {
                identifier: "mnemonic",
                default: None,
            },
            FunctionArgument {
                identifier: "libusb1",
                default: None,
            },
            FunctionArgument {
                identifier: "hidapi",
                default: None,
            },
            FunctionArgument {
                identifier: "ecdsa",
                default: None,
            },
            FunctionArgument {
                identifier: "bitbox02",
                default: None,
            },
            FunctionArgument {
                identifier: "fetchFromGitHub",
                default: None,
            },
            FunctionArgument {
                identifier: "buildPythonPackage",
                default: None,
            },
            FunctionArgument {
                identifier: "lib",
                default: None,
            },
        ],
        ellipsis: false,
    },
    definition: FunctionApplication {
        function: Variable {
            identifier: "buildPythonPackage",
            position: (14, 1),
        },
        arguments: [
            Map {
                bindings: [
                    KeyValue(
                        AttributePath {
                            attributes: [
                                Raw {
                                    content: "pname",
                                    position: (15, 3),
                                },
                            ],
                        },
                        String {
                            parts: [
                                Raw {
                                    content: "hwi",
                                    position: (15, 12),
                                },
                            ],
                        },
                    ),
                    KeyValue(
                        AttributePath {
                            attributes: [
                                Raw {
                                    content: "version",
                                    position: (16, 3),
                                },
                            ],
                        },
                        String {
                            parts: [
                                Raw {
                                    content: "2.0.2",
                                    position: (16, 14),
                                },
                            ],
                        },
                    ),
                    KeyValue(
                        AttributePath {
                            attributes: [
                                Raw {
                                    content: "format",
                                    position: (17, 3),
                                },
                            ],
                        },
                        String {
                            parts: [
                                Raw {
                                    content: "setuptools",
                                    position: (17, 13),
                                },
                            ],
                        },
                    ),
                    KeyValue(
                        AttributePath {
                            attributes: [
                                Raw {
                                    content: "disabled",
                                    position: (19, 3),
                                },
                            ],
                        },
                        FunctionApplication {
                            function: Variable {
                                identifier: "pythonOlder",
                                position: (19, 14),
                            },
                            arguments: [
                                String {
                                    parts: [
                                        Raw {
                                            content: "3.7",
                                            position: (19, 27),
                                        },
                                    ],
                                },
                            ],
                        },
                    ),
                    KeyValue(
                        AttributePath {
                            attributes: [
                                Raw {
                                    content: "src",
                                    position: (21, 3),
                                },
                            ],
                        },
                        FunctionApplication {
                            function: Variable {
                                identifier: "fetchFromGitHub",
                                position: (21, 9),
                            },
                            arguments: [
                                Map {
                                    bindings: [
                                        KeyValue(
                                            AttributePath {
                                                attributes: [
                                                    Raw {
                                                        content: "owner",
                                                        position: (22, 5),
                                                    },
                                                ],
                                            },
                                            String {
                                                parts: [
                                                    Raw {
                                                        content: "bitcoin-core",
                                                        position: (22, 14),
                                                    },
                                                ],
                                            },
                                        ),
                                        KeyValue(
                                            AttributePath {
                                                attributes: [
                                                    Raw {
                                                        content: "repo",
                                                        position: (23, 5),
                                                    },
                                                ],
                                            },
                                            String {
                                                parts: [
                                                    Raw {
                                                        content: "HWI",
                                                        position: (23, 13),
                                                    },
                                                ],
                                            },
                                        ),
                                        KeyValue(
                                            AttributePath {
                                                attributes: [
                                                    Raw {
                                                        content: "rev",
                                                        position: (24, 5),
                                                    },
                                                ],
                                            },
                                            Variable {
                                                identifier: "version",
                                                position: (24, 11),
                                            },
                                        ),
                                        KeyValue(
                                            AttributePath {
                                                attributes: [
                                                    Raw {
                                                        content: "sha256",
                                                        position: (25, 5),
                                                    },
                                                ],
                                            },
                                            String {
                                                parts: [
                                                    Raw {
                                                        content: "sha256-s0pKYqesZjHE6YndqsMwCuqLK7eE82oRiSXxBdUtEX4=",
                                                        position: (25, 15),
                                                    },
                                                ],
                                            },
                                        ),
                                    ],
                                    recursive: false,
                                },
                            ],
                        },
                    ),
                    KeyValue(
                        AttributePath {
                            attributes: [
                                Raw {
                                    content: "propagatedBuildInputs",
                                    position: (28, 3),
                                },
                            ],
                        },
                        List {
                            elements: [
                                Variable {
                                    identifier: "bitbox02",
                                    position: (29, 5),
                                },
                                Variable {
                                    identifier: "ecdsa",
                                    position: (30, 5),
                                },
                                Variable {
                                    identifier: "hidapi",
                                    position: (31, 5),
                                },
                                Variable {
                                    identifier: "libusb1",
                                    position: (32, 5),
                                },
                                Variable {
                                    identifier: "mnemonic",
                                    position: (33, 5),
                                },
                                Variable {
                                    identifier: "pyaes",
                                    position: (34, 5),
                                },
                                Variable {
                                    identifier: "typing-extensions",
                                    position: (35, 5),
                                },
                            ],
                        },
                    ),
                    KeyValue(
                        AttributePath {
                            attributes: [
                                Raw {
                                    content: "postPatch",
                                    position: (39, 3),
                                },
                            ],
                        },
                        String {
                            parts: [
                                Raw {
                                    content: "substituteInPlace setup.py \\\n  --replace 'libusb1>=1.7,<2.0' 'libusb1>=1.7' \\\n  --replace \"'python_requires': '>=3.6,<3.10',\" \"'python_requires': '>=3.6,<4',\" \\\n  --replace 'typing-extensions>=3.7,<4.0' 'typing-extensions>=3.7'\n",
                                    position: (40, 1),
                                },
                            ],
                        },
                    ),
                    KeyValue(
                        AttributePath {
                            attributes: [
                                Raw {
                                    content: "doCheck",
                                    position: (47, 3),
                                },
                            ],
                        },
                        Variable {
                            identifier: "false",
                            position: (47, 13),
                        },
                    ),
                    KeyValue(
                        AttributePath {
                            attributes: [
                                Raw {
                                    content: "pythonImportsCheck",
                                    position: (49, 3),
                                },
                            ],
                        },
                        List {
                            elements: [
                                String {
                                    parts: [
                                        Raw {
                                            content: "hwilib",
                                            position: (50, 6),
                                        },
                                    ],
                                },
                            ],
                        },
                    ),
                    KeyValue(
                        AttributePath {
                            attributes: [
                                Raw {
                                    content: "meta",
                                    position: (53, 3),
                                },
                            ],
                        },
                        With {
                            expression: Variable {
                                identifier: "lib",
                                position: (53, 15),
                            },
                            target: Map {
                                bindings: [
                                    KeyValue(
                                        AttributePath {
                                            attributes: [
                                                Raw {
                                                    content: "description",
                                                    position: (54, 5),
                                                },
                                            ],
                                        },
                                        String {
                                            parts: [
                                                Raw {
                                                    content: "Bitcoin Hardware Wallet Interface",
                                                    position: (54, 20),
                                                },
                                            ],
                                        },
                                    ),
                                    KeyValue(
                                        AttributePath {
                                            attributes: [
                                                Raw {
                                                    content: "homepage",
                                                    position: (55, 5),
                                                },
                                            ],
                                        },
                                        String {
                                            parts: [
                                                Raw {
                                                    content: "https://github.com/bitcoin-core/hwi",
                                                    position: (55, 17),
                                                },
                                            ],
                                        },
                                    ),
                                    KeyValue(
                                        AttributePath {
                                            attributes: [
                                                Raw {
                                                    content: "license",
                                                    position: (56, 5),
                                                },
                                            ],
                                        },
                                        With {
                                            expression: Variable {
                                                identifier: "licenses",
                                                position: (56, 20),
                                            },
                                            target: List {
                                                elements: [
                                                    Variable {
                                                        identifier: "mit",
                                                        position: (56, 32),
                                                    },
                                                ],
                                            },
                                        },
                                    ),
                                    KeyValue(
                                        AttributePath {
                                            attributes: [
                                                Raw {
                                                    content: "maintainers",
                                                    position: (57, 5),
                                                },
                                            ],
                                        },
                                        With {
                                            expression: Variable {
                                                identifier: "maintainers",
                                                position: (57, 24),
                                            },
                                            target: List {
                                                elements: [
                                                    Variable {
                                                        identifier: "prusnak",
                                                        position: (57, 39),
                                                    },
                                                ],
                                            },
                                        },
                                    ),
                                ],
                                recursive: false,
                            },
                        },
                    ),
                ],
                recursive: true,
            },
        ],
    },
}