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 {
|
2020-09-28 18:14:39 +01:00
|
|
|
version = "15.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";
|
2020-09-28 18:14:39 +01:00
|
|
|
sha256 = "80ecb69aa21152b924edf481e4b26c641f11aa264120bc322a14284811df9c14";
|
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
|
|
|
};
|
|
|
|
}
|