feat(python): django-hCaptcha
This commit is contained in:
parent
185a427942
commit
21921f5652
1 changed files with 36 additions and 0 deletions
36
python-pkgs/django-hCaptcha.nix
Normal file
36
python-pkgs/django-hCaptcha.nix
Normal 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; [ ];
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue