python312Packages.altcha: init at 0.1.7

This commit is contained in:
natsukium
2025-01-12 15:42:12 +09:00
parent 2f9e2f85cb
commit c2d5128498
2 changed files with 35 additions and 0 deletions
@@ -0,0 +1,33 @@
{
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
View File
@@ -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 { };