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