2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
44 lines
801 B
Nix
44 lines
801 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, ledgercomm
|
|
, packaging
|
|
, bip32
|
|
, coincurve
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ledger-bitcoin";
|
|
version = "0.2.2";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "ledger_bitcoin";
|
|
hash = "sha256-MEZuwIthIOwBkRdR7dEsEznO+GVBeOf7/5xmwNW1SvI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
ledgercomm
|
|
packaging
|
|
bip32
|
|
coincurve
|
|
typing-extensions
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"ledger_bitcoin"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Client library for Ledger Bitcoin application.";
|
|
homepage = "https://github.com/LedgerHQ/app-bitcoin-new/tree/develop/bitcoin_client/ledger_bitcoin";
|
|
license = licenses.asl20;
|
|
};
|
|
}
|