2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
setuptools,
|
|
|
|
ledgercomm,
|
|
|
|
packaging,
|
|
|
|
bip32,
|
|
|
|
coincurve,
|
|
|
|
typing-extensions,
|
|
|
|
}:
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ledger-bitcoin";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.3.0";
|
2023-04-29 16:46:19 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "ledger_bitcoin";
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-rZzerzOkVWK71brmdRAluGmi+B1usCZ90GKgH1klpNU=";
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ledgercomm
|
|
|
|
packaging
|
2023-11-16 04:20:00 +00:00
|
|
|
bip32
|
|
|
|
coincurve
|
2023-04-29 16:46:19 +00:00
|
|
|
typing-extensions
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "ledger_bitcoin" ];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Client library for Ledger Bitcoin application";
|
2023-04-29 16:46:19 +00:00
|
|
|
homepage = "https://github.com/LedgerHQ/app-bitcoin-new/tree/develop/bitcoin_client/ledger_bitcoin";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|