1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6 six, 7}: 8 9buildPythonPackage rec { 10 pname = "f5-icontrol-rest"; 11 version = "1.3.16"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "F5Networks"; 16 repo = "f5-icontrol-rest-python"; 17 tag = "v${version}"; 18 sha256 = "sha256-asAFIRoc2zll8a8gMMt4ZRQILhMAes8wf3PGwG5wF9c="; 19 }; 20 21 propagatedBuildInputs = [ 22 requests 23 six 24 ]; 25 26 # needs to be updated to newer pytest version and requires physical device 27 doCheck = false; 28 29 enabledTestPaths = [ "icontrol/test" ]; 30 31 pythonImportsCheck = [ "icontrol" ]; 32 33 meta = with lib; { 34 description = "F5 BIG-IP iControl REST API client"; 35 homepage = "https://github.com/F5Networks/f5-icontrol-rest-python"; 36 license = licenses.asl20; 37 maintainers = with maintainers; [ SuperSandro2000 ]; 38 }; 39}