about summary refs log tree commit diff
path: root/pkgs/development/python-modules/django-hcaptcha/default.nix
blob: 52cf7ffb7ea504f7dd388fc163f6dee2ac5174e0 (plain) (blame)
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 rec {
  pname = "django-hcaptcha";
  version = "0.2.0";

  src = fetchPypi {
    inherit version;
    pname = "django-hCaptcha";
    hash = "sha256-slGerwzJeGWscvglMBEixc9h4eSFLWiVmUFgIirLbBo=";
  };

  propagatedBuildInputs = [
    django
  ];

  # No tests
  doCheck = false;

  pythonImportsCheck = [ "hcaptcha" ];

  meta = with lib; {
    description = "Django hCaptcha provides a simple way to protect your django forms using hCaptcha";
    homepage = "https://github.com/AndrejZbin/django-hcaptcha";
    license = licenses.bsd3;
    maintainers = with maintainers; [ ambroisie ];
  };
}