lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.fortiosapi: add missing input

+12 -3
+12 -3
pkgs/development/python-modules/fortiosapi/default.nix
··· 5 5 , packaging 6 6 , paramiko 7 7 , pexpect 8 + , pythonOlder 8 9 , requests 10 + , six 9 11 }: 10 12 11 13 buildPythonPackage rec { 12 14 pname = "fortiosapi"; 13 15 version = "1.0.5"; 16 + format = "setuptools"; 17 + 18 + disabled = pythonOlder "3.7"; 14 19 15 20 src = fetchFromGitHub { 16 21 owner = "fortinet-solutions-cse"; 17 22 repo = pname; 18 - rev = "v${version}"; 19 - sha256 = "0679dizxcd4sk1b4h6ss8qsbjb3c8qyijlp4gzjqji91w6anzg9k"; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-M71vleEhRYnlf+RSGT1GbCy5NEZaG0hWmJo01n9s6Rg="; 20 25 }; 21 26 22 27 propagatedBuildInputs = [ ··· 25 30 paramiko 26 31 packaging 27 32 oyaml 33 + six 28 34 ]; 29 35 30 36 # Tests require a local VM 31 37 doCheck = false; 32 - pythonImportsCheck = [ "fortiosapi" ]; 38 + 39 + pythonImportsCheck = [ 40 + "fortiosapi" 41 + ]; 33 42 34 43 meta = with lib; { 35 44 description = "Python module to work with Fortigate/Fortios devices";