2019-04-29 22:27:10 +01:00
|
|
|
{ lib
|
2018-10-10 17:29:12 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, python
|
|
|
|
, azure-mgmt-common
|
2020-09-28 18:14:39 +01:00
|
|
|
, azure-mgmt-core
|
2019-04-29 22:27:10 +01:00
|
|
|
, isPy3k
|
2018-10-10 17:29:12 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-03-10 11:22:25 +00:00
|
|
|
version = "17.0.0";
|
2018-10-10 17:29:12 +01:00
|
|
|
pname = "azure-mgmt-storage";
|
2020-09-28 18:14:39 +01:00
|
|
|
disabled = !isPy3k;
|
2018-10-10 17:29:12 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2021-03-10 11:22:25 +00:00
|
|
|
sha256 = "c0e3fd99028d98c80dddabe1c22dfeb3d694e5c1393c6de80766eb240739e4bc";
|
2018-10-10 17:29:12 +01:00
|
|
|
};
|
|
|
|
|
2020-09-28 18:14:39 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-mgmt-common
|
|
|
|
azure-mgmt-core
|
|
|
|
];
|
2018-10-10 17:29:12 +01:00
|
|
|
|
2020-03-17 22:43:56 +00:00
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
|
2020-09-28 18:14:39 +01:00
|
|
|
pythonImportsCheck = [ "azure.mgmt.storage" ];
|
|
|
|
|
2019-04-29 22:27:10 +01:00
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Storage Management Client Library";
|
2019-10-19 17:47:11 +01:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 22:27:10 +01:00
|
|
|
license = licenses.mit;
|
2020-11-15 14:35:46 +00:00
|
|
|
maintainers = with maintainers; [ jonringer olcai maxwilson ];
|
2018-10-10 17:29:12 +01:00
|
|
|
};
|
|
|
|
}
|