nixpkgs/pkgs/development/python-modules/ledgerblue/default.nix

28 lines
731 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage, hidapi
, pycrypto, pillow, protobuf, future, ecpy, python-u2flib-host, pycryptodomex
}:
buildPythonPackage rec {
pname = "ledgerblue";
2018-10-06 11:56:18 +01:00
version = "0.1.20";
src = fetchPypi {
inherit pname version;
2018-10-06 11:56:18 +01:00
sha256 = "fb7ac6389ad13d3c9baa149b527e2cb5798e749e2b6729e5fe8437092ece6164";
};
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 ];
};
}