Unverified Commit 05b2e6f6 authored by Grimmauld's avatar Grimmauld
Browse files

python3Packages.gpapi: drop

parent 17cf0451
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 = [ ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -183,6 +183,7 @@ 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
  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
+0 −2
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; };