Commit 7d7b2a54 authored by Anderson Torres's avatar Anderson Torres
Browse files

cot: mark as broken on Python 3.12 or superior

parent 2f2ea2fa
Loading
Loading
Loading
Loading
+17 −16
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchPypi,
  pythonOlder,
  colorlog,
  pyvmomi,
  requests,
  verboselogs,
  pyopenssl,
  setuptools,
  fetchPypi,
  mock,
  pyopenssl,
  pytest-mock,
  pytestCheckHook,
  pythonAtLeast,
  pythonOlder,
  pyvmomi,
  qemu,
  requests,
  setuptools,
  stdenv,
  verboselogs,
}:

buildPythonPackage rec {
@@ -21,8 +22,6 @@ buildPythonPackage rec {
  version = "2.2.1";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-9LNVNBX5DarGVvidPoLnmz11F5Mjm7FzpoO0zAzrJjU=";
@@ -75,15 +74,17 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "COT" ];

  meta = with lib; {
  meta = {
    homepage = "https://github.com/glennmatthews/cot";
    description = "Common OVF Tool";
    mainProgram = "cot";
    longDescription = ''
      COT (the Common OVF Tool) is a tool for editing Open Virtualization Format (.ovf, .ova) virtual appliances,
      with a focus on virtualized network appliances such as the Cisco CSR 1000V and Cisco IOS XRv platforms.
      COT (the Common OVF Tool) is a tool for editing Open Virtualization Format
      (.ovf, .ova) virtual appliances, with a focus on virtualized network
      appliances such as the Cisco CSR 1000V and Cisco IOS XRv platforms.
    '';
    homepage = "https://github.com/glennmatthews/cot";
    license = licenses.mit;
    maintainers = with maintainers; [ evanjs ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ evanjs ];
    broken = pythonAtLeast "3.12"; # Because it requires packages removed from 3.12 onwards
  };
}
+1 −1
Original line number Diff line number Diff line
@@ -2526,7 +2526,7 @@ self: super: with self; {
  cose = callPackage ../development/python-modules/cose { };
  cot = callPackage ../development/python-modules/cot {
    qemu = pkgs.qemu;
    inherit (pkgs) qemu;
  };
  courlan = callPackage ../development/python-modules/courlan { };