nixpkgs-suyu/pkgs/development/python-modules/ledgerblue/default.nix
2018-12-03 16:50:31 +01:00

27 lines
731 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, hidapi
, pycrypto, pillow, protobuf, future, ecpy, python-u2flib-host, pycryptodomex
}:
buildPythonPackage rec {
pname = "ledgerblue";
version = "0.1.21";
src = fetchPypi {
inherit pname version;
sha256 = "f4fa7d062dcc124f032238030223363c7d85812272cd30afd09d49bb6a3256dc";
};
propagatedBuildInputs = [
hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex
];
# No tests
doCheck = false;
meta = with stdenv.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 ];
};
}