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