depot/third_party/nixpkgs/pkgs/development/python-modules/ledger-bitcoin/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

41 lines
798 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
ledgercomm,
packaging,
bip32,
coincurve,
typing-extensions,
}:
buildPythonPackage rec {
pname = "ledger-bitcoin";
version = "0.3.0";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "ledger_bitcoin";
hash = "sha256-rZzerzOkVWK71brmdRAluGmi+B1usCZ90GKgH1klpNU=";
};
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;
};
}