d2947cfef0
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
32 lines
667 B
Nix
32 lines
667 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, django
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-hcaptcha";
|
|
version = "0.2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "django-hCaptcha";
|
|
sha256 = "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 ];
|
|
};
|
|
}
|