Loading pkgs/development/python-modules/captcha/default.nix 0 → 100644 +37 −0 Original line number Diff line number Diff line { lib , fetchFromGitHub , buildPythonPackage , nose , pillow , wheezy-captcha }: buildPythonPackage rec { pname = "captcha"; version = "0.4"; format = "setuptools"; src = fetchFromGitHub { owner = "lepture"; repo = pname; rev = "v${version}"; hash = "sha256-uxUjoACN65Cx5LMKpT+bZhKpf2JRSaEyysnYUgZntp8="; }; propagatedBuildInputs = [ pillow ]; pythonImportsCheck = [ "captcha" ]; nativeCheckInputs = [ nose wheezy-captcha ]; checkPhase = '' nosetests -s ''; meta = with lib; { description = "A captcha library that generates audio and image CAPTCHAs"; homepage = "https://github.com/lepture/captcha"; license = licenses.bsd3; maintainers = with maintainers; [ Flakebi ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1607,6 +1607,8 @@ self: super: with self; { inherit (pkgs) capstone; }; captcha = callPackage ../development/python-modules/captcha { }; capturer = callPackage ../development/python-modules/capturer { }; carbon = callPackage ../development/python-modules/carbon { }; Loading Loading
pkgs/development/python-modules/captcha/default.nix 0 → 100644 +37 −0 Original line number Diff line number Diff line { lib , fetchFromGitHub , buildPythonPackage , nose , pillow , wheezy-captcha }: buildPythonPackage rec { pname = "captcha"; version = "0.4"; format = "setuptools"; src = fetchFromGitHub { owner = "lepture"; repo = pname; rev = "v${version}"; hash = "sha256-uxUjoACN65Cx5LMKpT+bZhKpf2JRSaEyysnYUgZntp8="; }; propagatedBuildInputs = [ pillow ]; pythonImportsCheck = [ "captcha" ]; nativeCheckInputs = [ nose wheezy-captcha ]; checkPhase = '' nosetests -s ''; meta = with lib; { description = "A captcha library that generates audio and image CAPTCHAs"; homepage = "https://github.com/lepture/captcha"; license = licenses.bsd3; maintainers = with maintainers; [ Flakebi ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1607,6 +1607,8 @@ self: super: with self; { inherit (pkgs) capstone; }; captcha = callPackage ../development/python-modules/captcha { }; capturer = callPackage ../development/python-modules/capturer { }; carbon = callPackage ../development/python-modules/carbon { }; Loading