python3Packages.gpapi: drop

This commit is contained in:
Grimmauld
2025-11-08 13:01:58 +01:00
parent 17cf04515b
commit 05b2e6f67e
3 changed files with 1 additions and 59 deletions
@@ -1,57 +0,0 @@
{
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
View File
@@ -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
-2
View File
@@ -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; };