1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 marshmallow, 6 pythonOlder, 7 requests, 8 requests-toolbelt, 9 setuptools, 10 urllib3, 11}: 12 13buildPythonPackage rec { 14 pname = "netapp-ontap"; 15 version = "9.17.1.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 pname = "netapp_ontap"; 22 inherit version; 23 hash = "sha256-bzDGsKCEH3oszuz4OKnOg7WTMQTnJAGh7POmGhRCyzc="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 marshmallow 30 requests 31 requests-toolbelt 32 urllib3 33 ]; 34 35 # No tests in sdist and no other download available 36 doCheck = false; 37 38 pythonImportsCheck = [ "netapp_ontap" ]; 39 40 meta = with lib; { 41 description = "Library for working with ONTAP's REST APIs simply in Python"; 42 homepage = "https://library.netapp.com/ecmdocs/ECMLP3331665/html/index.html"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ SuperSandro2000 ]; 45 mainProgram = "ontap-cli"; 46 }; 47}