Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
954 B
Nix
48 lines
954 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
marshmallow,
|
|
pythonOlder,
|
|
requests,
|
|
requests-toolbelt,
|
|
setuptools,
|
|
urllib3,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "netapp-ontap";
|
|
version = "9.17.1.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "netapp_ontap";
|
|
inherit version;
|
|
hash = "sha256-bzDGsKCEH3oszuz4OKnOg7WTMQTnJAGh7POmGhRCyzc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
marshmallow
|
|
requests
|
|
requests-toolbelt
|
|
urllib3
|
|
];
|
|
|
|
# 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://library.netapp.com/ecmdocs/ECMLP3331665/html/index.html";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
mainProgram = "ontap-cli";
|
|
};
|
|
}
|