pythonPackages.bitbox02: Init at 5.1.0

This commit is contained in:
Sandro Jäckel 2021-01-03 22:33:32 +01:00
parent 863d89b767
commit 990d47dacd
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, base58, ecdsa, hidapi, noiseprotocol, protobuf, semver, typing-extensions }:
buildPythonPackage rec {
pname = "bitbox02";
version = "5.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0hnjjjarr4q22wh03zyyqfhsizzsvg46030kks3qkzbsv29vqqh5";
};
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 ];
};
}

View File

@ -892,6 +892,8 @@ in {
bitarray = callPackage ../development/python-modules/bitarray { };
bitbox02 = callPackage ../development/python-modules/bitbox02 { };
bitbucket_api = callPackage ../development/python-modules/bitbucket-api { };
bitbucket-cli = callPackage ../development/python-modules/bitbucket-cli { };