diff options
author | Robert Schütz <nix@dotlambda.de> | 2023-08-02 13:40:46 -0700 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2023-08-04 18:10:43 -0700 |
commit | 00d3c8b3e3cb25790602ec583ec6211ea7d52b08 (patch) | |
tree | 26c5377ac7eaeea2fc7c0c7d72afc2919f2dda60 /pkgs | |
parent | c313ed27dacb825970738583aeab6eb620bbf1f2 (diff) | |
download | nixlib-00d3c8b3e3cb25790602ec583ec6211ea7d52b08.tar nixlib-00d3c8b3e3cb25790602ec583ec6211ea7d52b08.tar.gz nixlib-00d3c8b3e3cb25790602ec583ec6211ea7d52b08.tar.bz2 nixlib-00d3c8b3e3cb25790602ec583ec6211ea7d52b08.tar.lz nixlib-00d3c8b3e3cb25790602ec583ec6211ea7d52b08.tar.xz nixlib-00d3c8b3e3cb25790602ec583ec6211ea7d52b08.tar.zst nixlib-00d3c8b3e3cb25790602ec583ec6211ea7d52b08.zip |
python310Packages.captcha: 0.4 -> 0.5.0
Diff: https://github.com/lepture/captcha/compare/v0.4...v0.5.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/captcha/default.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/captcha/default.nix b/pkgs/development/python-modules/captcha/default.nix index d040c2e7bf76..807272da5b1c 100644 --- a/pkgs/development/python-modules/captcha/default.nix +++ b/pkgs/development/python-modules/captcha/default.nix @@ -1,32 +1,31 @@ { lib , fetchFromGitHub +, pythonOlder , buildPythonPackage -, nose , pillow -, wheezy-captcha +, pytestCheckHook }: buildPythonPackage rec { pname = "captcha"; - version = "0.4"; + version = "0.5.0"; + + disabled = pythonOlder "3.8"; + format = "setuptools"; src = fetchFromGitHub { owner = "lepture"; repo = pname; rev = "v${version}"; - hash = "sha256-uxUjoACN65Cx5LMKpT+bZhKpf2JRSaEyysnYUgZntp8="; + hash = "sha256-TPPuf0BRZPSHPSF0HuGxhjhoSyZQ7r86kSjkrztgZ5w="; }; propagatedBuildInputs = [ pillow ]; pythonImportsCheck = [ "captcha" ]; - nativeCheckInputs = [ nose wheezy-captcha ]; - - checkPhase = '' - nosetests -s - ''; + nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "A captcha library that generates audio and image CAPTCHAs"; |