2018-10-10 17:30:56 +01:00
|
|
|
{ pkgs
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-09-28 18:14:39 +01:00
|
|
|
, azure-mgmt-core
|
2018-10-10 17:30:56 +01:00
|
|
|
, azure-mgmt-common
|
2019-04-29 22:25:41 +01:00
|
|
|
, isPy3k
|
2018-10-10 17:30:56 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-05-21 06:27:24 +01:00
|
|
|
version = "18.0.0";
|
2018-10-10 17:30:56 +01:00
|
|
|
pname = "azure-mgmt-resource";
|
2020-09-28 18:14:39 +01:00
|
|
|
disabled = !isPy3k;
|
2018-10-10 17:30:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2021-05-21 06:27:24 +01:00
|
|
|
sha256 = "551036e592f409ef477d30937ea7cc4dda5126576965d9c816fdb8401bbd774c";
|
2018-10-10 17:30:56 +01:00
|
|
|
};
|
|
|
|
|
2020-09-28 18:14:39 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-mgmt-common
|
|
|
|
azure-mgmt-core
|
|
|
|
];
|
2018-10-10 17:30:56 +01:00
|
|
|
|
2019-04-29 22:25:41 +01:00
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-09-28 18:14:39 +01:00
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.resource" ];
|
|
|
|
|
2018-10-10 17:30:56 +01:00
|
|
|
meta = with pkgs.lib; {
|
|
|
|
description = "Microsoft Azure SDK for Python";
|
2019-10-19 17:47:11 +01:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 22:25:41 +01:00
|
|
|
license = licenses.mit;
|
2020-11-15 14:35:46 +00:00
|
|
|
maintainers = with maintainers; [ olcai maxwilson jonringer ];
|
2018-10-10 17:30:56 +01:00
|
|
|
};
|
|
|
|
}
|