Commit 43394c97 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.django-simple-captcha: 0.5.14 -> 0.5.17

parent 9116837a
Loading
Loading
Loading
Loading
+13 −8
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
, buildPythonPackage
, fetchPypi
, python
, six
, testfixtures
, django
, django-ranged-response
@@ -13,26 +12,32 @@

buildPythonPackage rec {
  pname = "django-simple-captcha";
  version = "0.5.14";
  version = "0.5.17";

  src = fetchPypi {
    inherit pname version;
    sha256 = "84b5c188e6ae50e9ecec5e5d734c5bc4d2a50fbbca7f59d2c12da9a3bbee5051";
    extension = "zip";
    hash = "sha256-lknmbatOce+sv+8C9IuDuRaEiYNSoatW8Whs5xAzsyg=";
  };

  nativeCheckInputs = [ testfixtures ];
  nativeCheckInputs = [
    testfixtures
  ];

  checkPhase = ''
    cd testproject
    ${python.interpreter} manage.py test captcha
  '';

  propagatedBuildInputs = [ django django-ranged-response six pillow ]
  ++ lib.optional withTTS flite;
  propagatedBuildInputs = [
    django
    django-ranged-response
    pillow
  ] ++ lib.optional withTTS flite;

  meta = with lib; {
    description = "An extremely simple, yet highly customizable Django application to add captcha images to any Django form";
    description = "Customizable Django application to add captcha images to any Django form";
    homepage = "https://github.com/mbi/django-simple-captcha";
    changelog = "https://github.com/mbi/django-simple-captcha/blob/v${version}/CHANGES";
    license = licenses.mit;
    maintainers = with maintainers; [ mrmebelman schmittlauch ];
  };