2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cliche
|
|
|
|
, marshmallow
|
|
|
|
, pytestCheckHook
|
|
|
|
, recline
|
|
|
|
, requests
|
|
|
|
, requests-toolbelt
|
|
|
|
, urllib3
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "netapp-ontap";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "9.14.1.0";
|
2023-07-15 17:15:38 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "netapp_ontap";
|
|
|
|
inherit version;
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-nh7SHcyujTVXSgxQajRA4EueN6Hf8cKueQbsbnr6+qw=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
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 = "A 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 ];
|
|
|
|
};
|
|
|
|
}
|