5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
24 lines
744 B
Nix
24 lines
744 B
Nix
{ lib, buildPythonPackage, fetchPypi, base58, ecdsa, hidapi, noiseprotocol, protobuf, semver, typing-extensions }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bitbox02";
|
|
version = "6.1.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-mVA0CdbGGJn44R6xHnophmsnVMsCwDrPNM3vmXVa7dg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ base58 ecdsa hidapi noiseprotocol protobuf semver typing-extensions ];
|
|
|
|
# does not contain tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "bitbox02" ];
|
|
|
|
meta = with lib; {
|
|
description = "Firmware code of the BitBox02 hardware wallet";
|
|
homepage = "https://github.com/digitalbitbox/bitbox02-firmware/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|