summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/wheezy-captcha/default.nix
blob: 13380be1b8d261f12868ffd6c314746bb7faa803 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pillow,
}:

buildPythonPackage rec {
  pname = "wheezy.captcha";
  version = "3.2.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-UtTpgrPK5eRr7sq97jptjdJyvAyrM2oU07+GZr2Ad7s=";
  };

  propagatedBuildInputs = [ pillow ];

  pythonImportsCheck = [ "wheezy.captcha" ];

  meta = {
    homepage = "https://wheezycaptcha.readthedocs.io/en/latest/";
    description = "Lightweight CAPTCHA library";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ Flakebi ];
  };
}