Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / mnemonic / default.nix
blob8d47db636964616b5b8c6a59f2ac99451498872c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "mnemonic";
9   version = "0.19";
11   src = fetchFromGitHub {
12     owner = "trezor";
13     repo = "python-${pname}";
14     rev = "v${version}";
15     sha256 = "0rs3szdikkgypiwn43ad3lwh7zvpccw39j5ggkziq6v7pnw3isaq";
16   };
18   checkInputs = [ pytestCheckHook ];
20   pythonImportsCheck = [ "mnemonic" ];
22   meta = with lib; {
23     description = "Reference implementation of BIP-0039";
24     homepage = "https://github.com/trezor/python-mnemonic";
25     license = licenses.mit;
26     maintainers = with maintainers; [ np prusnak ];
27   };