Something went wrong. Try again.
lol
Something went wrong. Try again.
851 B · 45 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, oyaml, packaging, paramiko, pexpect, requests, six,}:
buildPythonPackage rec { pname = "fortiosapi"; version = "1.0.5"; format = "setuptools";
src = fetchFromGitHub { owner = "fortinet-solutions-cse"; repo = "fortiosapi"; tag = "v${version}"; hash = "sha256-M71vleEhRYnlf+RSGT1GbCy5NEZaG0hWmJo01n9s6Rg="; };
propagatedBuildInputs = [ pexpect requests paramiko packaging oyaml six ];
# Tests require a local VM doCheck = false;
pythonImportsCheck = [ "fortiosapi" ];
meta = { description = "Python module to work with Fortigate/Fortios devices"; homepage = "https://github.com/fortinet-solutions-cse/fortiosapi"; license = with lib.licenses; [ asl20 ]; maintainers = with lib.maintainers; [ fab ]; };}