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

28 lines
731 B
Nix
Raw Normal View History

2017-05-31 22:25:39 +02:00
{ stdenv, fetchPypi, buildPythonPackage, hidapi
2018-08-26 15:16:08 +03:00
, pycrypto, pillow, protobuf, future, ecpy, python-u2flib-host, pycryptodomex
2017-05-31 22:25:39 +02:00
}:
buildPythonPackage rec {
pname = "ledgerblue";
2018-10-06 12:56:18 +02:00
version = "0.1.20";
2017-05-31 22:25:39 +02:00
src = fetchPypi {
inherit pname version;
2018-10-06 12:56:18 +02:00
sha256 = "fb7ac6389ad13d3c9baa149b527e2cb5798e749e2b6729e5fe8437092ece6164";
2017-05-31 22:25:39 +02:00
};
2018-08-26 15:16:08 +03:00
propagatedBuildInputs = [
hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex
];
# No tests
doCheck = false;
2017-05-31 22:25:39 +02:00
meta = with stdenv.lib; {
description = "Python library to communicate with Ledger Blue/Nano S";
homepage = https://github.com/LedgerHQ/blue-loader-python;
2017-05-31 22:25:39 +02:00
license = licenses.asl20;
maintainers = with maintainers; [ np ];
};
}