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