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

buildPythonPackage rec {
  pname = "mnemonic";
  version = "0.19";

  src = fetchPypi {
    inherit pname version;
    sha256 = "4e37eb02b2cbd56a0079cabe58a6da93e60e3e4d6e757a586d9f23d96abea931";
  };

  propagatedBuildInputs = [ pbkdf2 ];

  meta = {
    description = "Implementation of Bitcoin BIP-0039";
    homepage = "https://github.com/trezor/python-mnemonic";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ np ];
  };
}