blob: 3a6b5f62e4f57541e14f5e4ede55daa20ab79708 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, fetchPypi, buildPythonPackage,
protobuf, hidapi, ecdsa, mnemonic, requests, pyblake2, click, libusb1, rlp
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "trezor";
version = "0.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "a481191011bade98f1e9f1201e7c72a83945050657bbc90dc4ac32dc8b8b46a4";
};
propagatedBuildInputs = [ protobuf hidapi ecdsa mnemonic requests pyblake2 click libusb1 rlp ];
# 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 ];
};
}
|