mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
29 lines
617 B
Nix
29 lines
617 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mnemonic";
|
|
version = "0.19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "trezor";
|
|
repo = "python-${pname}";
|
|
rev = "v${version}";
|
|
sha256 = "0rs3szdikkgypiwn43ad3lwh7zvpccw39j5ggkziq6v7pnw3isaq";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "mnemonic" ];
|
|
|
|
meta = with lib; {
|
|
description = "Reference implementation of BIP-0039";
|
|
homepage = "https://github.com/trezor/python-mnemonic";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ np prusnak ];
|
|
};
|
|
}
|