python313Packages.aiohttp-zlib-ng: drop

Archived by upstream in favor of aiohttp-fast-zlib and ultimately broke
in the aiohttp 3.11.0 update.
This commit is contained in:
Martin Weinelt 2024-11-14 17:30:50 +01:00
parent eb700290d7
commit c107d8c99b
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
3 changed files with 1 additions and 51 deletions

View File

@ -1,49 +0,0 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pythonOlder,
zlib-ng,
}:
buildPythonPackage rec {
pname = "aiohttp-zlib-ng";
version = "0.3.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "bdraco";
repo = "aiohttp-zlib-ng";
rev = "refs/tags/v${version}";
hash = "sha256-SiDDtadbBnw67lnqadAVSkHILB/8Sur0MfjgCbndX4o=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail " --cov=aiohttp_zlib_ng --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
zlib-ng
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aiohttp_zlib_ng" ];
meta = with lib; {
description = "Enable zlib_ng on aiohttp";
homepage = "https://github.com/bdraco/aiohttp-zlib-ng";
changelog = "https://github.com/bdraco/aiohttp-zlib-ng/blob/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -40,6 +40,7 @@ mapAliases ({
adafruit-nrfutil = throw "adafruit-nrfutil has been promoted to a top-level attribute name: `pkgs.adafruit-nrfutil`."; # Added 2023-11-19
aioaladdinconnect = throw "aioaladdinconnect has been removed, as the API is supported was obsoleted on 2024-01-24."; # Added 2024-06-07
aiohttp-isal = throw "aiohttp-isal has been removed, as it has been archived and replace by aiohttp-fast-zlib"; # Added 2024-08-11
aiohttp-zlib-ng = throw "aiohttp-zlib-ng has been removed, as it has been archived and replaced by aiohttp-fast-zlib"; # Added 2024-11-14
aiomysensors = throw "aiomysensors has been removed, as it was packaged for Home Assistant, which migrated to pymysensors."; # Added 2024-07-07
aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
aiolip = throw "aiolip has been removed because the upstream repository was archived in 2021"; # Added 2024-10-04

View File

@ -279,8 +279,6 @@ self: super: with self; {
aiohttp-wsgi = callPackage ../development/python-modules/aiohttp-wsgi { };
aiohttp-zlib-ng = callPackage ../development/python-modules/aiohttp-zlib-ng { };
aioitertools = callPackage ../development/python-modules/aioitertools { };
aiobiketrax = callPackage ../development/python-modules/aiobiketrax { };