mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
51b96d8e85
New Ledger protocol needs a new dependency to work https://github.com/spesmilo/electrum/pull/8041
41 lines
757 B
Nix
41 lines
757 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, ledgercomm
|
|
, packaging
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ledger-bitcoin";
|
|
version = "0.2.1";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "ledger_bitcoin";
|
|
hash = "sha256-AWl/q2MzzspNIo6yf30S92PgM/Ygsb+1lJsg7Asztso=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
ledgercomm
|
|
packaging
|
|
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;
|
|
};
|
|
}
|