Unverified Commit 9342c587 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python311Packages.aionotify: drop

Unmaintained for >5 years and removed from home-assistant earlier this
year leaving no consumers in nixpkgs.
parent 3547f371
Loading
Loading
Loading
Loading
+0 −37
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, asynctest
, pythonOlder
}:

buildPythonPackage rec {
  pname = "aionotify";
  version = "0.2.0";

  src = fetchFromGitHub {
    owner = "rbarrois";
    repo = "aionotify";
    rev = "v${version}";
    sha256 = "1sk9i8czxgsbrswsf1nlb4c82vgnlzi8zrvrxdip92w2z8hqh43y";
  };

  disabled = pythonOlder "3.5";

  preCheck = ''
    substituteInPlace tests/test_usage.py \
      --replace "asyncio.wait_for(task, timeout, loop=self.loop)" "asyncio.wait_for(task, timeout)"
  '';

  nativeCheckInputs = [
    asynctest
  ];

  meta = with lib; {
    homepage = "https://github.com/rbarrois/aionotify";
    description = "Simple, asyncio-based inotify library for Python";
    license = with lib.licenses; [ bsd2 ];
    platforms = platforms.linux;
    maintainers = with lib.maintainers; [ ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ mapAliases ({
  abodepy = jaraco-abode; # added 2023-02-01
  acebinf = throw "acebinf has been removed because it is abandoned and broken."; # Added 2023-05-19
  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
  aiosenseme = throw "aiosenseme has been removed, because it does no longer work with the latest firmware and has become unmaintained"; # Added 2023-07-05
  amazon_kclpy = amazon-kclpy; # added 2023-08-08
  ansible-base = throw "ansible-base has been removed, because it is end of life"; # added 2022-03-30
+0 −2
Original line number Diff line number Diff line
@@ -304,8 +304,6 @@ self: super: with self; {
  aionanoleaf = callPackage ../development/python-modules/aionanoleaf { };
  aionotify = callPackage ../development/python-modules/aionotify { };
  aionotion = callPackage ../development/python-modules/aionotion { };
  aiooncue = callPackage ../development/python-modules/aiooncue { };