Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / bitbox02 / default.nix
blobd57d4a6585bd418a1f82a3c76d3d22a8cff767aa
1 { lib, buildPythonPackage, fetchPypi, base58, ecdsa, hidapi, noiseprotocol, protobuf, semver, typing-extensions }:
3 buildPythonPackage rec {
4   pname = "bitbox02";
5   version = "5.3.0";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "fe0e8aeb9b32fd7d76bb3e9838895973a74dfd532a8fb8ac174a1a60214aee26";
10   };
12   propagatedBuildInputs = [ base58 ecdsa hidapi noiseprotocol protobuf semver typing-extensions ];
14   # does not contain tests
15   doCheck = false;
16   pythonImportsCheck = [ "bitbox02" ];
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   };