depot/third_party/nixpkgs/pkgs/development/python-modules/azure-mgmt-resource/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

46 lines
858 B
Nix

{ 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 ];
};
}