about summary refs log tree commit diff
path: root/pkgs/development/python-modules/wheezy-captcha/default.nix
blob: 4006bedf14e1f036b2a53ddf519c6bbcbc06d99e (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, pillow
}:

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

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-PdtOhoVOopQsX2raPqh0P8meM8/MysgKsIe27HNtl3s=";
  };

  propagatedBuildInputs = [ pillow ];

  pythonImportsCheck = [ "wheezy.captcha" ];

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