504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
33 lines
690 B
Nix
33 lines
690 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, django
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-hcaptcha";
|
|
version = "0.2.0";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|