Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, cbor2, coincurve, crcmod, ecdsa, ed25519-blake2b, fetchFromGitHub, py-sr25519-bindings, pycryptodome, pynacl, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "bip-utils"; version = "2.10.0"; pyproject = true;
src = fetchFromGitHub { owner = "ebellocchia"; repo = "bip_utils"; tag = "v${version}"; hash = "sha256-84fhL8+/hIHnS7QpbgvPXw/WH2XZbsN895KI/XIKsKw="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ ecdsa cbor2 pynacl coincurve crcmod ed25519-blake2b py-sr25519-bindings pycryptodome ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bip_utils" ];
meta = { description = "Implementation of BIP39, BIP32, BIP44, BIP49 and BIP84 for wallet seeds, keys and addresses generation"; homepage = "https://github.com/ebellocchia/bip_utils"; changelog = "https://github.com/ebellocchia/bip_utils/blob/${src.tag}/CHANGELOG.md"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ prusnak stargate01 ]; };}