python3Packages.pypcap: drop (#417945)

authored by Aleksana and committed by GitHub 618b6ce6 4ebec481

+1 -51
-47
pkgs/development/python-modules/pypcap/default.nix
··· 1 - { 2 - lib, 3 - buildPythonPackage, 4 - dpkt, 5 - fetchFromGitHub, 6 - libpcap, 7 - pytestCheckHook, 8 - }: 9 - 10 - buildPythonPackage { 11 - pname = "pypcap"; 12 - version = "1.3.0"; 13 - format = "setuptools"; 14 - 15 - src = fetchFromGitHub { 16 - owner = "pynetwork"; 17 - repo = "pypcap"; 18 - # No release was tagged and PyPI doesn't contain tests. 19 - rev = "968859f0ffb5b7c990506dffe82457b7de23a026"; 20 - hash = "sha256-NfyEC3qEBm6TjebcDIsoz8tJWaJ625ZFPfx7AMyynWE="; 21 - }; 22 - 23 - postPatch = '' 24 - # Add the path to libpcap in the nix-store 25 - substituteInPlace setup.py --replace "('/usr', sys.prefix)" "'${libpcap}'" 26 - # Remove coverage from test run 27 - sed -i "/--cov/d" setup.cfg 28 - ''; 29 - 30 - buildInputs = [ libpcap ]; 31 - 32 - nativeCheckInputs = [ 33 - dpkt 34 - pytestCheckHook 35 - ]; 36 - 37 - pytestFlagsArray = [ "tests" ]; 38 - 39 - pythonImportsCheck = [ "pcap" ]; 40 - 41 - meta = with lib; { 42 - homepage = "https://github.com/pynetwork/pypcap"; 43 - description = "Simplified object-oriented Python wrapper for libpcap"; 44 - license = licenses.bsd3; 45 - maintainers = with maintainers; [ oxzi ]; 46 - }; 47 - }
···
+1
pkgs/top-level/python-aliases.nix
··· 526 pwndbg = throw "'pwndbg' has been removed due to dependency version incompatibilities that are infeasible to maintain in nixpkgs. Use the downstream flake that pwndbg provides instead: https://github.com/pwndbg/pwndbg"; # Added 2025-02-09 527 pxml = throw "pxml was removed, because it was disabled on all python version since 3.8 and last updated in 2020."; # added 2024-05-13 528 py3to2 = throw "py3to2 is unmaintained and source is no longer available"; # added 2024-10-23 529 pytricia = throw "pytricia has been removed, since it is unmaintained"; # added 2025-05-25 530 py-radix = throw "py-radix has been removed, since it abandoned"; # added 2023-07-07 531 py_stringmatching = py-stringmatching; # added 2023-11-12
··· 526 pwndbg = throw "'pwndbg' has been removed due to dependency version incompatibilities that are infeasible to maintain in nixpkgs. Use the downstream flake that pwndbg provides instead: https://github.com/pwndbg/pwndbg"; # Added 2025-02-09 527 pxml = throw "pxml was removed, because it was disabled on all python version since 3.8 and last updated in 2020."; # added 2024-05-13 528 py3to2 = throw "py3to2 is unmaintained and source is no longer available"; # added 2024-10-23 529 + pypcap = throw "pypcap has been removed because it is broken and unmaintained upstream."; # added 2025-06-18 530 pytricia = throw "pytricia has been removed, since it is unmaintained"; # added 2025-05-25 531 py-radix = throw "py-radix has been removed, since it abandoned"; # added 2023-07-07 532 py_stringmatching = py-stringmatching; # added 2023-11-12
-4
pkgs/top-level/python-packages.nix
··· 13316 13317 pypca = callPackage ../development/python-modules/pypca { }; 13318 13319 - pypcap = callPackage ../development/python-modules/pypcap { 13320 - inherit (pkgs) libpcap; # Avoid confusion with python package of the same name 13321 - }; 13322 - 13323 pypck = callPackage ../development/python-modules/pypck { }; 13324 13325 pypdf = callPackage ../development/python-modules/pypdf { };
··· 13316 13317 pypca = callPackage ../development/python-modules/pypca { }; 13318 13319 pypck = callPackage ../development/python-modules/pypck { }; 13320 13321 pypdf = callPackage ../development/python-modules/pypdf { };