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