1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 cliche,
6 marshmallow,
7 pytestCheckHook,
8 recline,
9 requests,
10 requests-toolbelt,
11 urllib3,
12}:
13
14buildPythonPackage rec {
15 pname = "netapp-ontap";
16 version = "9.14.1.0";
17 format = "setuptools";
18
19 src = fetchPypi {
20 pname = "netapp_ontap";
21 inherit version;
22 sha256 = "sha256-nh7SHcyujTVXSgxQajRA4EueN6Hf8cKueQbsbnr6+qw=";
23 };
24
25 propagatedBuildInputs = [
26 marshmallow
27 requests
28 requests-toolbelt
29 urllib3
30 # required for cli
31 cliche
32 recline
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 = "A library for working with ONTAP's REST APIs simply in Python";
42 mainProgram = "ontap-cli";
43 homepage = "https://devnet.netapp.com/restapi.php";
44 license = licenses.bsd3;
45 maintainers = with maintainers; [ SuperSandro2000 ];
46 };
47}