mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
24 lines
636 B
Nix
24 lines
636 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, hidapi
|
|
, pycrypto, pillow, protobuf, future, ecpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
pname = "ledgerblue";
|
|
version = "0.1.13";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "09bsiylvgax6m47w8r0myaf61xj9j0h1spvadx6fx31qy0iqicw0";
|
|
};
|
|
|
|
buildInputs = [ hidapi pycrypto pillow protobuf future ecpy ];
|
|
|
|
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 ];
|
|
};
|
|
}
|