Files
nixpkgs/pkgs/development/python-modules/ledger-bitcoin/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

42 lines
792 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
ledgercomm,
packaging,
bip32,
coincurve,
typing-extensions,
}:
buildPythonPackage rec {
pname = "ledger-bitcoin";
version = "0.4.0";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "ledger_bitcoin";
hash = "sha256-IkJFLnjPS1fIuNNQnoMYYP1IUbChv6uV8vXj9H1NFQA=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
ledgercomm
packaging
bip32
coincurve
typing-extensions
];
pythonImportsCheck = [ "ledger_bitcoin" ];
meta = {
description = "Client library for Ledger Bitcoin application";
homepage = "https://github.com/LedgerHQ/app-bitcoin-new/tree/develop/bitcoin_client/ledger_bitcoin";
license = lib.licenses.asl20;
};
}