1{ lib
2, buildPythonPackage
3, fetchPypi
4, cliche
5, marshmallow
6, pytestCheckHook
7, recline
8, requests
9, requests-toolbelt
10, urllib3
11}:
12
13buildPythonPackage rec {
14 pname = "netapp-ontap";
15 version = "9.13.1.0";
16 format = "setuptools";
17
18 src = fetchPypi {
19 pname = "netapp_ontap";
20 inherit version;
21 sha256 = "sha256-jPKfPJXtzARRlSuwkfJeZueQouwaaa0D6rZ+BcpILq0=";
22 };
23
24 propagatedBuildInputs = [
25 marshmallow
26 requests
27 requests-toolbelt
28 urllib3
29 # required for cli
30 cliche
31 recline
32 ];
33
34 # no tests in sdist and no other download available
35 doCheck = false;
36
37 pythonImportsCheck = [ "netapp_ontap" ];
38
39 meta = with lib; {
40 description = "A library for working with ONTAP's REST APIs simply in Python";
41 homepage = "https://devnet.netapp.com/restapi.php";
42 license = licenses.bsd3;
43 maintainers = with maintainers; [ SuperSandro2000 ];
44 };
45}