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-05-21 06:27:25 +01:00
|
|
|
version = "18.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-05-21 06:27:25 +01:00
|
|
|
sha256 = "d17beb34273797fa89863632ff0e1eb9b6a55198abb8c7f05d84980762e5f71f";
|
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
|
|
|
};
|
|
|
|
}
|