2023-05-24 13:37:59 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pillow
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wheezy.captcha";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "3.2.0";
|
2023-05-24 13:37:59 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-UtTpgrPK5eRr7sq97jptjdJyvAyrM2oU07+GZr2Ad7s=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|