pythonPAckages.recaptcha_client: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:54:19 -04:00 committed by Frederik Rietdijk
parent 3b19820796
commit c25ea93761
2 changed files with 24 additions and 15 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pythonAtLeast
}:
buildPythonPackage rec {
pname = "recaptcha-client";
version = "1.0.6";
disabled = pythonAtLeast "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "28c6853c1d13d365b7dc71a6b05e5ffb56471f70a850de318af50d3d7c0dea2f";
};
meta = with stdenv.lib; {
description = "A CAPTCHA for Python using the reCAPTCHA service";
homepage = http://recaptcha.net/;
license = licenses.mit;
};
}

View File

@ -3526,21 +3526,7 @@ in {
radicale_infcloud = callPackage ../development/python-modules/radicale_infcloud {};
recaptcha_client = buildPythonPackage rec {
name = "recaptcha-client-1.0.6";
src = pkgs.fetchurl {
url = "mirror://pypi/r/recaptcha-client/${name}.tar.gz";
sha256 = "28c6853c1d13d365b7dc71a6b05e5ffb56471f70a850de318af50d3d7c0dea2f";
};
disabled = isPy35 || isPy36;
meta = {
description = "A CAPTCHA for Python using the reCAPTCHA service";
homepage = http://recaptcha.net/;
};
};
recaptcha_client = callPackage ../development/python-modules/recaptcha_client { };
rbtools = buildPythonPackage rec {
name = "rbtools-0.7.2";