depot/third_party/nixpkgs/pkgs/development/python-modules/azure-mgmt-resource/default.nix

47 lines
858 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, azure-mgmt-core
, azure-mgmt-common
, msrest
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-mgmt-resource";
version = "21.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-vSBg1WOT/+Ykao8spn51Tt0D7Ae5dWMLMK4DqIYFl6c=";
};
propagatedBuildInputs = [
azure-mgmt-common
azure-mgmt-core
msrest
];
# Module has no tests
doCheck = false;
pythonNamespaces = [
"azure.mgmt"
];
pythonImportsCheck = [
"azure.mgmt.resource"
];
meta = with lib; {
description = "Microsoft Azure SDK for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ olcai maxwilson jonringer ];
};
}