Unverified Commit f810504d authored by Pavol Rusnak's avatar Pavol Rusnak
Browse files

python3Packages.shamir-mnemonic: 0.2.2 -> 0.3.0

parent f82abdfb
Loading
Loading
Loading
Loading
+7 −12
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  isPy3k,
  fetchFromGitHub,
  attrs,
  poetry-core,
  click,
  colorama,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "shamir-mnemonic";
  version = "0.2.2";
  format = "setuptools";

  disabled = !isPy3k;
  version = "0.3.0";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "trezor";
    repo = "python-${pname}";
    rev = "v${version}";
    hash = "sha256-b9tBXN9dBdAeGg3xf5ZBdd6kPpFzseJl6wRTTfNZEwo=";
    tag = "v${version}";
    hash = "sha256-KjZbxA92h25ghbItdmPvkSPvDZUSRWkl4vnJDBMN71s=";
  };

  build-system = [ poetry-core ];

  propagatedBuildInputs = [
    attrs
    click
    colorama
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "shamir_mnemonic" ];

  meta = with lib; {