2020-04-24 23:36:52 +00:00
|
|
|
{ pkgs
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-10-07 09:15:18 +00:00
|
|
|
, azure-mgmt-core
|
2020-04-24 23:36:52 +00:00
|
|
|
, azure-mgmt-common
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "21.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "azure-mgmt-resource";
|
2020-10-07 09:15:18 +00:00
|
|
|
disabled = !isPy3k;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2022-05-18 14:49:53 +00:00
|
|
|
sha256 = "sha256-UpZa3jHNBZ/qKxUT1l/mFgRuQz3g5YPc9cnJvr8+vWk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-mgmt-common
|
|
|
|
azure-mgmt-core
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.resource" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with pkgs.lib; {
|
|
|
|
description = "Microsoft Azure SDK for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
2020-11-19 00:13:47 +00:00
|
|
|
maintainers = with maintainers; [ olcai maxwilson jonringer ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|