Unverified Commit d48879a1 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

python3Packages.{matlink-,}gpapi: drop (#459733)

parents 24ab6189 d70fa332
Loading
Loading
Loading
Loading
+0 −57
Original line number Diff line number Diff line
{
  buildPythonPackage,
  cryptography,
  fetchPypi,
  lib,
  protobuf,
  pycryptodome,
  requests,
  protobuf_27,
  setuptools,
}:

buildPythonPackage rec {
  version = "0.4.4";
  pname = "gpapi";
  pyproject = true;

  src = fetchPypi {
    inherit version pname;
    sha256 = "sha256-HA06ie25ny7AXI7AvZgezvowfZ3ExalY8HDkk7betyo=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace-fail 'PROTOC_EXEC = "protoc"' 'PROTOC_EXEC = "${lib.getExe protobuf_27}"'
  '';

  build-system = [ setuptools ];

  buildInputs = [
    protobuf_27
  ];

  dependencies = [
    cryptography
    protobuf
    pycryptodome
    requests
  ];

  preBuild = ''
    export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION="python"
  '';

  # package doesn't contain unit tests
  # scripts in ./test require networking
  doCheck = false;

  pythonImportsCheck = [ "gpapi.googleplay" ];

  meta = {
    homepage = "https://github.com/NoMore201/googleplay-api";
    license = lib.licenses.gpl3Only;
    description = "Google Play Unofficial Python API";
    maintainers = [ ];
  };
}
+0 −75
Original line number Diff line number Diff line
{
  lib,
  args,
  buildPythonPackage,
  clint,
  fetchFromGitHub,
  libffi,
  matlink-gpapi,
  ndg-httpsclient,
  protobuf,
  pyasn1,
  pyaxmlparser,
  pytestCheckHook,
  pythonOlder,
  requests,
  setuptools,
}:

buildPythonPackage rec {
  pname = "gplaycli";
  version = "3.29";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "matlink";
    repo = "gplaycli";
    tag = version;
    hash = "sha256-uZBrIxnDSaJDOPcD7J4SCPr9nvecDDR9h+WnIjIP7IE=";
  };

  propagatedBuildInputs = [
    libffi
    pyasn1
    clint
    ndg-httpsclient
    protobuf
    requests
    args
    matlink-gpapi
    pyaxmlparser
    setuptools
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "gplaycli" ];

  preCheck = ''
    export PATH="$PATH:$out/bin";
  '';

  disabledTests = [
    "test_alter_token"
    "test_another_device"
    "test_connection_credentials"
    "test_connection_token"
    "test_download_additional_files"
    "test_download_focus"
    "test_download_version"
    "test_download"
    "test_search"
    "test_update"
  ];

  meta = with lib; {
    description = "Google Play Downloader via Command line";
    mainProgram = "gplaycli";
    homepage = "https://github.com/matlink/gplaycli";
    changelog = "https://github.com/matlink/gplaycli/releases/tag/${version}";
    license = licenses.agpl3Plus;
    maintainers = [ ];
  };
}
+0 −40
Original line number Diff line number Diff line
{
  buildPythonPackage,
  cryptography,
  fetchPypi,
  lib,
  protobuf,
  pycryptodome,
  requests,
}:

buildPythonPackage rec {
  version = "0.4.4.5";
  format = "setuptools";
  pname = "matlink-gpapi";

  src = fetchPypi {
    inherit version pname;
    sha256 = "0s45yb2xiq3pc1fh4bygfgly0fsjk5fkc4wckbckn3ddl7v7vz8c";
  };

  # package doesn't contain unit tests
  # scripts in ./test require networking
  doCheck = false;

  pythonImportsCheck = [ "gpapi.googleplay" ];

  propagatedBuildInputs = [
    cryptography
    protobuf
    pycryptodome
    requests
  ];

  meta = with lib; {
    homepage = "https://github.com/NoMore201/googleplay-api";
    license = licenses.gpl3Only;
    description = "Google Play Unofficial Python API";
    maintainers = with maintainers; [ schnusch ];
  };
}
+3 −0
Original line number Diff line number Diff line
@@ -183,6 +183,8 @@ mapAliases {
  GitPython = throw "'GitPython' has been renamed to/replaced by 'gitpython'"; # Converted to throw 2025-10-29
  google_api_python_client = throw "'google_api_python_client' has been renamed to/replaced by 'google-api-python-client'"; # Converted to throw 2025-10-29
  googleapis_common_protos = throw "'googleapis_common_protos' has been renamed to/replaced by 'googleapis-common-protos'"; # Converted to throw 2025-10-29
  gpapi = throw "'gpapi' has been removed as it was broken and lacked maintenance"; # Added 2025-11-09
  gplaycli = throw "'gplaycli' has been removed as it was broken and lacked maintenance"; # Added 2025-11-09
  gradient_statsd = throw "'gradient_statsd' has been renamed to/replaced by 'gradient-statsd'"; # Converted to throw 2025-10-29
  grappelli_safe = throw "'grappelli_safe' has been renamed to/replaced by 'grappelli-safe'"; # Converted to throw 2025-10-29
  groestlcoin_hash = throw "'groestlcoin_hash' has been renamed to/replaced by 'groestlcoin-hash'"; # Converted to throw 2025-10-29
@@ -248,6 +250,7 @@ mapAliases {
  Mako = throw "'Mako' has been renamed to/replaced by 'mako'"; # Converted to throw 2025-10-29
  Markups = throw "'Markups' has been renamed to/replaced by 'markups'"; # Converted to throw 2025-10-29
  mathlibtools = throw "mathlibtools has been removed because the upstream repository was archived in 2023"; # added 2025-07-09
  matlink-gpapi = throw "'matlink-gpapi' has been removed as it was broken and unmaintained"; # Added 2025-11-09
  MDP = throw "'MDP' has been renamed to/replaced by 'mdp'"; # Converted to throw 2025-10-29
  MechanicalSoup = throw "'MechanicalSoup' has been renamed to/replaced by 'mechanicalsoup'"; # Converted to throw 2025-10-29
  memcached = throw "'memcached' has been renamed to/replaced by 'python-memcached'"; # Converted to throw 2025-10-29
+0 −6
Original line number Diff line number Diff line
@@ -6286,8 +6286,6 @@ self: super: with self; {
  gower = callPackage ../development/python-modules/gower { };
  gpapi = callPackage ../development/python-modules/gpapi { };
  gpaw = callPackage ../development/python-modules/gpaw { };
  gpgme = callPackage ../development/python-modules/gpgme { inherit (pkgs) gpgme; };
@@ -6298,8 +6296,6 @@ self: super: with self; {
  gpiozero = callPackage ../development/python-modules/gpiozero { };
  gplaycli = callPackage ../development/python-modules/gplaycli { };
  gprof2dot = callPackage ../development/python-modules/gprof2dot { inherit (pkgs) graphviz; };
  gps3 = callPackage ../development/python-modules/gps3 { };
@@ -9149,8 +9145,6 @@ self: super: with self; {
  mathutils = callPackage ../development/python-modules/mathutils { };
  matlink-gpapi = callPackage ../development/python-modules/matlink-gpapi { };
  matplotlib = callPackage ../development/python-modules/matplotlib {
    stdenv = if stdenv.hostPlatform.isDarwin then pkgs.clangStdenv else pkgs.stdenv;
  };