Something went wrong. Try again.
lol
Something went wrong. Try again.
958 B · 49 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, base58, buildPythonPackage, ecdsa, fetchPypi, hidapi, noiseprotocol, protobuf, semver, setuptools, typing-extensions,}:
buildPythonPackage (finalAttrs: { pname = "bitbox02"; version = "7.0.0"; pyproject = true;
src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-J9UQXrFaVTcZ+p0+aJIchksAyGGzpkQETZrGhCbxhEc="; };
build-system = [ setuptools ];
dependencies = [ base58 ecdsa hidapi noiseprotocol protobuf semver typing-extensions ];
# does not contain tests doCheck = false;
pythonImportsCheck = [ "bitbox02" ];
meta = { description = "Firmware code of the BitBox02 hardware wallet"; homepage = "https://github.com/digitalbitbox/bitbox02-firmware/"; changelog = "https://github.com/digitalbitbox/bitbox02-firmware/blob/py-bitbox02-${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; };})