Unverified Commit 49c2e658 authored by Nico Felbinger's avatar Nico Felbinger
Browse files

python3Packages.wgnlpy: drop

The package has been unmaintained for four years and is no longer needed for ifstate, which was the only known use case.
parent e62a56d4
Loading
Loading
Loading
Loading
+0 −52
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  setuptools,
  cryptography,
  pyroute2,
}:

buildPythonPackage rec {
  pname = "wgnlpy";
  version = "0.1.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ArgosyLabs";
    repo = "wgnlpy";
    rev = "v${version}";
    hash = "sha256-5XAfBiKx4SqouA57PxmaCb0ea7mT2VeUI1tgnQE/ZwQ=";
  };

  patches = [
    # see https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/83019
    # Required for ifstate
    # Upstream Issue/PR: https://github.com/ArgosyLabs/wgnlpy/pull/5
    (fetchpatch {
      url = "https://gitlab.alpinelinux.org/alpine/aports/-/raw/1f78a31dc3e8d7ffd4ff4b8c32fabc3ad0265ae2/community/py3-wgnlpy/0001-fix-exception-when-WGPEER_A_LAST_HANDSHAKE_TIME-is-N.patch";
      hash = "sha256-MO5MMDXnaCPdakMlxCkiCBCDCiTFdG3V66l+AKb95X4=";
    })
  ];

  build-system = [ setuptools ];

  dependencies = [
    cryptography
    pyroute2
  ];

  pythonImportsCheck = [
    "wgnlpy"
    "wgnlpy.nlas"
  ];

  meta = {
    description = "Netlink connector to WireGuard";
    homepage = "https://github.com/ArgosyLabs/wgnlpy";
    license = with lib.licenses; [ mit ];
    platforms = lib.platforms.linux;
    maintainers = with lib.maintainers; [ marcel ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -485,6 +485,7 @@ mapAliases {
  Wand = throw "'Wand' has been renamed to/replaced by 'wand'"; # Converted to throw 2025-10-29
  WazeRouteCalculator = throw "'WazeRouteCalculator' has been renamed to/replaced by 'wazeroutecalculator'"; # Converted to throw 2025-10-29
  websocket_client = throw "'websocket_client' has been renamed to/replaced by 'websocket-client'"; # Converted to throw 2025-10-29
  wgnlpy = throw "'wgnlpy' has been removed, as the upstream repository was unmaintained for several years"; # Converted to throw 2025-11-24
  worldengine = throw "worldengine has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-04
  WSME = throw "'WSME' has been renamed to/replaced by 'wsme'"; # Converted to throw 2025-10-29
  wxPython_4_2 = throw "'wxPython_4_2' has been renamed to/replaced by 'wxpython'"; # Converted to throw 2025-10-29
+0 −2
Original line number Diff line number Diff line
@@ -20360,8 +20360,6 @@ self: super: with self; {
  wget = callPackage ../development/python-modules/wget { };
  wgnlpy = callPackage ../development/python-modules/wgnlpy { };
  wgpu-py = callPackage ../development/python-modules/wgpu-py { };
  whatthepatch = callPackage ../development/python-modules/whatthepatch { };