1{ lib, fetchPypi, buildPythonPackage, isPy3k, click, colorama }:
2
3buildPythonPackage rec {
4 pname = "shamir-mnemonic";
5 version = "0.1.0";
6
7 disabled = !isPy3k;
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "1cc08d276e05b13cd32bd3b0c5d1cb6c30254e0086e0f6857ec106d4cceff121";
12 };
13
14 propagatedBuildInputs = [ click colorama ];
15
16 meta = with lib; {
17 description = "Reference implementation of SLIP-0039";
18 homepage = "https://github.com/trezor/python-shamir-mnemonic";
19 license = licenses.mit;
20 maintainers = [ maintainers."1000101" ];
21 };
22}