@@ -3811,6 +3811,34 @@ let
38113811 propagatedBuildInputs = with self; [ gdata ];
38123812 };
38133813
3814+ gplaycli = buildPythonPackage rec {
3815+ version = "0.1.2";
3816+ name = "gplaycli-${version}";
3817+
3818+ src = pkgs.fetchFromGitHub {
3819+ owner = "matlink";
3820+ repo = "gplaycli";
3821+ rev = "${version}";
3822+ sha256 = "0yc09inzs3aggj0gw4irlhlzw5q562fsp0sks352y6z0vx31hcp3";
3823+ };
3824+
3825+ disabled = ! isPy27;
3826+
3827+ propagatedBuildInputs = with self; [ pkgs.libffi pyasn1 clint ndg-httpsclient protobuf requests args ];
3828+
3829+ preBuild = ''
3830+ substituteInPlace setup.py --replace "/etc" "$out/etc"
3831+ substituteInPlace gplaycli/gplaycli.py --replace "/etc" "$out/etc"
3832+ '';
3833+
3834+ meta = {
3835+ homepage = https://github.com/matlink/gplaycli;
3836+ description = "Google Play Downloader via Command line";
3837+ license = licenses.agl3Plus;
3838+ maintainers = with maintainers; [ DamienCassou ];
3839+ };
3840+ };
3841+
38143842 gst-python = callPackage ../development/libraries/gstreamer/python {
38153843 gst-plugins-base = pkgs.gst_all_1.gst-plugins-base;
38163844 };
@@ -4297,6 +4325,27 @@ let
42974325 };
42984326 };
42994327
4328+ ndg-httpsclient = buildPythonPackage rec {
4329+ version = "0.4.0";
4330+ name = "ndg-httpsclient-${version}";
4331+
4332+ propagatedBuildInputs = with self; [ pyopenssl ];
4333+
4334+ src = pkgs.fetchFromGitHub {
4335+ owner = "cedadev";
4336+ repo = "ndg_httpsclient";
4337+ rev = "v${version}";
4338+ sha256 = "1prv4j3wcy9kl5ndd5by543xp4cji9k35qncsl995w6sway34s1a";
4339+ };
4340+
4341+ meta = {
4342+ homepage = https://github.com/cedadev/ndg_httpsclient/;
4343+ description = "Provide enhanced HTTPS support for httplib and urllib2 using PyOpenSSL";
4344+ license = licenses.bsd;
4345+ maintainers = with maintainers; [ DamienCassou ];
4346+ };
4347+ };
4348+
43004349 netcdf4 = buildPythonPackage rec {
43014350 name = "netCDF4-${version}";
43024351 version = "1.1.8";