2019-04-30 00:27:18 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, msrest
|
|
|
|
, msrestazure
|
|
|
|
, azure-common
|
|
|
|
, azure-mgmt-nspkg
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-containerinstance";
|
2019-08-05 15:04:49 +02:00
|
|
|
version = "1.5.0";
|
2019-04-30 00:27:18 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2019-08-05 15:04:49 +02:00
|
|
|
sha256 = "1kd8lxm5kzk0wxbw1f3vin10hlhb4sygrxqd5c8k715s0ipkhmdh";
|
2019-04-30 00:27:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
msrest
|
|
|
|
msrestazure
|
|
|
|
azure-common
|
|
|
|
] ++ lib.optionals (!isPy3k) [
|
|
|
|
azure-mgmt-nspkg
|
|
|
|
];
|
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is the Microsoft Azure Container Instance Client Library";
|
2019-10-19 18:47:11 +02:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2019-04-30 00:27:18 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mwilsoninsight ];
|
|
|
|
};
|
|
|
|
}
|