evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / bitbox02 / default.nix
blob69b2b258e1f22c9b6e057eb43a1c10f06701959e
2   lib,
3   base58,
4   buildPythonPackage,
5   ecdsa,
6   fetchPypi,
7   hidapi,
8   noiseprotocol,
9   protobuf,
10   pythonOlder,
11   semver,
12   setuptools,
13   typing-extensions,
16 buildPythonPackage rec {
17   pname = "bitbox02";
18   version = "6.3.0";
19   pyproject = true;
21   disabled = pythonOlder "3.7";
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-0D+yIovlYw8dfDUeW+vcualbvmLs+IySkTpmHwk2meM=";
26   };
28   build-system = [ setuptools ];
30   dependencies = [
31     base58
32     ecdsa
33     hidapi
34     noiseprotocol
35     protobuf
36     semver
37     typing-extensions
38   ];
40   # does not contain tests
41   doCheck = false;
43   pythonImportsCheck = [ "bitbox02" ];
45   meta = with lib; {
46     description = "Firmware code of the BitBox02 hardware wallet";
47     homepage = "https://github.com/digitalbitbox/bitbox02-firmware/";
48     changelog = "https://github.com/digitalbitbox/bitbox02-firmware/blob/py-bitbox02-${version}/CHANGELOG.md";
49     license = licenses.asl20;
50     maintainers = [ ];
51   };