blob: 9f51677dbdaa330b100bb9d6ececadda75f2dc3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
django,
}:
buildPythonPackage (finalAttrs: {
pname = "django-hcaptcha";
version = "0.2.0";
format = "setuptools";
src = fetchPypi {
inherit (finalAttrs) version;
pname = "django-hCaptcha";
hash = "sha256-slGerwzJeGWscvglMBEixc9h4eSFLWiVmUFgIirLbBo=";
};
propagatedBuildInputs = [ django ];
# No tests
doCheck = false;
pythonImportsCheck = [ "hcaptcha" ];
meta = {
description = "Django hCaptcha provides a simple way to protect your django forms using hCaptcha";
homepage = "https://github.com/AndrejZbin/django-hcaptcha";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ambroisie ];
};
})
|