2019-04-29 21:29:02 +00:00
|
|
|
{ lib
|
2018-10-10 16:32:20 +00:00
|
|
|
, buildPythonPackage
|
2020-10-06 08:17:01 +00:00
|
|
|
, fetchPypi
|
2018-10-10 16:32:20 +00:00
|
|
|
, azure-common
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
2020-10-06 08:17:01 +00:00
|
|
|
buildPythonPackage rec {
|
2019-04-29 21:29:02 +00:00
|
|
|
version = "0.20.7";
|
2018-10-10 16:32:20 +00:00
|
|
|
pname = "azure-servicemanagement-legacy";
|
|
|
|
|
2020-10-06 08:17:01 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit version pname;
|
|
|
|
extension = "zip";
|
|
|
|
sha256 = "1kcibw17qm8c02y28xabm3k1zrawi6g4q8kzc751l5l3vagqnf2x";
|
2018-10-10 16:32:20 +00:00
|
|
|
};
|
|
|
|
|
2019-04-29 21:29:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
2020-10-06 08:17:01 +00:00
|
|
|
pythonNamespaces = [ "azure" ];
|
2019-04-29 21:29:02 +00:00
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
2020-10-06 08:17:01 +00:00
|
|
|
pythonImportsCheck = [ "azure.servicemanagement" ];
|
2019-04-29 21:29:02 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Service Management Legacy Client Library";
|
2019-10-19 16:47:11 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-29 21:29:02 +00:00
|
|
|
license = licenses.mit;
|
2020-11-15 14:35:46 +00:00
|
|
|
maintainers = with maintainers; [ olcai maxwilson ];
|
2018-10-10 16:32:20 +00:00
|
|
|
};
|
|
|
|
}
|