python3Packages.fortiosapi: init at 1.0.5
This commit is contained in:
parent
1af6e3aeed
commit
4f27216405
40
pkgs/development/python-modules/fortiosapi/default.nix
Normal file
40
pkgs/development/python-modules/fortiosapi/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, oyaml
|
||||||
|
, packaging
|
||||||
|
, paramiko
|
||||||
|
, pexpect
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "fortiosapi";
|
||||||
|
version = "1.0.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "fortinet-solutions-cse";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0679dizxcd4sk1b4h6ss8qsbjb3c8qyijlp4gzjqji91w6anzg9k";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pexpect
|
||||||
|
requests
|
||||||
|
paramiko
|
||||||
|
packaging
|
||||||
|
oyaml
|
||||||
|
];
|
||||||
|
|
||||||
|
# Tests require a local VM
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "fortiosapi" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module to work with Fortigate/Fortios devices";
|
||||||
|
homepage = "https://github.com/fortinet-solutions-cse/fortiosapi";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2382,6 +2382,8 @@ in {
|
||||||
|
|
||||||
forbiddenfruit = callPackage ../development/python-modules/forbiddenfruit { };
|
forbiddenfruit = callPackage ../development/python-modules/forbiddenfruit { };
|
||||||
|
|
||||||
|
fortiosapi = callPackage ../development/python-modules/fortiosapi { };
|
||||||
|
|
||||||
FormEncode = callPackage ../development/python-modules/FormEncode { };
|
FormEncode = callPackage ../development/python-modules/FormEncode { };
|
||||||
|
|
||||||
foundationdb51 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb51; };
|
foundationdb51 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb51; };
|
||||||
|
|
Loading…
Reference in a new issue