python312Packages.junos-eznc: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-12 10:41:22 +02:00
parent 553c9184da
commit c057f8f2ba

View File

@ -1,24 +1,25 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, jinja2 fetchFromGitHub,
, lxml jinja2,
, mock lxml,
, ncclient mock,
, netaddr ncclient,
, nose2 netaddr,
, ntc-templates nose2,
, paramiko ntc-templates,
, pyparsing paramiko,
, pyserial pyparsing,
, pythonOlder pyserial,
, pyyaml pythonOlder,
, scp pyyaml,
, setuptools scp,
, pytestCheckHook setuptools,
, six pytestCheckHook,
, transitions six,
, yamlordereddictloader transitions,
yamlordereddictloader,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -35,9 +36,7 @@ buildPythonPackage rec {
hash = "sha256-aoi+in5A8qSdQNY3V4S4wBBfPchR1an7G6GQHDhgxpQ="; hash = "sha256-aoi+in5A8qSdQNY3V4S4wBBfPchR1an7G6GQHDhgxpQ=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [
jinja2 jinja2
@ -61,9 +60,7 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pytestFlagsArray = [ pytestFlagsArray = [ "tests/unit" ];
"tests/unit"
];
disabledTests = [ disabledTests = [
# jnpr.junos.exception.FactLoopError: A loop was detected while gathering the... # jnpr.junos.exception.FactLoopError: A loop was detected while gathering the...
@ -76,9 +73,7 @@ buildPythonPackage rec {
"test_domain_fact_from_config" "test_domain_fact_from_config"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "jnpr.junos" ];
"jnpr.junos"
];
meta = with lib; { meta = with lib; {
description = "Junos 'EZ' automation for non-programmers"; description = "Junos 'EZ' automation for non-programmers";