depot/third_party/nixpkgs/pkgs/development/python-modules/django-hcaptcha/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

32 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 ];
};
}