75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
39 lines
800 B
Nix
39 lines
800 B
Nix
{ pkgs
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, azure-mgmt-core
|
|
, azure-mgmt-common
|
|
, isPy3k
|
|
}:
|
|
|
|
|
|
buildPythonPackage rec {
|
|
version = "16.0.0";
|
|
pname = "azure-mgmt-resource";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
sha256 = "0bdbdc9c1ed2ef975d8dff45f358d1e06dc6761eace5b6817f13993447e48a68";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-mgmt-common
|
|
azure-mgmt-core
|
|
];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.resource" ];
|
|
|
|
meta = with pkgs.lib; {
|
|
description = "Microsoft Azure SDK for Python";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ olcai maxwilson jonringer ];
|
|
};
|
|
}
|