diff --git a/pkgs/development/python-modules/wheezy-captcha/default.nix b/pkgs/development/python-modules/wheezy-captcha/default.nix new file mode 100644 index 000000000000..4006bedf14e1 --- /dev/null +++ b/pkgs/development/python-modules/wheezy-captcha/default.nix @@ -0,0 +1,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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5bddaeaf20fd..55c9af993b26 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12770,6 +12770,8 @@ self: super: with self; { wheel-inspect = callPackage ../development/python-modules/wheel-inspect { }; + wheezy-captcha = callPackage ../development/python-modules/wheezy-captcha { }; + wheezy-template = callPackage ../development/python-modules/wheezy-template { }; whichcraft = callPackage ../development/python-modules/whichcraft { };