pythonPAckages.recaptcha_client: refactor move to python-modules
This commit is contained in:
parent
3b19820796
commit
c25ea93761
23
pkgs/development/python-modules/recaptcha_client/default.nix
Normal file
23
pkgs/development/python-modules/recaptcha_client/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user