blob: e69cab09866b7d3518288863ebf8ec278330ac92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "ledgercomm";
version = "1.2.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-AVz8BfFrjFn4zB2fwLiTWSPx/MOAbTPutrDgVbRPWpE=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
pythonImportsCheck = [ "ledgercomm" ];
meta = {
description = "Python library to send and receive APDU through HID or TCP socket. It can be used with a Ledger Nano S/X or with the Speculos emulator";
mainProgram = "ledgercomm-send";
homepage = "https://github.com/LedgerHQ/ledgercomm";
license = lib.licenses.mit;
};
}
|