1{ lib
2, buildPythonPackage
3, fetchPypi
4, django
5}:
6
7buildPythonPackage rec {
8 pname = "django-hcaptcha";
9 version = "0.2.0";
10
11 src = fetchPypi {
12 inherit version;
13 pname = "django-hCaptcha";
14 sha256 = "sha256-slGerwzJeGWscvglMBEixc9h4eSFLWiVmUFgIirLbBo=";
15 };
16
17 propagatedBuildInputs = [
18 django
19 ];
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}