From f61999af9c8f176bbf963ebcb0d53aa55c911c96 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 11 Aug 2024 18:04:54 +0200 Subject: [PATCH] python312Packages.aiohttp-isal: drop "This library is obsolete and replaced by https://github.com/bdraco/aiohttp-fast-zlib" --- .../python-modules/aiohttp-isal/default.nix | 51 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 pkgs/development/python-modules/aiohttp-isal/default.nix diff --git a/pkgs/development/python-modules/aiohttp-isal/default.nix b/pkgs/development/python-modules/aiohttp-isal/default.nix deleted file mode 100644 index a518d2431c77..000000000000 --- a/pkgs/development/python-modules/aiohttp-isal/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - - # build-system - poetry-core, - - # dependencies - aiohttp, - isal, - - # tests - pytestCheckHook, -}: - -buildPythonPackage rec { - pname = "aiohttp-isal"; - version = "0.3.2"; - pyproject = true; - - src = fetchFromGitHub { - owner = "bdraco"; - repo = "aiohttp-isal"; - rev = "refs/tags/v${version}"; - hash = "sha256-sAtAzqMJoKryhB8q/TxqgFE+Z4Uxxw0hghk/Y2VNvx0="; - }; - - build-system = [ poetry-core ]; - - dependencies = [ - aiohttp - isal - ]; - - nativeCheckInputs = [ pytestCheckHook ]; - - preCheck = '' - sed -i '/addopts/d' pyproject.toml - ''; - - pythonImportsCheck = [ "aiohttp_isal" ]; - - meta = with lib; { - changelog = "https://github.com/bdraco/aiohttp-isal/blob/${src.rev}/CHANGELOG.md"; - description = "Isal support for aiohttp"; - homepage = "https://github.com/bdraco/aiohttp-isal"; - license = licenses.asl20; - maintainers = with maintainers; [ hexa ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index b6ad1e3e8f43..0be2f1a7c543 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -38,6 +38,7 @@ mapAliases ({ acebinf = throw "acebinf has been removed because it is abandoned and broken."; # Added 2023-05-19 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 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 aionotify = throw "aionotify has been removed because is unmaintained and incompatible with python3.11."; # Added 2023-10-27 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c24f453d6f9a..02a1dad7e43a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -247,8 +247,6 @@ self: super: with self; { aiohttp-fast-zlib = callPackage ../development/python-modules/aiohttp-fast-zlib { }; - aiohttp-isal = callPackage ../development/python-modules/aiohttp-isal { }; - aiohttp-jinja2 = callPackage ../development/python-modules/aiohttp-jinja2 { }; aiohttp-middlewares = callPackage ../development/python-modules/aiohttp-middlewares { };