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";
2019-05-30 07:49:51 +01:00
version = "0.1.24";
src = fetchPypi {
inherit pname version;
2019-05-30 07:49:51 +01:00
sha256 = "fc111ed5db8da93f280928d966f9d87416b464f5f09cec80b60e88c4c1265026";
};
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 ];
};
}