Merge pull request #216881 from fabaff/fortiosapi-fix
python310Packages.fortiosapi: add missing input
This commit is contained in:
@@ -5,18 +5,23 @@
|
||||
, packaging
|
||||
, paramiko
|
||||
, pexpect
|
||||
, pythonOlder
|
||||
, requests
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fortiosapi";
|
||||
version = "1.0.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fortinet-solutions-cse";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0679dizxcd4sk1b4h6ss8qsbjb3c8qyijlp4gzjqji91w6anzg9k";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-M71vleEhRYnlf+RSGT1GbCy5NEZaG0hWmJo01n9s6Rg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -25,11 +30,15 @@ buildPythonPackage rec {
|
||||
paramiko
|
||||
packaging
|
||||
oyaml
|
||||
six
|
||||
];
|
||||
|
||||
# Tests require a local VM
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "fortiosapi" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fortiosapi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to work with Fortigate/Fortios devices";
|
||||
|
||||
Reference in New Issue
Block a user