Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 55 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, bitbox02, buildPythonPackage, cbor, ecdsa, fetchFromGitHub, hidapi, libusb1, mnemonic, pyaes, pyserial, pythonOlder, typing-extensions,}:
buildPythonPackage rec { pname = "hwi"; version = "3.1.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "bitcoin-core"; repo = "HWI"; tag = version; hash = "sha256-sQqft+5M+X+91bFqpUrbDRrFzpe/l1+w+pnIHwqezR8="; };
propagatedBuildInputs = [ bitbox02 cbor ecdsa hidapi libusb1 mnemonic pyaes pyserial typing-extensions ];
# Tests require to clone quite a few firmwares doCheck = false;
pythonImportsCheck = [ "hwilib" ];
meta = with lib; { description = "Bitcoin Hardware Wallet Interface"; homepage = "https://github.com/bitcoin-core/hwi"; changelog = "https://github.com/bitcoin-core/HWI/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ prusnak ]; };}