Unverified Commit c2d51284 authored by natsukium's avatar natsukium
Browse files

python312Packages.altcha: init at 0.1.7

parent 2f9e2f85
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "altcha";
  version = "0.1.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "altcha-org";
    repo = "altcha-lib-py";
    tag = "v${version}";
    hash = "sha256-jQUzIriy7p43WfbJ2XtT/n3AQy+f2ByDl7zNBBAxZ4I=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "altcha" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Lightweight Python library for creating and verifying ALTCHA challenges";
    homepage = "https://github.com/altcha-org/altcha-lib-py";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ erictapen ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -566,6 +566,8 @@ self: super: with self; {
  altair = callPackage ../development/python-modules/altair { };
  altcha = callPackage ../development/python-modules/altcha { };
  altgraph = callPackage ../development/python-modules/altgraph { };
  amarna = callPackage ../development/python-modules/amarna { };