1{ lib, buildPythonPackage, fetchPypi, base58, ecdsa, hidapi, noiseprotocol, protobuf, semver, typing-extensions }:
2
3buildPythonPackage rec {
4 pname = "bitbox02";
5 version = "5.3.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "fe0e8aeb9b32fd7d76bb3e9838895973a74dfd532a8fb8ac174a1a60214aee26";
10 };
11
12 propagatedBuildInputs = [ base58 ecdsa hidapi noiseprotocol protobuf semver typing-extensions ];
13
14 # does not contain tests
15 doCheck = false;
16 pythonImportsCheck = [ "bitbox02" ];
17
18 meta = with lib; {
19 description = "Firmware code of the BitBox02 hardware wallet";
20 homepage = "https://github.com/digitalbitbox/bitbox02-firmware/";
21 license = licenses.asl20;
22 maintainers = with maintainers; [ SuperSandro2000 ];
23 };
24}