about summary refs log tree commit diff
path: root/pkgs/development/python-modules/shamir-mnemonic/default.nix
blob: 907f87dcd4746d59adbe4af9d9759a9884cba09e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, fetchPypi, buildPythonPackage, isPy3k, click, colorama }:

buildPythonPackage rec {
  pname = "shamir-mnemonic";
  version = "0.1.0";

  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "1cc08d276e05b13cd32bd3b0c5d1cb6c30254e0086e0f6857ec106d4cceff121";
  };

  propagatedBuildInputs = [ click colorama ];

  meta = {
    description = "Reference implementation of SLIP-0039";
    homepage = "https://github.com/trezor/python-shamir-mnemonic";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ "1000101" ];
  };
}