nixpkgs/pkgs/development/python-modules/azure-mgmt-containerinstance/default.nix
2019-08-05 06:04:49 -07:00

39 lines
804 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
, isPy3k
}:
buildPythonPackage rec {
pname = "azure-mgmt-containerinstance";
version = "1.5.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1kd8lxm5kzk0wxbw1f3vin10hlhb4sygrxqd5c8k715s0ipkhmdh";
};
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";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-containerinstance;
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};
}