12 buildPythonPackage rec {
13 pname = "shamir-mnemonic";
15 format = "setuptools";
19 src = fetchFromGitHub {
21 repo = "python-${pname}";
23 hash = "sha256-b9tBXN9dBdAeGg3xf5ZBdd6kPpFzseJl6wRTTfNZEwo=";
26 propagatedBuildInputs = [
32 nativeCheckInputs = [ pytestCheckHook ];
34 pythonImportsCheck = [ "shamir_mnemonic" ];
37 description = "Reference implementation of SLIP-0039";
38 mainProgram = "shamir";
39 homepage = "https://github.com/trezor/python-shamir-mnemonic";
40 license = licenses.mit;
41 maintainers = with maintainers; [ prusnak ];