lol

pythonPackages.gplaycli: 0.1.2 -> 3.21

Fix the broken package: https://hydra.nixos.org/build/70687256/log

The newer version requires two new dependencies that have been added as
well:

- gpapi (Unofficial Python API for Google Play) at version 0.4.2
- pyaxmlparser (Parser for Android's XML handler) at version 0.3.7

See ticket #36453
See https://hydra.nixos.org/build/70687256/log

+70 -27
+20
pkgs/development/python-modules/gpapi/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi, requests, protobuf, pycryptodome }: 2 + 3 + buildPythonPackage rec { 4 + version = "0.4.2"; 5 + pname = "gpapi"; 6 + 7 + src = fetchPypi { 8 + inherit version pname; 9 + sha256 = "1fv2y3xbwn512fjxrdwgq6cz0xjd7mh54nq1f18wyz8w40vcznns"; 10 + }; 11 + 12 + propagatedBuildInputs = [ requests protobuf pycryptodome ]; 13 + 14 + meta = with stdenv.lib; { 15 + homepage = https://github.com/NoMore201/googleplay-api; 16 + license = licenses.gpl3; 17 + description = "Google Play Unofficial Python API"; 18 + maintainers = with maintainers; [ ma27 ]; 19 + }; 20 + }
+26
pkgs/development/python-modules/gplaycli/default.nix
··· 1 + { buildPythonPackage, stdenv, libffi, isPy3k, pyasn1, clint, ndg-httpsclient 2 + , protobuf, requests, args, gpapi, pyaxmlparser, fetchFromGitHub 3 + }: 4 + 5 + buildPythonPackage rec { 6 + version = "3.21"; 7 + name = "gplaycli-${version}"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "matlink"; 11 + repo = "gplaycli"; 12 + rev = version; 13 + sha256 = "1r5nzi9yzswam0866gypjcvv3f1rw13jwx9s49chp8byxy1dyrs2"; 14 + }; 15 + 16 + disabled = !isPy3k; 17 + 18 + propagatedBuildInputs = [ libffi pyasn1 clint ndg-httpsclient protobuf requests args gpapi pyaxmlparser ]; 19 + 20 + meta = with stdenv.lib; { 21 + homepage = https://github.com/matlink/gplaycli; 22 + description = "Google Play Downloader via Command line"; 23 + license = licenses.agpl3Plus; 24 + maintainers = with maintainers; [ ma27 ]; 25 + }; 26 + }
+20
pkgs/development/python-modules/pyaxmlparser/default.nix
··· 1 + { buildPythonPackage, stdenv, lxml, click, fetchPypi }: 2 + 3 + buildPythonPackage rec { 4 + version = "0.3.7"; 5 + pname = "pyaxmlparser"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "1spwr28sc6fc3cqdx2j2zq38qx889hixl4ahhf1nphpmrl39ypxr"; 10 + }; 11 + 12 + propagatedBuildInputs = [ lxml click ]; 13 + 14 + meta = with stdenv.lib; { 15 + description = "Python3 Parser for Android XML file and get Application Name without using Androguard"; 16 + homepage = https://github.com/appknox/pyaxmlparser; 17 + license = licenses.mit; 18 + maintainers = with maintainers; [ ma27 ]; 19 + }; 20 + }
+4 -27
pkgs/top-level/python-packages.nix
··· 287 287 288 288 pyatspi = disabledIf (!isPy3k) (callPackage ../development/python-modules/pyatspi { }); 289 289 290 + pyaxmlparser = callPackage ../development/python-modules/pyaxmlparser { }; 291 + 290 292 pycairo = callPackage ../development/python-modules/pycairo { }; 291 293 292 294 pycangjie = disabledIf (!isPy3k) (callPackage ../development/python-modules/pycangjie { }); ··· 4807 4809 4808 4810 google-compute-engine = callPackage ../tools/virtualization/google-compute-engine { }; 4809 4811 4810 - gplaycli = buildPythonPackage rec { 4811 - version = "0.1.2"; 4812 - name = "gplaycli-${version}"; 4813 - 4814 - src = pkgs.fetchFromGitHub { 4815 - owner = "matlink"; 4816 - repo = "gplaycli"; 4817 - rev = "${version}"; 4818 - sha256 = "0yc09inzs3aggj0gw4irlhlzw5q562fsp0sks352y6z0vx31hcp3"; 4819 - }; 4820 - 4821 - disabled = ! isPy27; 4822 - 4823 - propagatedBuildInputs = with self; [ pkgs.libffi pyasn1 clint ndg-httpsclient protobuf requests args ]; 4824 - 4825 - preBuild = '' 4826 - substituteInPlace setup.py --replace "/etc" "$out/etc" 4827 - substituteInPlace gplaycli/gplaycli.py --replace "/etc" "$out/etc" 4828 - ''; 4829 - 4830 - meta = { 4831 - homepage = https://github.com/matlink/gplaycli; 4832 - description = "Google Play Downloader via Command line"; 4833 - license = licenses.agpl3Plus; 4834 - maintainers = with maintainers; [ ]; 4835 - }; 4836 - }; 4812 + gpapi = callPackage ../development/python-modules/gpapi { }; 4813 + gplaycli = callPackage ../development/python-modules/gplaycli { }; 4837 4814 4838 4815 gpsoauth = buildPythonPackage rec { 4839 4816 version = "0.2.0";