Merge pull request #326930 from atorres1985-contrib/cot

This commit is contained in:
Sandro 2024-07-15 13:25:43 +02:00 committed by GitHub
commit 9edeea0611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 17 deletions

View File

@ -1,19 +1,20 @@
{
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
};
}

View File

@ -2530,7 +2530,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 { };