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