Subject: python-trezor-0.12.4.drv fails to build due to sanity-check

From: Bazmek <[email-masked]>
Date: Sun, 05 Jun 2022 01:27:47 +0000

...
...trying to load endpoint console_scripts trezorctl: ERROR:
Traceback (most recent call last):
  File "/gnu/store/35ix1m6m8a5s21j02ajhdyqxb2xkshfb-sanity-check.py", line 85, in <module>
    ep.load()
  File "/gnu/store/b6j1qw1a5rkbfvcy7lc9fm95abbzpa4x-python-3.9.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2450, in load
    return self.resolve()
  File "/gnu/store/b6j1qw1a5rkbfvcy7lc9fm95abbzpa4x-python-3.9.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2456, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/gnu/store/y6gx2vkg5ndzwy95yrwwnb8qzq96q497-python-trezor-0.12.4/lib/python3.9/site-packages/trezorlib/cli/trezorctl.py", line 171, in <module>
    @cli.resultcallback()
AttributeError: 'TrezorctlGroup' object has no attribute 'resultcallback'
error: in phase 'sanity-check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("/gnu/store/35ix1m6m8a5s21j02ajhdyqxb2xkshfb-sanity-check.py" "/gnu/store/y6gx2vkg5ndzwy95yrwwnb8qzq96q497-python-trezor-0.12.4/lib/python3.9/site-packages") exit-status: 1 term-signal: #f stop-signal: #f>
phase `sanity-check' failed after 0.3 seconds
command "python" "/gnu/store/35ix1m6m8a5s21j02ajhdyqxb2xkshfb-sanity-check.py" "/gnu/store/y6gx2vkg5ndzwy95yrwwnb8qzq96q497-python-trezor-0.12.4/lib/python3.9/site-packages" failed with status 1

Can the sanity-check be removed?