11 buildPythonPackage rec {
12 pname = "py-bip39-bindings";
16 disabled = pythonOlder "3.6";
18 src = fetchFromGitHub {
20 repo = "py-bip39-bindings";
21 rev = "ddb74433c2dca7b1f1e1984c33b9da7b51a30227";
22 sha256 = "sha256-MBDic955EohTW6BWprv7X+ZPHoqzkyBJYKV4jpNPKz8=";
25 cargoDeps = rustPlatform.importCargoLock {
26 lockFile = ./Cargo.lock;
30 cp ${./Cargo.lock} Cargo.lock
33 nativeBuildInputs = with rustPlatform; [
38 buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
48 pythonImportsCheck = [
53 description = "Python bindings for the tiny-bip39 library";
54 homepage = "https://github.com/polkascan/py-bip39-bindings";
55 license = licenses.asl20;
56 maintainers = with maintainers; [ stargate01 ];