My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/ledgerblue/default.nix

53 lines
905 B

{ lib
, buildPythonPackage
, ecpy
, fetchPypi
, future
, hidapi
, pillow
, protobuf
, pycrypto
, pycryptodomex
, pythonOlder
, python-u2flib-host
, websocket-client
}:
buildPythonPackage rec {
pname = "ledgerblue";
version = "0.1.42";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-UNquetZ1sCLO9T5p5b3jTSu+52xuc5XdyHNKsvvPdck=";
};
propagatedBuildInputs = [
ecpy
future
hidapi
pillow
protobuf
pycrypto
pycryptodomex
python-u2flib-host
websocket-client
];
# No tests
doCheck = false;
pythonImportsCheck = [
"ledgerblue"
];
meta = with lib; {
description = "Python library to communicate with Ledger Blue/Nano S";
homepage = "https://github.com/LedgerHQ/blue-loader-python";
license = licenses.asl20;
maintainers = with maintainers; [ np ];
};
}