feat(python): django-hCaptcha

This commit is contained in:
catvayor 2024-12-10 14:53:52 +01:00
parent 185a427942
commit 21921f5652
Signed by: lbailly
GPG key ID: CE3E645251AC63F3

View file

@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "django-hcaptcha";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "AndrejZbin";
repo = "django-hcaptcha";
rev = "v${version}";
hash = "sha256-g6I/CKxaRWuXLVhuAe1auC3+gHwcyYhoc/px+OfP4o8=";
};
build-system = [
setuptools
wheel
];
pythonImportsCheck = [
"hcaptcha"
];
meta = {
description = "Django hCaptcha provides a simple way to protect your django forms using hCaptcha";
homepage = "https://github.com/AndrejZbin/django-hcaptcha.git";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ];
};
}