1{ lib, buildPythonPackage, fetchPypi, base58, ecdsa, hidapi, noiseprotocol, protobuf, semver, typing-extensions }: 2 3buildPythonPackage rec { 4 pname = "bitbox02"; 5 version = "6.1.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "sha256-mVA0CdbGGJn44R6xHnophmsnVMsCwDrPNM3vmXVa7dg="; 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}