Merge pull request #110712 from fabaff/fortiosapi

authored by

Sandro and committed by
GitHub
03fb6086 9e29d266

+43 -1
+40
pkgs/development/python-modules/fortiosapi/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , oyaml 5 + , packaging 6 + , paramiko 7 + , pexpect 8 + , requests 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "fortiosapi"; 13 + version = "1.0.5"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "fortinet-solutions-cse"; 17 + repo = pname; 18 + rev = "v${version}"; 19 + sha256 = "0679dizxcd4sk1b4h6ss8qsbjb3c8qyijlp4gzjqji91w6anzg9k"; 20 + }; 21 + 22 + propagatedBuildInputs = [ 23 + pexpect 24 + requests 25 + paramiko 26 + packaging 27 + oyaml 28 + ]; 29 + 30 + # Tests require a local VM 31 + doCheck = false; 32 + pythonImportsCheck = [ "fortiosapi" ]; 33 + 34 + meta = with lib; { 35 + description = "Python module to work with Fortigate/Fortios devices"; 36 + homepage = "https://github.com/fortinet-solutions-cse/fortiosapi"; 37 + license = with licenses; [ asl20 ]; 38 + maintainers = with maintainers; [ fab ]; 39 + }; 40 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 270 270 "folder_watcher" = ps: with ps; [ watchdog ]; 271 271 "foobot" = ps: with ps; [ ]; # missing inputs: foobot_async 272 272 "forked_daapd" = ps: with ps; [ ]; # missing inputs: pyforked-daapd pylibrespot-java 273 - "fortios" = ps: with ps; [ ]; # missing inputs: fortiosapi 273 + "fortios" = ps: with ps; [ fortiosapi ]; 274 274 "foscam" = ps: with ps; [ ]; # missing inputs: libpyfoscam 275 275 "foursquare" = ps: with ps; [ aiohttp-cors ]; 276 276 "free_mobile" = ps: with ps; [ ]; # missing inputs: freesms
+2
pkgs/top-level/python-packages.nix
··· 2390 2390 2391 2391 forbiddenfruit = callPackage ../development/python-modules/forbiddenfruit { }; 2392 2392 2393 + fortiosapi = callPackage ../development/python-modules/fortiosapi { }; 2394 + 2393 2395 FormEncode = callPackage ../development/python-modules/FormEncode { }; 2394 2396 2395 2397 foundationdb51 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb51; };