diff --git a/pkgs/development/python-modules/ciscoconfparse/default.nix b/pkgs/development/python-modules/ciscoconfparse/default.nix deleted file mode 100644 index 13e7a563b64d..000000000000 --- a/pkgs/development/python-modules/ciscoconfparse/default.nix +++ /dev/null @@ -1,74 +0,0 @@ -{ - lib, - buildPythonPackage, - deprecat, - dnspython, - fetchFromGitHub, - loguru, - passlib, - poetry-core, - pytestCheckHook, - pythonOlder, - toml, -}: - -buildPythonPackage rec { - pname = "ciscoconfparse"; - version = "1.7.24"; - pyproject = true; - - disabled = pythonOlder "3.7"; - - src = fetchFromGitHub { - owner = "mpenning"; - repo = "ciscoconfparse"; - tag = version; - hash = "sha256-vL/CQdYcOP356EyRToviWylP1EBtxmeov6qkhfQNZ2Y="; - }; - - pythonRelaxDeps = [ "loguru" ]; - - postPatch = '' - # The line below is in the [build-system] section, which is invalid and - # rejected by PyPA's build tool. It belongs in [project] but upstream has - # had problems with putting that there (see comment in pyproject.toml). - sed -i '/requires-python/d' pyproject.toml - - substituteInPlace pyproject.toml \ - --replace-fail '"poetry>=1.3.2",' "" - - patchShebangs tests - ''; - - build-system = [ poetry-core ]; - - dependencies = [ - passlib - deprecat - dnspython - loguru - toml - ]; - - nativeCheckInputs = [ pytestCheckHook ]; - - disabledTestPaths = [ "tests/parse_test.py" ]; - - disabledTests = [ - # Tests require network access - "test_dns_lookup" - "test_reverse_dns_lookup" - # Path issues with configuration files - "testParse_valid_filepath" - ]; - - pythonImportsCheck = [ "ciscoconfparse" ]; - - meta = with lib; { - description = "Module to parse, audit, query, build, and modify Cisco IOS-style configurations"; - homepage = "https://github.com/mpenning/ciscoconfparse"; - changelog = "https://github.com/mpenning/ciscoconfparse/blob/${version}/CHANGES.md"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ astro ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 708fb49f4f76..ccf71248b1fc 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -122,6 +122,7 @@ mapAliases ({ chia-rs = throw "chia-rs has been removed. see https://github.com/NixOS/nixpkgs/pull/270254"; # added 2023-11-26 class-registry = phx-class-registry; # added 2021-10-05 cirq-ft = throw "cirq-ft is not longer provieded by cirq upstream"; # added 2024-08-31 + ciscoconfparse = throw "ciscoconfparse was archived by upstream, use ciscoconfparse2"; # added 2025-03-08 cld2-cffi = throw "cld2-cffi has been removed, as the last release was in 2016"; # added 2024-05-20 clvm = throw "clvm has been removed. see https://github.com/NixOS/nixpkgs/pull/270254"; # added 2023-11-26 clvm-rs = throw "clvm-rs has been removed. see https://github.com/NixOS/nixpkgs/pull/270254"; # added 2023-11-26 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 34ef209128cd..349654c59e35 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2362,8 +2362,6 @@ self: super: with self; { cirq-web = callPackage ../development/python-modules/cirq-web { }; - ciscoconfparse = callPackage ../development/python-modules/ciscoconfparse { }; - ciscoconfparse2 = callPackage ../development/python-modules/ciscoconfparse2 { }; ciscomobilityexpress = callPackage ../development/python-modules/ciscomobilityexpress { };