mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
39 lines
771 B
Nix
39 lines
771 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/azure-sdk-for-python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mwilsoninsight ];
|
|
};
|
|
}
|