evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / mnemonic / default.nix
blob4250e048430e383e3c2cb3268a2546531701d1d1
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   poetry-core,
7 }:
9 buildPythonPackage rec {
10   pname = "mnemonic";
11   version = "0.21";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "trezor";
16     repo = "python-mnemonic";
17     rev = "v${version}";
18     hash = "sha256-D1mS/JQhefYmwrShfWR9SdiGsBUM+jmuCkfWix9tDOU=";
19   };
21   build-system = [ poetry-core ];
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "mnemonic" ];
27   meta = with lib; {
28     description = "Reference implementation of BIP-0039";
29     homepage = "https://github.com/trezor/python-mnemonic";
30     license = licenses.mit;
31     maintainers = with maintainers; [
32       np
33       prusnak
34     ];
35   };