1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/development/python-modules/trezor/default.nix

27 lines
775 B
Nix

{ lib, fetchPypi, buildPythonPackage,
protobuf, hidapi, ecdsa, mnemonic, requests, pyblake2, click, libusb1
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "trezor";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "2dd01e11d669cb8f5e40fcf1748bcabc41fb5f41edb010fc807dc3088f9bd7de";
};
propagatedBuildInputs = [ protobuf hidapi ecdsa mnemonic requests pyblake2 click libusb1 ];
# There are no actual tests: "ImportError: No module named tests"
doCheck = false;
meta = {
description = "Python library for communicating with TREZOR Bitcoin Hardware Wallet";
homepage = https://github.com/trezor/python-trezor;
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ np ];
};
}