mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
python313Packages.ciscoconfparse: remove
Was archied by upstream
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user