2019-04-29 22:29:02 +01:00
|
|
|
{ lib
|
2018-10-10 17:32:20 +01:00
|
|
|
, buildPythonPackage
|
2019-04-29 22:29:02 +01:00
|
|
|
, fetchFromGitHub
|
2018-10-10 17:32:20 +01:00
|
|
|
, azure-common
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildPythonPackage {
|
2019-04-29 22:29:02 +01:00
|
|
|
version = "0.20.7";
|
2018-10-10 17:32:20 +01:00
|
|
|
pname = "azure-servicemanagement-legacy";
|
|
|
|
|
2019-04-29 22:29:02 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Azure";
|
|
|
|
repo = "azure-sdk-for-python";
|
|
|
|
rev = "ab01fc1f23462f130c69f46505524b88101023dc";
|
|
|
|
sha256 = "0w2bm9hkwy1m94l8r2klnpqn4192y8bir3z8bymxgfx9y0b1mn2q";
|
2018-10-10 17:32:20 +01:00
|
|
|
};
|
|
|
|
|
2019-04-29 22:29:02 +01:00
|
|
|
preBuild = ''
|
|
|
|
cd ./azure-servicemanagement-legacy
|
2018-10-10 17:32:20 +01:00
|
|
|
'';
|
|
|
|
|
2019-04-29 22:29:02 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
azure-common
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
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;
|
|
|
|
maintainers = with maintainers; [ olcai mwilsoninsight ];
|
2018-10-10 17:32:20 +01:00
|
|
|
};
|
|
|
|
}
|