mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
45 lines
850 B
Nix
45 lines
850 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, azure-mgmt-common
|
|
, azure-mgmt-core
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-mgmt-compute";
|
|
version = "29.1.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
hash = "sha256-LVobrn9dMHyh6FDX6D/tnIOdT2NbEKS40/i8YJisKIg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-mgmt-common
|
|
azure-mgmt-core
|
|
];
|
|
|
|
pythonNamespaces = [
|
|
"azure.mgmt"
|
|
];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"azure.mgmt.compute"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "This is the Microsoft Azure Compute Management Client Library";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ olcai maxwilson ];
|
|
};
|
|
}
|